Drop the -webkit prefix for border-radius

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.

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*