Appendix B. Basic Property Reference
Note that in addition to the options shown in the “Value Syntax” column of this appendix, all properties listed also accept the following global values: inherit
, initial
, and unset
. They may in the future accept revert
as well. These global values are not shown in the table for brevity and clarity.
Where a “P” is indicated for whether an element is animatable (the “Anim.” column), that means some but not all aspects of the property’s value can be animated.
Property | Default value | Value syntax | Inh. | Anim. |
---|---|---|---|---|
|
|
|
N |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
See individual properties |
|
N |
N |
|
|
[ <animation-name> ‖ <animation-duration> ‖ <animation-timing-function> ‖ <animation-delay> ‖ <animation-iteration-count> ‖ <animation-direction> ‖ <animation-fill-mode> ‖ <animation-play-state> ]# |
N |
N |
|
|
<time># |
N |
N |
|
|
[ |
N |
N |
|
|
<time># |
N |
N |
|
|
[ |
N |
N |
|
|
<number> | |
N |
N |
|
|
[ <single-animation-name> | |
N |
N |
|
|
[ |
Get CSS: The Definitive Guide, 4th Edition 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.