14. Enhancements with CSS3

In This Chapter

Understanding Vendor Prefixes

A Quick Look at Browser Compatibility

Using Polyfills for Progressive Enhancement

Rounding the Corners of Elements

Adding Drop Shadows to Text

Adding Drop Shadows to Other Elements

Applying Multiple Backgrounds

Using Gradient Backgrounds

Setting the Opacity of Elements

One of the challenges faced by Web site authors over the years has been the limited number of options for producing rich layouts using CSS. In most cases, it meant using additional HTML and CSS and a lot of images. Combined, this resulted in pages that were more complicated, were less accessible, took longer to download and display in the browser, and were simply more fragile and difficult to maintain.

Browsers’ ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.