Conventions

This book follows a few typographical conventions that you should be familiar with before proceeding.

A new term is set in italics the first time it is introduced. There will often be a short definition of the term nearby. Program text, functions, variables, and other “computer language” are set in a fixed-pitch font. In regular text, it will also be a dark blue color—for example, when mentioning the property margin or a value like 10px.

Code blocks are set entirely in a fixed-pitch font. Any red text within a code block indicates a change to the code from its previous state. Most code blocks show only a fragment of the overall document or style sheet, with the lines to be changed (or inserted) surrounded by unchanged text. This extra ...

Get Eric Meyer on CSS: Mastering the Language of 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.