Adding decorative elements to make our websites more visually appealing used to be surprisingly resource- and time-intensive. Even seemingly simple graphical effects, such as two background images on the same element, required a lot of unnecessary markup, and this in turn made pages slower to render and harder to maintain.

CSS3 introduces a number of new and extended properties that are aimed at decorating elements much more simply, and the browser makers have been quick to implement them and to add a number of their own implementations as well. Over the next few chapters, we’ll take a look at the new range of features that ...

Get The Book of CSS3, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.