CHAPTER 4

image

Cascading Style Sheets

In Chapters 2 and 3, I showed you the some of the new HTML elements and how to use them in ASP.NET applications. The second major area in the overall HTML5 umbrella includes the improvements in the style sheets. As I explained in Chapter 1, the CSS3 recommendations are broken down into more than 50 modules, most of which are still in draft (as of this writing). However, there is quite a bit of new functionality that is already available in most browsers.

In this chapter I will demonstrate many of the more useful features. I will start by explaining the basics of creating styles sheets. If you have some experience ...

Get Pro HTML5 with Visual Studio 2012 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.