Saturday, April 23, 2011

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 [...]

Programming Language INVENTEC Enterprises IT KDDI Related News KLATENCOR Enterprises IT KONINKLIJKE KPN

Source: http://de77.com/css/how-to-make-a-circle-or-elipsis-in-pure-css

No comments:

Post a Comment