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 |
|
|
[ |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access