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 O’Reilly online learning.

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