Wednesday, August 28, 2013

How to Make Circle Shape Using CSS

Here full CSS code to make square shape using CSS only.
#circle {
width: 100px;
height: 100px;
background: red;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
}

/* Cleaner, but slightly less support: use "50%" as value */

Result:


Disqus Comments