HTML and CSS Reference
In-Depth Information
Appendix C. Cascading Style Sheet Properties Quick
Reference
In the following table, we list, in alphabetical order, all the properties
defined in the World Wide Web Consortium's (W3C's) Recommended
Specification for Cascading Style Sheets (CSS), Level 2 (
ht-
tp://www.w3.org/pub/WWW/TR/REC-CSS2
)
. We include each property's
possible values, defined as either an explicit keyword (shown in
constant
width
) or as one of these values:
angle
A numeric value followed by
deg
,
grad
, or
rad
.
color
Either a color name or hexadecimal RGB value, as defined in
Ap-
rgb(
red
,
green
,
blue
)
where
red
,
green
, and
blue
are either numbers in the range 0 to 255
or percentage values indicating the brightness of that color com-
ponent. Values of
255
or
100%
indicate that the corresponding color
component is at its brightest; values of
0
or
0%
indicate that the cor-
responding color component is turned off completely. For example:
rgb(27, 119, 207)
rgb(50%, 75%, 0%)
are both valid color specifications.
frequency
A numeric value followed by
hz
or
khz
, indicating hertz or kilohertz.