azimuth | [angle] | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inherit | center | all | yes | n/a | aural |
---|
background | ['background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'] | inherit | XX | all | no | allowed on 'background-position' | visual |
---|
background-attachment | scroll | fixed | inherit | scroll | all | no | n/a | visual |
---|
background-color | [color] | transparent | inherit | transparent | all | no | n/a | visual |
---|
background-image | [uri] | none | inherit | none | all | no | n/a | visual |
---|
background-position | [ [[percentage] | [length] ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit | 0% 0% | block-level and replaced elements | no | refer to the size of the box itself | visual |
---|
background-repeat | repeat | repeat-x | repeat-y | no-repeat | inherit | repeat | all | no | n/a | visual |
---|
border | [ 'border-width' || 'border-style' || [color] ] | inherit | see individual properties | all | no | n/a | visual |
---|
border-collapse | collapse | separate | inherit | collapse | 'table' and 'inline-table' elements | yes | n/a | visual |
---|
border-color | [color]{1,4} | transparent | inherit | see individual properties | all | no | n/a | visual |
---|
border-spacing | [length] [length]? | inherit | 0 | 'table' and 'inline-table' elements | yes | n/a | visual |
---|
border-style | [border-style]{1,4} | inherit | see individual properties | all | no | n/a | visual |
---|
border-top | [ 'border-top-width' || 'border-style' || [color] ] | inherit | see individual properties | all | no | n/a | visual |
---|
border-right | [ 'border-top-width' || 'border-style' || [color] ] | inherit | see individual properties | all | no | n/a | visual |
---|
border-bottom | [ 'border-top-width' || 'border-style' || [color] ] | inherit | see individual properties | all | no | n/a | visual |
---|
border-left | [ 'border-top-width' || 'border-style' || [color] ] | inherit | see individual properties | all | no | n/a | visual |
---|
border-top-color | [color] | inherit | the value of the 'color' property | all | no | n/a | visual |
---|
border-right-color | [color] | inherit | the value of the 'color' property | all | no | n/a | visual |
---|
border-bottom-color | [color] | inherit | the value of the 'color' property | all | no | n/a | visual |
---|
border-left-color | [color] | inherit | the value of the 'color' property | all | no | n/a | visual |
---|
border-top-style | [border-style] | inherit | none | all | no | n/a | visual |
---|
border-right-style | [border-style] | inherit | none | all | no | n/a | visual |
---|
border-bottom-style | [border-style] | inherit | none | all | no | n/a | visual |
---|
border-left-style | [border-style] | inherit | none | all | no | n/a | visual |
---|
border-top-width | [border-width] | inherit | medium | all | no | n/a | visual |
---|
border-right-width | [border-width] | inherit | medium | all | no | n/a | visual |
---|
border-bottom-width | [border-width] | inherit | medium | all | no | n/a | visual |
---|
border-left-width | [border-width] | inherit | medium | all | no | n/a | visual |
---|
border-width | [border-width]{1,4} | inherit | see individual properties | all | no | n/a | visual |
---|
bottom | [length] | [percentage] | auto | inherit | auto | positioned elements | no | refer to height of containing block | visual |
---|
caption-side | top | bottom | left | right | inherit | top | table-caption' elements | yes | n/a | visual |
---|
clear | none | left | right | both | inherit | none | block-level elements | no | n/a | visual |
---|
clip | [shape] | auto | inherit | auto | block-level and replaced elements | no | n/a | visual |
---|
color | [color] | inherit | depends on user agent | all | yes | n/a | visual |
---|
content | [ [string] | [uri] | [counter] | attr(X) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | inherit | empty string | :before and :after pseudo-elements | no | n/a | all |
---|
counter-increment | [ [identifier] [integer]? ]+ | none | inherit | none | all | no | n/a | all |
---|
counter-reset | [ [identifier] [integer]? ]+ | none | inherit | none | all | no | n/a | all |
---|
cue | [ 'cue-before' || 'cue-after' ] | inherit | XX | all | no | n/a | aural |
---|
cue-after | [uri] | none | inherit | none | all | no | n/a | aural |
---|
cue-before | [uri] | none | inherit | none | all | no | n/a | aural |
---|
cursor | [ [[uri] ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ] ] | inherit | auto | all | yes | n/a | visual, interactive |
---|
direction | ltr | rtl | inherit | ltr | all elements, but see prose | yes | n/a | visual |
---|
display | inline | block | list-item | run-in | compact | marker | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit | inline | all | no | n/a | all |
---|
elevation | [angle] | below | level | above | higher | lower | inherit | level | all | yes | n/a | aural |
---|
empty-cells | show | hide | inherit | show | 'table-cell' elements | yes | n/a | visual |
---|
float | left | right | none | inherit | none | all but positioned elements and generated content | no | n/a | visual |
---|
font | [ [ 'font-style' || 'font-variant' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] | caption | icon | menu | message-box | small-caption | status-bar | inherit | see individual properties | all | yes | allowed on 'font-size' and 'line-height' | visual |
---|
font-family | [[ [family-name] | [generic-family] ],]* [[family-name] | [generic-family]] | inherit | depends on user agent | all | yes | n/a | visual |
---|
font-size | [absolute-size] | [relative-size] | [length] | [percentage] | inherit | medium | all | yes, the computed value is inherited | refer to parent element's font size | visual |
---|
font-size-adjust | [number] | none | inherit | none | all | yes | n/a | visual |
---|
font-stretch | normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit | normal | all | yes | n/a | visual |
---|
font-style | normal | italic | oblique | inherit | normal | all | yes | n/a | visual |
---|
font-variant | normal | small-caps | inherit | normal | all | yes | n/a | visual |
---|
font-weight | normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit | normal | all | yes | n/a | visual |
---|
height | [length] | [percentage] | auto | inherit | auto | all elements but non-replaced inline elements, table columns, and column groups | no | see prose | visual |
---|
left | [length] | [percentage] | auto | inherit | auto | positioned elements | no | refer to width of containing block | visual |
---|
letter-spacing | normal | [length] | inherit | normal | all | yes | n/a | visual |
---|
line-height | normal | [number] | [length] | [percentage] | inherit | normal | all | yes | refer to the font size of the element itself | visual |
---|
list-style | [ 'list-style-type' || 'list-style-position' || 'list-style-image' ] | inherit | XX | elements with 'display: list-item | yes | n/a | visual |
---|
list-style-image | [uri] | none | inherit | none | elements with 'display: list-item | yes | n/a | visual |
---|
list-style-position | inside | outside | inherit | outside | elements with 'display: list-item | yes | n/a | visual |
---|
list-style-type | disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-alpha | lower-latin | upper-alpha | upper-latin | hebrew | armenian | georgian | cjk-ideographic | hiragana | katakana | hiragana-iroha | katakana-iroha | none | inherit | disc | elements with 'display: list-item | yes | n/a | visual |
---|
margin | [margin-width]{1,4} | inherit | XX | all | no | refer to width of containing block | visual |
---|
margin-top | [margin-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
margin-right | [margin-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
margin-bottom | [margin-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
margin-left | [margin-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
marker-offset | [length] | auto | inherit | auto | elements with 'display: marker | no | n/a | visual |
---|
marks | [ crop || cross ] | none | inherit | none | page context | N/A | n/a | visual, paged |
---|
max-height | [length] | [percentage] | none | inherit | none | all elements except non-replaced inline elements and table elements | no | refer to height of containing block | visual |
---|
max-width | [length] | [percentage] | none | inherit | none | all elements except non-replaced inline elements and table elements | no | refer to width of containing block | visual |
---|
min-height | [length] | [percentage] | inherit | 0 | all elements except non-replaced inline elements and table elements | no | refer to height of containing block | visual |
---|
min-width | [length] | [percentage] | inherit | UA dependent | all elements except non-replaced inline elements and table elements | no | refer to width of containing block | visual |
---|
orphans | [integer] | inherit | 2 | block-level elements | yes | n/a | visual, paged |
---|
outline | [ 'outline-color' || 'outline-style' || 'outline-width' ] | inherit | see individual properties | all | no | n/a | visual, interactive |
---|
outline-color | [color] | invert | inherit | invert | all | no | n/a | visual, interactive |
---|
outline-style | [border-style] | inherit | none | all | no | n/a | visual, interactive |
---|
outline-width | [border-width] | inherit | medium | all | no | n/a | visual, interactive |
---|
overflow | visible | hidden | scroll | auto | inherit | visible | block-level and replaced elements | no | n/a | visual |
---|
padding | [padding-width]{1,4} | inherit | XX | all | no | refer to width of containing block | visual |
---|
padding-top | [padding-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
padding-right | [padding-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
padding-bottom | [padding-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
padding-left | [padding-width] | inherit | 0 | all | no | refer to width of containing block | visual |
---|
page | [identifier] | auto | auto | block-level elements | yes | n/a | visual, paged |
---|
page-break-after | auto | always | avoid | left | right | inherit | auto | block-level elements | no | n/a | visual, paged |
---|
page-break-before | auto | always | avoid | left | right | inherit | auto | block-level elements | no | n/a | visual, paged |
---|
page-break-inside | avoid | auto | inherit | auto | block-level elements | yes | n/a | visual, paged |
---|
pause | [ [[time] | [percentage]]{1,2} ] | inherit | depends on user agent | all | no | see descriptions of 'pause-before' and 'pause-after | aural |
---|
pause-after | [time] | [percentage] | inherit | depends on user agent | all | no | see prose | aural |
---|
pause-before | [time] | [percentage] | inherit | depends on user agent | all | no | see prose | aural |
---|
pitch | [frequency] | x-low | low | medium | high | x-high | inherit | medium | all | yes | n/a | aural |
---|
pitch-range | [number] | inherit | 50 | all | yes | n/a | aural |
---|
play-during | [uri] mix? repeat? | auto | none | inherit | auto | all | no | n/a | aural |
---|
position | static | relative | absolute | fixed | inherit | static | all elements, but not to generated content | no | n/a | visual |
---|
quotes | [[string] [string]]+ | none | inherit | depends on user agent | all | yes | n/a | visual |
---|
richness | [number] | inherit | 50 | all | yes | n/a | aural |
---|
right | [length] | [percentage] | auto | inherit | auto | positioned elements | no | refer to width of containing block | visual |
---|
size | [length]{1,2} | auto | portrait | landscape | inherit | auto | the page context | N/A | n/a | visual, paged |
---|
speak | normal | none | spell-out | inherit | normal | all | yes | n/a | aural |
---|
speak-header | once | always | inherit | once | elements that have table header information | yes | n/a | aural |
---|
speak-numeral | digits | continuous | inherit | continuous | all | yes | n/a | aural |
---|
speak-punctuation | code | none | inherit | none | all | yes | n/a | aural |
---|
speech-rate | [number] | x-slow | slow | medium | fast | x-fast | faster | slower | inherit | medium | all | yes | n/a | aural |
---|
stress | [number] | inherit | 50 | all | yes | n/a | aural |
---|
table-layout | auto | fixed | inherit | auto | table' and 'inline-table' elements | no | n/a | visual |
---|
text-align | left | right | center | justify | [string] | inherit | depends on user agent and writing direction | block-level elements | yes | n/a | visual |
---|
text-decoration | none | [ underline || overline || line-through || blink ] | inherit | none | all | no (see prose) | n/a | visual |
---|
text-indent | [length] | [percentage] | inherit | 0 | block-level elements | yes | refer to width of containing block | visual |
---|
text-shadow | none | [[color] || [length] [length] [length]? ,]* [[color] || [length] [length] [length]?] | inherit | none | all | no (see prose) | n/a | visual |
---|
text-transform | capitalize | uppercase | lowercase | none | inherit | none | all | yes | n/a | visual |
---|
top | [length] | [percentage] | auto | inherit | auto | positioned elements | no | refer to height of containing block | visual |
---|
unicode-bidi | normal | embed | bidi-override | inherit | normal | all elements, but see prose | no | n/a | visual |
---|
vertical-align | baseline | sub | super | top | text-top | middle | bottom | text-bottom | [percentage] | [length] | inherit | baseline | inline-level and 'table-cell' elements | no | refer to the 'line-height' of the element itself | visual |
---|
visibility | visible | hidden | collapse | inherit | inherit | all | no | n/a | visual |
---|
voice-family | [[[specific-voice] | [generic-voice] ],]* [[specific-voice] | [generic-voice] ] | inherit | depends on user agent | all | yes | n/a | aural |
---|
volume | [number] | [percentage] | silent | x-soft | soft | medium | loud | x-loud | inherit | medium | all | yes | refer to inherited value | aural |
---|
white-space | normal | pre | nowrap | inherit | normal | block-level elements | yes | n/a | visual |
---|
widows | [integer] | inherit | 2 | block-level elements | yes | n/a | visual, paged |
---|
width | [length] | [percentage] | auto | inherit | auto | all elements but non-replaced inline elements, table rows, and row groups | no | refer to width of containing block | visual |
---|
word-spacing | normal | [length] | inherit | normal | all | yes | n/a | visual |
---|
z-index | auto | [integer] | inherit | auto | positioned elements | no | n/a | visual |
---|