images

Appendix D

CSS Reference

This appendix lists CSS properties and values. In many cases, properties have specific values, which are listed in full. However, some values are common across many properties. These values are outlined in Table D.1, and in Table D.2 these values are shown in italics. The end of the appendix includes information on basic selectors, pseudo-classes, pseudo-elements, CSS boilerplates, and CSS management.

The CSS box model

In CSS, every element is considered to be within its own box, and you can define the dimensions of the content and then add padding, a border, and a margin to each edge as required, as shown in the following ...

Get The Essential Guide to HTML5 and CSS3 Web Design now with O’Reilly online learning.

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