O'Reilly logo

CSS for Windows 8 App Development by Jeremy Foster

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 3

image

Selectors and Style Rules

image Note   CSS is no more than a collection of style rules, and each style rule is made up of a selector and a definition. Don’t let it get more complicated than that.

A style rule’s selector determines what it affects, and the definition determines how it is affected.

So, just as it is the entire job of HTML to define the document’s structure, it is the entire job of CSS to lay out and style that structure to appear as it should and where it should.

With the combination of the document object model (DOM) of HTML ...

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