May 2003
Intermediate to advanced
480 pages
10h 9m
English
Most property names take a single item as a value. When you define a property with a collection of related values (e.g. a list of fonts for the font-family property), the values are separated from one another by commas and, if any of the values include embedded white space or reserved characters such as colons, they may need to be enclosed in quotation marks.
In addition, there is a special set of properties called shorthand properties. Such properties let you use a single property declaration to assign values to a number of related properties. This sounds more complicated than it is.
The best-known shorthand property is font . CSS beginners are usually accustomed to defining font properties one by one:
h1 ...
Read now
Unlock full access