Connexion
One Laptop per Child Logo
Google Search
Google

LabsSphère Catégories
Css (9)
Php (8)
Javascript (11)
Xoops (5)
Divers (1)
Design (10)

Remember non-vendor-prefixed CSS 3 properties (and put them last)


Auteur : Roger Johansson | 456 Berea Street.com
Date : 2010-09-02T22:25:24+02:00
Lectures : 3

Everybody wants to use CSS 3 now that even Internet Explorer will support parts of it once IE 9 is out. But since parts of CSS 3 are still subject to change, most browsers use a vendor prefix for many CSS 3 properties to signal that their implemenation is "experimental" and may change in a later version of the browser.



This means that for a property like border-radius to work cross-browser you need to specify it several times with different vendor prefixes, like this:




  1. .box {

  2. -moz-border-radius:10px;

  3. -webkit-border-radius:10px;

  4. border-radius:10px;

  5. }

Read full post

Posted in , .






URL : http://labs.xoofoo.org/modules/planet/view.article.php/15434
Trackback : http://labs.xoofoo.org/modules/planet/trackback.php/15434

Les commentaires appartiennent à leurs auteurs. Nous ne sommes pas responsables de leur contenu.
Auteur Conversation