Firefox Makes Rounded Corners In CSS Easy

This article was written on June 12, 2006 by CyberNet.

I was reading Google Blogoscoped when something caught my attention. Philipp had demonstrated how easy it is to get rounded corners on boxes, but the trick is that it only works for Firefox. Here is the example he used and the CSS code that is used to create it:

border: 2px solid gray;
-moz-border-radius: 25px;
width: 250px;
height: 100px;
padding: 15px;

I have done rounded corners in CSS before but it wasn’t nearly that easy. I wonder when there will be some kind of standard for creating rounded corners that works in all browsers.

News Source: Google Blogoscoped

Copyright © 2009 CyberNet | CyberNet Forum | Learn Firefox

Related Posts:


No Responses to “Firefox Makes Rounded Corners In CSS Easy”

Post a Comment