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 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.