join: new@juude



get alerts for new articles






CLOSE WINDOW

join: new@juude



get alerts for new articles






CLOSE WINDOW
css: casscading style sheets

CSS3

(w3c)
At the moment CSS3 is in a transitional stage. Browsers will constantly need to be updated in order to stay current. Outdated browsers will still be the choice of some users. In the meantime we will need to pick and choose which elements of CSS3 we would like to incorporate into our sites.

Vender Code


For the time being in addition to the normal declaration you need to add vendor code in order for the browser to read CSS3

Vender CodeBrowser
-moz-Firefox
-webkit-Chrome & Safari
-o-Opera
-ms-Internet Explorer


Over time the different pre-fixes will no longer be required.

Example


Styles for rounded corners would be written like this:
selector{
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-o-border-radius: 20px;
-ms-border-radius: 20px;
border-radius: 20px;
}