skip to main content

Properties

This file lists information about each property and its supported values.

Properties

Layout

display§

Sets the type of box rendered.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-d-i
inherit
Test
.-d-0
initial
Test
.-d-u
unset
Test
.-d-nstable
none
Test
.-d-c
contents
Test
.-d-b
block
Test
.-d-l
inlineinitial value
Test
.-d-r
run-in
Test
.-d-f
flow
Test
.-d-o
flow-root
Test
.-d-tobsolete
table
Test
.-d-xexperimental
flex
Test
.-d-gexperimental
grid
Test
.-d-s
list-item
Test
.-d-s_o
list-item flow-root
Test
.-d-s_l
list-item inline
Test
.-d-lbdeprecated
inline-block
Test
.-d-lsdeprecated
inline-list-item
Test
.-d-ltdeprecated
inline-table
Test
.-d-lfdeprecated
inline-flex
Test
.-d-lgdeprecated
inline-grid
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-count§

Sets the number of columns of content.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cc-i
inherit
Test
.-cc-0
initial
Test
.-cc-u
unset
Test
.-cc-a
autoinitial value
Test
.-cc-1
1
Test
.-cc-2
2
Test
.-cc-3
3
Test
.-cc-4
4
Test
.-cc-5
5
Test
.-cc-6
6
Test
.-cc-8
8
Test
.-cc-10
10
Test
.-cc-12
12
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-width§

Suggests the optimal width for columns of content.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cw-i
inherit
Test
.-cw-0
initial
Test
.-cw-u
unset
Test
.-cw-a
autoinitial value
Test
.-cw-z
0
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-gap§

Sets the size of the gap between columns.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cg-i
inherit
Test
.-cg-0
initial
Test
.-cg-u
unset
Test
.-cg-n
normalinitial value
Test
.-cg-z
0
Test
.-cg-q
0.25rem
Test
.-cg-h
0.5rem
Test
.-cg-1
1rem
Test
.-cg-2
2rem
Test
.-cg-4
4rem
Test
.-cg-8
8rem
Test
.-cg-16
16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-rule-width§

Sets the width of the rule drawn between columns.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-crw-i
inherit
Test
.-crw-0
initial
Test
.-crw-u
unset
Test
.-crw-z
0
Test
.-crw-1
1px
Test
.-crw-2
2px
Test
.-crw-4
4px
Test
.-crw-8
8px
Test
.-crw-16
16px
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-rule-style§

Sets the line style of the rule drawn between columns.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-crs-i
inherit
Test
.-crs-0
initial
Test
.-crs-u
unset
Test
.-crs-n
noneinitial value
Test
.-crs-h
hidden
Test
.-crs-s
solid
Test
.-crs-do
dotted
Test
.-crs-da
dashed
Test
.-crs-db
double
Test
.-crs-gv
groove
Test
.-crs-rg
ridge
Test
.-crs-is
inset
Test
.-crs-os
outset
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-rule-color§

Sets the color of the rule drawn between columns.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-crc-i
inherit
Test
.-crc-0
initial
Test
.-crc-u
unset
Test
.-crc-t
transparent
Test
.-crc-c
currentColorinitial value
Test
.-crc-b
#000
Test
.-crc-w
#fff
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-fill§

Controls how contents are partitioned into columns.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cf-i
inherit
Test
.-cf-0
initial
Test
.-cf-u
unset
Test
.-cf-b
balanceinitial value
Test
.-cf-a
auto
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

column-span§

Describes how many columns an element spans across.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cs-i
inherit
Test
.-cs-0
initial
Test
.-cs-u
unset
Test
.-cs-n
noneinitial value
Test
.-cs-a
all
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

flex-direction§

Specifies how flex items are placed in the flex container.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-xd-i
inherit
Test
.-xd-0
initial
Test
.-xd-u
unset
Test
.-xd-r
rowinitial value
Test
.-xd-c
column
Test
.-xd-rr
row-reverse
Test
.-xd-cr
column-reverse
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

flex-wrap§

Determines whether boxes wrap to the next row or column.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-xw-i
inherit
Test
.-xw-0
initial
Test
.-xw-u
unset
Test
.-xw-nw
nowrapinitial value
Test
.-xw-wp
wrap
Test
.-xw-wr
wrap-reverse
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

flex§

Shorthand for setting the flex-grow, flex-shrink, and flex-basis properties of an element.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-x-i
inherit
Test
.-x-0
initial
Test
.-x-u
unset
Test
.-x-a
auto
Test
.-x-n
none
Test
.-x-c
content
Test
.-x-z
0
Test
.-x-h
0.5
Test
.-x-1
1
Test
.-x-2
2
Test
.-x-1o1
100%
Test
.-x-2o2
100%
Test
.-x-3o3
100%
Test
.-x-4o4
100%
Test
.-x-5o5
100%
Test
.-x-6o6
100%
Test
.-x-8o8
100%
Test
.-x-10o10
100%
Test
.-x-12o12
100%
Test
.-x-1o2
50%
Test
.-x-2o4
50%
Test
.-x-3o6
50%
Test
.-x-4o8
50%
Test
.-x-5o10
50%
Test
.-x-6o12
50%
Test
.-x-1o3
33.33%
Test
.-x-2o6
33.33%
Test
.-x-4o12
33.33%
Test
.-x-2o3
66.67%
Test
.-x-4o6
66.67%
Test
.-x-8o12
66.67%
Test
.-x-1o4
25%
Test
.-x-2o8
25%
Test
.-x-3o12
25%
Test
.-x-3o4
75%
Test
.-x-6o8
75%
Test
.-x-9o12
75%
Test
.-x-1o5
20%
Test
.-x-2o10
20%
Test
.-x-2o5
40%
Test
.-x-4o10
40%
Test
.-x-3o5
60%
Test
.-x-6o10
60%
Test
.-x-4o5
80%
Test
.-x-8o10
80%
Test
.-x-1o6
16.67%
Test
.-x-2o12
16.67%
Test
.-x-5o6
83.33%
Test
.-x-10o12
83.33%
Test
.-x-1o8
12.5%
Test
.-x-3o8
37.5%
Test
.-x-5o8
62.5%
Test
.-x-7o8
87.5%
Test
.-x-1o10
10%
Test
.-x-3o10
30%
Test
.-x-7o10
70%
Test
.-x-9o10
90%
Test
.-x-1o12
8.33%
Test
.-x-5o12
41.67%
Test
.-x-7o12
58.33%
Test
.-x-11o12
91.67%
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

order§

Specifies the order used to lay out flex items.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-xo-i
inherit
Test
.-xo-0
initial
Test
.-xo-u
unset
Test
.-xo-z
0initial value
Test
.-xo-1
1
Test
.-xo-2
2
Test
.-xo-3
3
Test
.-xo-4
4
Test
.-xo-5
5
Test
.-xo-6
6
Test
.-xo-7
7
Test
.-xo-8
8
Test
.-xo-_1
-1
Test
.-xo-_2
-2
Test
.-xo-_3
-3
Test
.-xo-_4
-4
Test
.-xo-_5
-5
Test
.-xo-_6
-6
Test
.-xo-_7
-7
Test
.-xo-_8
-8
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

grid-template-rows§

Defines track sizing functions of grid rows.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-gtr-i
inherit
Test
.-gtr-0
initial
Test
.-gtr-u
unset
Test
.-gtr-n
noneinitial value
Test
.-gtr-1
repeat(1, 1fr)
Test
.-gtr-2
repeat(2, 1fr)
Test
.-gtr-3
repeat(3, 1fr)
Test
.-gtr-4
repeat(4, 1fr)
Test
.-gtr-5
repeat(5, 1fr)
Test
.-gtr-6
repeat(6, 1fr)
Test
.-gtr-8
repeat(8, 1fr)
Test
.-gtr-10
repeat(10, 1fr)
Test
.-gtr-12
repeat(12, 1fr)
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

grid-template-columns§

Defines track sizing functions of grid columns.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-gtc-i
inherit
Test
.-gtc-0
initial
Test
.-gtc-u
unset
Test
.-gtc-n
noneinitial value
Test
.-gtc-1
repeat(1, 1fr)
Test
.-gtc-2
repeat(2, 1fr)
Test
.-gtc-3
repeat(3, 1fr)
Test
.-gtc-4
repeat(4, 1fr)
Test
.-gtc-5
repeat(5, 1fr)
Test
.-gtc-6
repeat(6, 1fr)
Test
.-gtc-8
repeat(8, 1fr)
Test
.-gtc-10
repeat(10, 1fr)
Test
.-gtc-12
repeat(12, 1fr)
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

grid-row-gap§

Sets the gutter size between grid rows.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-grg-i
inherit
Test
.-grg-0
initial
Test
.-grg-u
unset
Test
.-grg-z
0initial value
Test
.-grg-q
0.25vru
Test
.-grg-h
0.5vru
Test
.-grg-1
1vru
Test
.-grg-2
2vru
Test
.-grg-4
4vru
Test
.-grg-8
8vru
Test
.-grg-16
16vru
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

grid-column-gap§

Sets the gutter size between grid columns.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-gcg-i
inherit
Test
.-gcg-0
initial
Test
.-gcg-u
unset
Test
.-gcg-z
0initial value
Test
.-gcg-q
0.25rem
Test
.-gcg-h
0.5rem
Test
.-gcg-1
1rem
Test
.-gcg-2
2rem
Test
.-gcg-4
4rem
Test
.-gcg-8
8rem
Test
.-gcg-16
16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

align-content§

Defines how space is distributed along the block/cross/column-axis.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ac-i
inherit
Test
.-ac-0
initial
Test
.-ac-u
unset
Test
.-ac-n
normalinitial value
Test
.-ac-c
center
Test
.-ac-xsexperimental
flex-start
Test
.-ac-xeexperimental
flex-end
Test
.-ac-s
start
Test
.-ac-e
end
Test
.-ac-st
stretch
Test
.-ac-sb
space-between
Test
.-ac-sa
space-around
Test
.-ac-sv
space-evenly
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

justify-content§

Defines how space is distributed along the inline/main/row-axis.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-jc-i
inherit
Test
.-jc-0
initial
Test
.-jc-u
unset
Test
.-jc-n
normalinitial value
Test
.-jc-c
center
Test
.-jc-xsexperimental
flex-start
Test
.-jc-xeexperimental
flex-end
Test
.-jc-s
start
Test
.-jc-e
end
Test
.-jc-st
stretch
Test
.-jc-sb
space-between
Test
.-jc-sa
space-around
Test
.-jc-sv
space-evenly
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

align-items§

Defines how item contents are aligned along the block/cross/column-axis.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ai-i
inherit
Test
.-ai-0
initial
Test
.-ai-u
unset
Test
.-ai-n
normalinitial value
Test
.-ai-c
center
Test
.-ai-xsexperimental
flex-start
Test
.-ai-xeexperimental
flex-end
Test
.-ai-s
start
Test
.-ai-e
end
Test
.-ai-ss
self-start
Test
.-ai-se
self-end
Test
.-ai-st
stretch
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

justify-items§

Defines how item contents are aligned along the inline/main/row-axis.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ji-i
inherit
Test
.-ji-0
initial
Test
.-ji-u
unset
Test
.-ji-n
normalinitial value
Test
.-ji-c
center
Test
.-ji-xsexperimental
flex-start
Test
.-ji-xeexperimental
flex-end
Test
.-ji-s
start
Test
.-ji-e
end
Test
.-ji-ss
self-start
Test
.-ji-se
self-end
Test
.-ji-st
stretch
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

align-self§

Overrides parent `align-items` property.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-as-i
inherit
Test
.-as-0
initial
Test
.-as-u
unset
Test
.-as-a
autoinitial value
Test
.-as-n
normal
Test
.-as-c
center
Test
.-as-xsexperimental
flex-start
Test
.-as-xeexperimental
flex-end
Test
.-as-s
start
Test
.-as-e
end
Test
.-as-ss
self-start
Test
.-as-se
self-end
Test
.-as-st
stretch
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

justify-self§

Overrides parent `justify-items` property.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-js-i
inherit
Test
.-js-0
initial
Test
.-js-u
unset
Test
.-js-a
autoinitial value
Test
.-js-n
normal
Test
.-js-c
center
Test
.-js-xsexperimental
flex-start
Test
.-js-xeexperimental
flex-end
Test
.-js-s
start
Test
.-js-e
end
Test
.-js-ss
self-start
Test
.-js-se
self-end
Test
.-js-st
stretch
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

position§

Sets the position of box rendered.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ps-i
inherit
Test
.-ps-0
initial
Test
.-ps-u
unset
Test
.-ps-s
staticinitial value
Test
.-ps-r
relative
Test
.-ps-a
absolute
Test
.-ps-f
fixed
Test
.-ps-kexperimental
sticky
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

top§

Specifies how far to position an element from the top.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-t-i
inherit
Test
.-t-0
initial
Test
.-t-u
unset
Test
.-t-a
autoinitial value
Test
.-t-z
0
Test
.-t-q
0.25rem
Test
.-t-h
0.5rem
Test
.-t-1
1rem
Test
.-t-2
2rem
Test
.-t-4
4rem
Test
.-t-8
8rem
Test
.-t-16
16rem
Test
.-t-_q
-0.25rem
Test
.-t-_h
-0.5rem
Test
.-t-_1
-1rem
Test
.-t-_2
-2rem
Test
.-t-_4
-4rem
Test
.-t-_8
-8rem
Test
.-t-_16
-16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

bottom§

Specifies how far to position an element from the bottom.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-b-i
inherit
Test
.-b-0
initial
Test
.-b-u
unset
Test
.-b-a
autoinitial value
Test
.-b-z
0
Test
.-b-q
0.25rem
Test
.-b-h
0.5rem
Test
.-b-1
1rem
Test
.-b-2
2rem
Test
.-b-4
4rem
Test
.-b-8
8rem
Test
.-b-16
16rem
Test
.-b-_q
-0.25rem
Test
.-b-_h
-0.5rem
Test
.-b-_1
-1rem
Test
.-b-_2
-2rem
Test
.-b-_4
-4rem
Test
.-b-_8
-8rem
Test
.-b-_16
-16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

left§

Specifies how far to position an element from the left.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-l-i
inherit
Test
.-l-0
initial
Test
.-l-u
unset
Test
.-l-a
autoinitial value
Test
.-l-z
0
Test
.-l-q
0.25rem
Test
.-l-h
0.5rem
Test
.-l-1
1rem
Test
.-l-2
2rem
Test
.-l-4
4rem
Test
.-l-8
8rem
Test
.-l-16
16rem
Test
.-l-_q
-0.25rem
Test
.-l-_h
-0.5rem
Test
.-l-_1
-1rem
Test
.-l-_2
-2rem
Test
.-l-_4
-4rem
Test
.-l-_8
-8rem
Test
.-l-_16
-16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

float§

Floats the box in content.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-fl-i
inherit
Test
.-fl-0
initial
Test
.-fl-u
unset
Test
.-fl-n
noneinitial value
Test
.-fl-l
left
Test
.-fl-r
right
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

clear§

Specifies positioning next to floating elements.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-cl-i
inherit
Test
.-cl-0
initial
Test
.-cl-u
unset
Test
.-cl-n
noneinitial value
Test
.-cl-l
left
Test
.-cl-r
right
Test
.-cl-b
both
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

z-index§

Defines the z-order of an element and descendants. Z-order is defined as the order of elements in the direction perpendicular to the screen.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-z-i
inherit
Test
.-z-0
initial
Test
.-z-u
unset
Test
.-z-a
autoinitial value
Test
.-z-z
0
Test
.-z-1
1
Test
.-z-2
2
Test
.-z-3
3
Test
.-z-4
4
Test
.-z-5
5
Test
.-z-6
6
Test
.-z-7
7
Test
.-z-8
8
Test
.-z-_1
-1
Test
.-z-_2
-2
Test
.-z-_3
-3
Test
.-z-_4
-4
Test
.-z-_5
-5
Test
.-z-_6
-6
Test
.-z-_7
-7
Test
.-z-_8
-8
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

Box Model

box-sizing§

Alters the CSS box model used to calculate width and height.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-kz-i
inherit
Test
.-kz-0
initial
Test
.-kz-u
unset
Test
.-kz-c
content-boxinitial value
Test
.-kz-r
border-box
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

width§

Sets the width of an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-w-i
inherit
Test
.-w-0
initial
Test
.-w-u
unset
Test
.-w-a
autoinitial value
Test
.-w-z
0
Test
.-w-1o1
100%
Test
.-w-2o2
100%
Test
.-w-3o3
100%
Test
.-w-4o4
100%
Test
.-w-5o5
100%
Test
.-w-6o6
100%
Test
.-w-8o8
100%
Test
.-w-10o10
100%
Test
.-w-12o12
100%
Test
.-w-1o2
50%
Test
.-w-2o4
50%
Test
.-w-3o6
50%
Test
.-w-4o8
50%
Test
.-w-5o10
50%
Test
.-w-6o12
50%
Test
.-w-1o3
33.33%
Test
.-w-2o6
33.33%
Test
.-w-4o12
33.33%
Test
.-w-2o3
66.67%
Test
.-w-4o6
66.67%
Test
.-w-8o12
66.67%
Test
.-w-1o4
25%
Test
.-w-2o8
25%
Test
.-w-3o12
25%
Test
.-w-3o4
75%
Test
.-w-6o8
75%
Test
.-w-9o12
75%
Test
.-w-1o5
20%
Test
.-w-2o10
20%
Test
.-w-2o5
40%
Test
.-w-4o10
40%
Test
.-w-3o5
60%
Test
.-w-6o10
60%
Test
.-w-4o5
80%
Test
.-w-8o10
80%
Test
.-w-1o6
16.67%
Test
.-w-2o12
16.67%
Test
.-w-5o6
83.33%
Test
.-w-10o12
83.33%
Test
.-w-1o8
12.5%
Test
.-w-3o8
37.5%
Test
.-w-5o8
62.5%
Test
.-w-7o8
87.5%
Test
.-w-1o10
10%
Test
.-w-3o10
30%
Test
.-w-7o10
70%
Test
.-w-9o10
90%
Test
.-w-1o12
8.33%
Test
.-w-5o12
41.67%
Test
.-w-7o12
58.33%
Test
.-w-11o12
91.67%
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

margin§

Sets the margin space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-m-i
inherit
Test
.-m-0
initial
Test
.-m-u
unset
Test
.-m-a
auto
Test
.-m-z
0initial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

margin-top§

Sets the top margin space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-mt-i
inherit
Test
.-mt-0
initial
Test
.-mt-u
unset
Test
.-mt-a
auto
Test
.-mt-z
0initial value
Test
.-mt-q
0.25vru
Test
.-mt-h
0.5vru
Test
.-mt-1
1vru
Test
.-mt-2
2vru
Test
.-mt-4
4vru
Test
.-mt-8
8vru
Test
.-mt-16
16vru
Test
.-mt-_q
-0.25vru
Test
.-mt-_h
-0.5vru
Test
.-mt-_1
-1vru
Test
.-mt-_2
-2vru
Test
.-mt-_4
-4vru
Test
.-mt-_8
-8vru
Test
.-mt-_16
-16vru
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

margin-bottom§

Sets the bottom margin space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-mb-i
inherit
Test
.-mb-0
initial
Test
.-mb-u
unset
Test
.-mb-a
auto
Test
.-mb-z
0initial value
Test
.-mb-q
0.25vru
Test
.-mb-h
0.5vru
Test
.-mb-1
1vru
Test
.-mb-2
2vru
Test
.-mb-4
4vru
Test
.-mb-8
8vru
Test
.-mb-16
16vru
Test
.-mb-_q
-0.25vru
Test
.-mb-_h
-0.5vru
Test
.-mb-_1
-1vru
Test
.-mb-_2
-2vru
Test
.-mb-_4
-4vru
Test
.-mb-_8
-8vru
Test
.-mb-_16
-16vru
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

margin-left§

Sets the left margin space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ml-i
inherit
Test
.-ml-0
initial
Test
.-ml-u
unset
Test
.-ml-a
auto
Test
.-ml-z
0initial value
Test
.-ml-q
0.25rem
Test
.-ml-h
0.5rem
Test
.-ml-1
1rem
Test
.-ml-2
2rem
Test
.-ml-4
4rem
Test
.-ml-8
8rem
Test
.-ml-16
16rem
Test
.-ml-_q
-0.25rem
Test
.-ml-_h
-0.5rem
Test
.-ml-_1
-1rem
Test
.-ml-_2
-2rem
Test
.-ml-_4
-4rem
Test
.-ml-_8
-8rem
Test
.-ml-_16
-16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

margin-right§

Sets the right margin space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-mr-i
inherit
Test
.-mr-0
initial
Test
.-mr-u
unset
Test
.-mr-a
auto
Test
.-mr-z
0initial value
Test
.-mr-q
0.25rem
Test
.-mr-h
0.5rem
Test
.-mr-1
1rem
Test
.-mr-2
2rem
Test
.-mr-4
4rem
Test
.-mr-8
8rem
Test
.-mr-16
16rem
Test
.-mr-_q
-0.25rem
Test
.-mr-_h
-0.5rem
Test
.-mr-_1
-1rem
Test
.-mr-_2
-2rem
Test
.-mr-_4
-4rem
Test
.-mr-_8
-8rem
Test
.-mr-_16
-16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

padding§

Sets the padding space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-p-i
inherit
Test
.-p-0
initial
Test
.-p-u
unset
Test
.-p-z
0initial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

padding-top§

Sets the top padding space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-pt-i
inherit
Test
.-pt-0
initial
Test
.-pt-u
unset
Test
.-pt-z
0initial value
Test
.-pt-q
0.25vru
Test
.-pt-h
0.5vru
Test
.-pt-1
1vru
Test
.-pt-2
2vru
Test
.-pt-4
4vru
Test
.-pt-8
8vru
Test
.-pt-16
16vru
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

padding-bottom§

Sets the bottom padding space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-pb-i
inherit
Test
.-pb-0
initial
Test
.-pb-u
unset
Test
.-pb-z
0initial value
Test
.-pb-q
0.25vru
Test
.-pb-h
0.5vru
Test
.-pb-1
1vru
Test
.-pb-2
2vru
Test
.-pb-4
4vru
Test
.-pb-8
8vru
Test
.-pb-16
16vru
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

padding-left§

Sets the left padding space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-pl-i
inherit
Test
.-pl-0
initial
Test
.-pl-u
unset
Test
.-pl-z
0initial value
Test
.-pl-q
0.25rem
Test
.-pl-h
0.5rem
Test
.-pl-1
1rem
Test
.-pl-2
2rem
Test
.-pl-4
4rem
Test
.-pl-8
8rem
Test
.-pl-16
16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

padding-right§

Sets the right padding space on an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-pr-i
inherit
Test
.-pr-0
initial
Test
.-pr-u
unset
Test
.-pr-z
0initial value
Test
.-pr-q
0.25rem
Test
.-pr-h
0.5rem
Test
.-pr-1
1rem
Test
.-pr-2
2rem
Test
.-pr-4
4rem
Test
.-pr-8
8rem
Test
.-pr-16
16rem
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

overflow§

Defines how content outside the box is rendered.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ko-i
inherit
Test
.-ko-0
initial
Test
.-ko-u
unset
Test
.-ko-a
auto
Test
.-ko-v
visibleinitial value
Test
.-ko-h
hidden
Test
.-ko-s
scroll
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-overflow§

Defines how invisible overflowed text content, if any, is rendered.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-to-i
inherit
Test
.-to-0
initial
Test
.-to-u
unset
Test
.-to-k
clipinitial value
Test
.-to-e
ellipsis
Test
.-to-fexperimental
fade
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

Typography

font-family§

Sets the typeface.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ff-i
inherit
Test
.-ff-0
initial
Test
.-ff-u
unset
Test
.-ff-ss
sans-serif
Test
.-ff-sf
serif
Test
.-ff-ms
monospace
Test
.-ff-fy
fantasy
Test
.-ff-cv
cursive
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

font-weight§

Sets weight on the typeface.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-fw-i
inherit
Test
.-fw-0
initial
Test
.-fw-u
unset
Test
.-fw-n
normalinitial value
Test
.-fw-b
bold
Test
.-fw-br
bolder
Test
.-fw-lr
lighter
Test
.-fw-100
100
Test
.-fw-200
200
Test
.-fw-300
300
Test
.-fw-400
400
Test
.-fw-500
500
Test
.-fw-600
600
Test
.-fw-700
700
Test
.-fw-800
800
Test
.-fw-900
900
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

font-stretch§

Selects a normal, condensed, or expanded face from a typeface.inherited

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-ft-i
inherit
Test
.-ft-0
initial
Test
.-ft-u
unset
Test
.-ft-n
normalinitial value
Test
.-ft-1
semi-expanded
Test
.-ft-2
expanded
Test
.-ft-3
extra-expanded
Test
.-ft-4
ultra-expanded
Test
.-ft-_1
semi-condensed
Test
.-ft-_2
condensed
Test
.-ft-_3
extra-condensed
Test
.-ft-_4
ultra-condensed
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

font-style§

Sets italics or oblique on the typeface.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-fs-i
inherit
Test
.-fs-0
initial
Test
.-fs-u
unset
Test
.-fs-n
normalinitial value
Test
.-fs-t
italic
Test
.-fs-o
oblique
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

font-size§

Sets the font size.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-fz-i
inherit
Test
.-fz-0
initial
Test
.-fz-u
unset
Test
.-fz-z
0
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

font-kerning§

Controls the usage of a typeface’s kerning information.inherited

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-fk-i
inherit
Test
.-fk-0
initial
Test
.-fk-u
unset
Test
.-fk-a
autoinitial value
Test
.-fk-norm
normal
Test
.-fk-none
none
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

font-variant§

Sets small capitals on the typeface.inherited

Stability 1:DeprecatedBreaking changes are planned for this feature, or it will be removed in future versions. It is no longer in development, and should not be relied upon.

.-fv-i
inherit
Test
.-fv-0
initial
Test
.-fv-u
unset
Test
.-fv-n
normalinitial value
Test
.-fv-s
small-caps
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

font-variant-position§

Controls the usage of alternate glyphs positioned as subscript or superscript.inherited

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-fvp-i
inherit
Test
.-fvp-0
initial
Test
.-fvp-u
unset
Test
.-fvp-n
normalinitial value
Test
.-fvp-sb
sub
Test
.-fvp-sp
super
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

font-variant-caps§

Controls the usage of alternate glyphs for letters in cases.inherited

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-fvc-i
inherit
Test
.-fvc-0
initial
Test
.-fvc-u
unset
Test
.-fvc-n
normalinitial value
Test
.-fvc-s
small-caps
Test
.-fvc-sa
all-small-caps
Test
.-fvc-p
petite-caps
Test
.-fvc-pa
all-petite-caps
Test
.-fvc-uc
unicase
Test
.-fvc-tc
titling-caps
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

line-height§

Sets the minimum height of line boxes.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-lh-i
inherit
Test
.-lh-0
initial
Test
.-lh-u
unset
Test
.-lh-n
normalinitial value
Test
.-lh-z
0
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-transform§

Capitalizes text.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-tt-i
inherit
Test
.-tt-0
initial
Test
.-tt-u
unset
Test
.-tt-n
noneinitial value
Test
.-tt-cp
capitalize
Test
.-tt-uc
uppercase
Test
.-tt-lc
lowercase
Test
.-tt-fw
full-width
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

white-space§

Determines how white space in source code is rendered.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-sp-i
inherit
Test
.-sp-0
initial
Test
.-sp-u
unset
Test
.-sp-n
normalinitial value
Test
.-sp-nw
nowrap
Test
.-sp-pr
pre
Test
.-sp-pw
pre-wrap
Test
.-sp-pl
pre-line
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-align§

Aligns inline content in a block.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ta-i
inherit
Test
.-ta-0
initial
Test
.-ta-u
unset
Test
.-ta-l
left
Test
.-ta-r
right
Test
.-ta-sexperimental
startinitial value
Test
.-ta-eexperimental
end
Test
.-ta-c
center
Test
.-ta-j
justify
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-justify§

Defines how justification should be applied when text is justified.inherited

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-tj-i
inherit
Test
.-tj-0
initial
Test
.-tj-u
unset
Test
.-tj-a
autoinitial value
Test
.-tj-n
none
Test
.-tj-w
inter-word
Test
.-tj-c
inter-character
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

vertical-align§

Vertically aligns an inline or table-cell box.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-va-i
inherit
Test
.-va-0
initial
Test
.-va-u
unset
Test
.-va-a
baselineinitial value
Test
.-va-b
bottom
Test
.-va-c
middle
Test
.-va-t
top
Test
.-va-tb
text-bottom
Test
.-va-tt
text-top
Test
.-va-sb
sub
Test
.-va-sp
super
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

word-spacing§

Sets the spacing between tags and words in text.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ws-i
inherit
Test
.-ws-0
initial
Test
.-ws-u
unset
Test
.-ws-n
normalinitial value
Test
.-ws-z
0
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

letter-spacing§

Sets the spacing between characters in text.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ls-i
inherit
Test
.-ls-0
initial
Test
.-ls-u
unset
Test
.-ls-n
normalinitial value
Test
.-ls-z
0
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-indent§

Leaves empty space before lines of text in a block.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ti-i
inherit
Test
.-ti-0
initial
Test
.-ti-u
unset
Test
.-ti-z
0initial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

Box Cosmetics

background-image§

Sets the background image.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-bi-i
inherit
Test
.-bi-0
initial
Test
.-bi-u
unset
Test
.-bi-n
noneinitial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-position§

Sets the position of the background image.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-bp-i
inherit
Test
.-bp-0
initial
Test
.-bp-u
unset
Test
.-bp-l
left
Test
.-bp-r
right
Test
.-bp-c
center
Test
.-bp-t
top
Test
.-bp-b
bottom
Test
.-bp-lt
left top
Test
.-bp-lc
left center
Test
.-bp-lb
left bottom
Test
.-bp-ct
center top
Test
.-bp-cc
center center
Test
.-bp-cb
center bottom
Test
.-bp-rt
right top
Test
.-bp-rc
right center
Test
.-bp-rb
right bottom
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-repeat§

Defines how the background image repeats.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-br-i
inherit
Test
.-br-0
initial
Test
.-br-u
unset
Test
.-br-r
repeatinitial value
Test
.-br-nr
no-repeat
Test
.-br-sp
space
Test
.-br-rd
round
Test
.-br-rx
repeat-x
Test
.-br-ry
repeat-y
Test
.-br-spx
space-x
Test
.-br-spy
space-y
Test
.-br-rdx
round-x
Test
.-br-rdy
round-y
Test
.-br-r_sp
repeat space
Test
.-br-r_rd
repeat round
Test
.-br-sp_r
space repeat
Test
.-br-sp_rd
space round
Test
.-br-rd_r
round repeat
Test
.-br-rd_sp
round space
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-origin§

Sets the position of the origin of the background image.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-bo-i
inherit
Test
.-bo-0
initial
Test
.-bo-u
unset
Test
.-bo-c
content-box
Test
.-bo-p
padding-boxinitial value
Test
.-bo-r
border-box
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-clip§

Sets whether the background image/color extends beneath the padding/border.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-bk-i
inherit
Test
.-bk-0
initial
Test
.-bk-u
unset
Test
.-bk-c
content-box
Test
.-bk-p
padding-box
Test
.-bk-r
border-boxinitial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-size§

Sets the size of the background image.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-bz-i
inherit
Test
.-bz-0
initial
Test
.-bz-u
unset
Test
.-bz-a
auto
Test
.-bz-cn
contain
Test
.-bz-cr
cover
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-attachment§

Sets how the background image is attached to the viewport.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ba-i
inherit
Test
.-ba-0
initial
Test
.-ba-u
unset
Test
.-ba-s
scrollinitial value
Test
.-ba-f
fixed
Test
.-ba-l
local
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

background-color§

Sets the background color.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-bc-i
inherit
Test
.-bc-0
initial
Test
.-bc-u
unset
Test
.-bc-t
transparentinitial value
Test
.-bc-c
currentColor
Test
.-bc-b
#000
Test
.-bc-w
#fff
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

border-width§

Sets the line width of an element’s border.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-rw-i
inherit
Test
.-rw-0
initial
Test
.-rw-u
unset
Test
.-rw-z
0
Test
.-rw-1
1px
Test
.-rw-2
2px
Test
.-rw-4
4px
Test
.-rw-8
8px
Test
.-rw-16
16px
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

border-style§

Sets the line style of an element’s border.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-rs-i
inherit
Test
.-rs-0
initial
Test
.-rs-u
unset
Test
.-rs-n
noneinitial value
Test
.-rs-h
hidden
Test
.-rs-s
solid
Test
.-rs-do
dotted
Test
.-rs-da
dashed
Test
.-rs-db
double
Test
.-rs-gv
groove
Test
.-rs-rg
ridge
Test
.-rs-is
inset
Test
.-rs-os
outset
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

border-color§

Sets the color of an element’s border.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-rc-i
inherit
Test
.-rc-0
initial
Test
.-rc-u
unset
Test
.-rc-t
transparent
Test
.-rc-c
currentColorinitial value
Test
.-rc-b
#000
Test
.-rc-w
#fff
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

border-radius§

Defines rounded corners on an element.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-rr-i
inherit
Test
.-rr-0
initial
Test
.-rr-u
unset
Test
.-rr-z
0initial value
Test
.-rr-q
0.25rem
Test
.-rr-h
0.5rem
Test
.-rr-1
1rem
Test
.-rr-2
2rem
Test
.-rr-1o2
50%
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

box-shadow§

Describes one or more shadow effects on the frame of an element.

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ks-i
inherit
Test
.-ks-0
initial
Test
.-ks-u
unset
Test
.-ks-n
noneinitial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

opacity§

Sets the transparency of an element.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-o-i
inherit
Test
.-o-0
initial
Test
.-o-u
unset
Test
.-o-z
0.0
Test
.-o-h
0.5
Test
.-o-1
1.0initial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

visibility§

Specifies whether an element is visible or hidden.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-v-i
inherit
Test
.-v-0
initial
Test
.-v-u
unset
Test
.-v-v
visibleinitial value
Test
.-v-h
hidden
Test
.-v-c
collapse
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

Text Cosmetics

color§

Sets the text color.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-c-i
inherit
Test
.-c-0
initial
Test
.-c-u
unset
Test
.-c-t
transparent
Test
.-c-c
currentColor
Test
.-c-b
#000
Test
.-c-w
#fff
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

text-decoration§

Sets a line decoration to text.

Stability 1:DeprecatedBreaking changes are planned for this feature, or it will be removed in future versions. It is no longer in development, and should not be relied upon.

.-td-i
inherit
Test
.-td-0
initial
Test
.-td-u
unset
Test
.-td-n
noneinitial value
Test
.-td-ul
underline
Test
.-td-ol
overline
Test
.-td-lt
line-through
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

text-decoration-line§

Sets a line decoration to text.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-tdl-i
inherit
Test
.-tdl-0
initial
Test
.-tdl-u
unset
Test
.-tdl-n
noneinitial value
Test
.-tdl-ul
underline
Test
.-tdl-ol
overline
Test
.-tdl-lt
line-through
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
-h
hover

text-decoration-style§

Sets the style of line decoration to text.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-tds-i
inherit
Test
.-tds-0
initial
Test
.-tds-u
unset
Test
.-tds-s
solidinitial value
Test
.-tds-do
dotted
Test
.-tds-da
dashed
Test
.-tds-db
double
Test
.-tds-wv
wavy
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-decoration-color§

Sets the color of line decoration to text.

Stability 2:ExperimentalThis feature is in development, but is unsupported or subject to change. It could be removed in future versions.

.-tdc-i
inherit
Test
.-tdc-0
initial
Test
.-tdc-u
unset
Test
.-tdc-t
transparent
Test
.-tdc-c
currentColorinitial value
Test
.-tdc-b
#000
Test
.-tdc-w
#fff
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

text-shadow§

Describes shadow effects on the text and text-decorations of an element.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-ts-i
inherit
Test
.-ts-0
initial
Test
.-ts-u
unset
Test
.-ts-n
noneinitial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

quotes§

Specifies how quotation marks should be rendered.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-q-i
inherit
Test
.-q-0
initial
Test
.-q-u
unset
Test
.-q-n
none
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

Miscellaneous

list-style-type§

Specifies the appearance of list item markers.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-lst-i
inherit
Test
.-lst-0
initial
Test
.-lst-u
unset
Test
.-lst-n
none
Test
.-lst-dc
decimal
Test
.-lst-dz
decimal-leading-zero
Test
.-lst-lr
lower-roman
Test
.-lst-ur
upper-roman
Test
.-lst-ladeprecated
lower-alpha
Test
.-lst-uadeprecated
upper-alpha
Test
.-lst-ll
lower-latin
Test
.-lst-ul
upper-latin
Test
.-lst-lg
lower-greek
Test
.-lst-d
discinitial value
Test
.-lst-c
circle
Test
.-lst-s
square
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

list-style-image§

Sets the image used as list item markers.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-lsi-i
inherit
Test
.-lsi-0
initial
Test
.-lsi-u
unset
Test
.-lsi-n
noneinitial value
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-

list-style-position§

Sets the position of list item markers.inherited

Stability 3:StableThis feature has been tested and proven satisfactory. It is in development, but no breaking changes will be made unless absolutely necessary.

.-lsp-i
inherit
Test
.-lsp-0
initial
Test
.-lsp-u
unset
Test
.-lsp-os
outsideinitial value
Test
.-lsp-is
inside
Test
-sK
small+
-sM
medium+
-sG
large+
-sT
xlarge+
-sP
xxlarge+
-nK
xsmall-
-nM
small-
-nG
medium-
-nT
large-
-nP
xlarge-
jump to top