Drop the -webkit prefix for border-radius

25 February 2011 by Rick ~ 0 Comments 1776 views

The new updates from Opera, Safari and Chrome allows you to drop the -webkit prefix when using the CSS3 style border-radius.

Before

div{

-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}

Now

div{

-moz-border-radius: 5px;
border-radius: 5px;

}

What to do?

Well you should start droping the extra style. In the other hand we could wait a little bit longer to be sure everybody upgrades their browser.

I will drop it today ;)

What else?


Internet Explorer 9
and Mozilla Firefox 4 will support the standard border-radius.

Subscribe by E-mail:

« »
Add a Comment

Use [code] example piece of code [/code] to insert code into your comment.