Appendix D. CSS REFERENCE

This section includes a table listing 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 are outlined in the "Common CSS values" section, and in the CSS properties and values table these values are shown in italics. The end of the section 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 image.

Padding, borders, and margins are ...

Get The Essential Guide to CSS and HTML 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.