How to make a circle or elipsis in pure CSS?
Why would one want to make a circle or elipsis in just pure CSS? Because you can easily change the color and size using CSS and it looks great even when upscaled!
And how to do it, well, it’s extremely simple- let’s create a small rectangle:
<div style="width:70px; height:50px; background-color: red"></div>
and then let’s add rounded corners to it:
-moz-border-radius: 200px;
-webkit-border-radius: 200px;
-o-border-radius: 200px;
border-radius: 200px
The result:
Easy, right?
May 20th, 2011 at 8:06 pm
hi
Its not working on IE
May 30th, 2011 at 1:30 pm
No, it’s not. Many things don’t work in IE, because every IE is outdated when it is released.
Please try this: http://fetchak.com/ie-css3/