O'Reilly logo

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Advanced CSS with CSS3

The first implementation of CSS was initially drawn up in 1996, was released in 1999, and as of 2001 was supported by all browser releases. The standard for this version, CSS1, was revised again in 2008. Developers began work on the second specification, CSS2, in 1998; its standard was eventually completed in 2007 and then revised again in 2009.

Development of the CSS3 specification commenced in 2001, with features still being proposed as recently as 2009. The development process is likely to continue for some time before a final recommendation for CSS3 is approved. And even though CSS3 isn’t yet complete, people are already beginning to put forward suggestions for CSS4.

In this chapter I’ll take you through the CSS3 features that have already been generally adopted by the major browsers. Some of these features provide functionality that hitherto could be provided only with JavaScript.

I recommend using CSS3 to implement dynamic features where you can, instead of JavaScript—the CSS will probably be very highly optimized (and therefore very fast), and it’s one less thing for you to maintain across new browsers and browser versions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required