
• pt: points, where a point is 1/72 inch
• pc: picas, where a pica is 12 points
Percentage
Percentages are used for width, height, and position. A percentage is a
number followed by the percent sign “%”. There are no spaces between the
number and the sign. For example, the following rule defines a line height,
which is twice the text:
line-height: 200%
Color
1. Many properties accept a color value. There are three solutions to re-
present a color. The first one (borrowed from HTML) has the form:
#00ffe1—that is, an RGB value in hexadecimal. This example selects
a green background:
background-color: #00FF00
NOTE
With RGB, three numbers represent the propor ...