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 |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
|
N |
N |
|
See individual properties |
[ <bg-image> ‖ <position> [ / <bg-size> ]? ‖ <repeat-style> ‖ <attachment> ‖ <box> ‖ <box> , ]* <bg-image> ‖ <position> [ / <bg-size> ]? ‖ <repeat-style> ‖ <attachment> ‖ <box> ‖ <box> ‖ <background-color> |
N |
P |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
<color> |
N |
Y |
|
|
[ <image># | |
N |
N |
|
|
[ |
N |
N |
|
|
[ [ |
N |
Y |
|
|
[ |
N |
N |
|
|
[ <length> | <percentage> | |
N |
Y |
|
See individual properties |
[ <border-width> ‖ <border-style> ‖ <border-color> ] |
N |
P |
|
See individiual properties |
[ <border-width> ‖ <border-style> ‖ <border-color> ] |
N |
P |
|
|
<color> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
Y |
|
|
<color>{1,4} |
N |
Y |
|
See individual properties |
<border-image-source> ‖ <border-image-slice> [ / <border-image-width> | / <border-image-width>? / <border-image-outset> ]? ‖ <border-image-repeat> |
N |
N |
|
|
[ <length> | <number> ]{1,4} |
N |
Y |
|
|
[ |
N |
N |
|
|
[ <number> | <percentage> ]{1,4} && |
N |
Y |
|
|
|
N |
N |
|
|
[ <length> | <percentage> | <number> | |
N |
Y |
|
See individiual properties |
[ <border-width> ‖ <border-style> ‖ <border-color> ] |
N |
P |
|
|
<color> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
Y |
|
|
[ <length> | <percentage> ]{1,4} [ / [ <length> | <percentage> ]{1,4} ]? |
N |
Y |
|
|
[ <length> | <percentage> ]{1,2} |
N |
Y |
|
|
[ <length> | <percentage> ]{1,2} |
N |
Y |
|
|
[ <length> | <percentage> ]{1,2} |
N |
Y |
|
|
[ <length> | <percentage> ]{1,2} |
N |
Y |
|
See individiual properties |
[ <border-width> ‖ <border-style> ‖ <border-color> ] |
N |
P |
|
|
<color> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
Y |
|
|
<length> <length>? |
Y |
Y |
|
Not defined |
[ |
N |
N |
|
See individiual properties |
[ <border-width> ‖ <border-style> ‖ <border-color> ] |
N |
P |
|
|
<color> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
Y |
|
Not defined |
[ |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
Y |
|
|
|
N |
N |
|
|
|
Y |
N |
|
|
|
N |
N |
|
|
|
N |
P |
|
|
|
N |
N |
|
User agent specific |
<color> |
Y |
Y |
|
|
|
N |
N |
|
User agent specific |
[<identifier> <integer>? ]+ | |
N |
N |
|
User agent specific |
[<identifier> <integer>? ]+ | |
N |
N |
|
|
|
Y |
Y |
|
|
[ <display-outside> ‖ <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> |
N |
N |
|
|
|
Y |
N |
|
|
[ |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
P |
|
|
|
N |
N |
|
|
<flex-direction> ‖ <flex-wrap> |
N |
N |
|
|
<number> |
N |
Y |
|
|
<number> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
N |
|
See individual properties |
[[ <font-style> ‖ [ |
Y |
P |
|
User agent-specific |
[ <family-name> | <generic-family> ]# |
Y |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
<number> | |
Y |
Y |
|
|
|
Y |
P |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
See individual properties |
|
N |
N |
|
See individual properties |
<grid-line> [ / <grid-line> ]{0,3} |
N |
N |
|
|
<track-breadth> | |
N |
N |
|
|
[ |
N |
N |
|
|
<track-breadth> | |
N |
N |
|
|
|
N |
N |
|
|
<length> | <percentage> |
N |
Y |
|
|
|
N |
N |
|
|
<grid-line> [ / <grid-line> ]? |
N |
N |
|
|
<grid-row-gap> <grid-column-gap> |
N |
Y |
|
|
|
N |
N |
|
|
<length>_ | <percentage> |
N |
Y |
|
|
|
N |
N |
|
|
<grid-line> [ / <grid-line> ]? |
N |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
|
Y |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | |
Y |
Y |
|
|
|
Y |
Y |
|
|
<number> | <length> | <percentage> | |
Y |
Y |
|
<list-style-type> ‖ <list-style-image> ‖ <list-style-position> |
See individual properties |
Y |
N |
|
<uri> | <image> | |
|
N |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
Not defined |
[ <length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
See individual properties |
[ <mask-image> ‖ <mask-position> [ / <mask-size> ]? ‖ <mask-repeat> ‖ <mask-clip> ‖ <mask-origin> ‖ <mask-composite> ‖ <mask-mode> ]# |
N |
P |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
[ |
N |
N |
|
|
<position># a |
N |
P |
|
|
[ |
N |
Y |
|
|
[ [ <length> | <percentage> | |
N |
P |
|
|
|
N |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
<position> b |
N |
N |
|
<number> |
|
N |
Y |
|
|
<integer> |
N |
Y |
|
|
<integer> |
N |
N |
|
|
[ <outline-color> ‖ <outline-style> ‖ <outline-width> ] |
N |
P |
|
|
<color> | |
N |
Y |
|
|
|
N |
N |
|
|
<length> | |
N |
Y |
|
|
|
Y |
Y |
|
|
|
N |
N |
|
Not defined |
[ <length> | <percentage> ]{1,4} |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
<identifier> | |
N |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
|
N |
N |
|
|
<position> d |
N |
Y |
|
|
|
N |
Y |
|
|
|
N |
N |
|
[ <string> <string> ]+ | |
User agent specific |
Y |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<number> |
N |
Y |
|
|
<length> | <percentage> |
N |
Y |
|
|
|
N |
P |
|
|
|
N |
N |
|
|
<length> | <integer> |
Y |
Y |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
|
Y |
N |
|
|
|
N |
N |
|
|
<length> | <percentage> |
Y |
Y |
|
|
|
Y |
Y |
|
|
|
Y |
Y |
|
|
|
N |
Y |
|
|
|
Y |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
<transform-list> | |
N |
Y |
|
|
<position> e |
N |
Y |
|
|
|
N |
N |
|
|
[ [ |
N |
N |
|
|
<time># |
N |
N |
|
|
<time># |
N |
N |
|
|
|
N |
N |
|
|
<timing-function># f |
N |
N |
|
|
|
N |
Y |
|
|
|
N |
P |
|
|
|
Y |
N |
|
|
|
N |
N |
|
|
<integer> |
N |
N |
|
|
<length> | <percentage> | |
N |
Y |
|
|
|
Y |
Y |
|
|
<length> | |
Y |
Y |
|
|
|
Y |
Y |
|
|
<integer> | |
N |
Y |
a See b See c This property used to be called d See e See f See |