HTML – CSS selector and properties support

CSS Selectors

Selector Is Supported
.class Yes
#id Yes
* Yes
element Yes
element,element Yes
element element Yes
element>element Yes
element+element Yes
[attribute] Yes
[attribute=value] Yes
[attribute~=value] Yes
 [attribute|=value] Yes
:link Yes
:visited
:active Yes
:hover Yes
:focus
:first-letter
:first-line
:first-child Yes
:before Yes
:after Yes
:lang(language)
element1~element2  Yes
[attribute^=value] Yes
[attribute$=value] Yes
[attribute*=value] Yes
:first-of-type Yes
:last-of-type Yes
:only-of-type Yes
:only-child Yes
:nth-child(n) Yes
:nth-last-child(n) Yes
:nth-of-type(n) Yes
:nth-last-of-type(n) Yes
:last-child Yes
:root
:empty
:target
:enabled
:disabled
:checked
:not(selector) Yes
::selection

CSS Properties

Property Is Supported Remarks
@keyframes
animation
animation-delay
animation-direction
animation-duration
animation-fill-mode
animation-iteration-count
animation-name
animation-timing-function
animation-play-state
appearance
backface-visibility
background Yes
background-attachment Yes
background-color Yes
background-image Yes
background-position Yes
background-repeat Yes
background-clip Yes
background-origin Yes
background-size Yes
border Yes
border-bottom Yes
border-bottom-color Yes
border-bottom-style Yes
border-bottom-width Yes
border-collapse Yes
border-color Yes
border-left Yes
border-left-color Yes
border-left-style Yes
border-left-width Yes
border-right Yes
border-right-color Yes
border-right-style Yes
border-right-width Yes
border-spacing Yes
border-style Yes
border-top Yes
border-top-color Yes
border-top-style Yes
border-top-width Yes
border-width Yes
border-bottom-left-radius
border-bottom-right-radius
border-image
border-image-outset
border-image-repeat
border-image-slice
border-image-source
border-image-width
border-radius
border-top-left-radius
border-top-right-radius
bottom Yes
box-align
box-direction
box-flex
box-flex-group
box-lines
box-ordinal-group
box-orient
box-pack
box-sizing Yes
box-shadow
caption-side
clear Yes
clip
color Yes
column-count
column-fill
column-gap
column-rule
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
content Yes  Supports only strings, attr, url, none, normal values
counter-increment
counter-reset
cursor Yes
direction
display Yes
empty-cells
float Yes
font Yes
font-family Yes
font-size Yes
font-style Yes
font-variant Yes
font-weight Yes
@font-face
font-size-adjust Yes
font-stretch
grid-columns
grid-rows
hanging-punctuation
height Yes
icon
left Yes
letter-spacing
line-height Yes
list-style Yes
list-style-image Yes
list-style-position Yes
list-style-type Yes
margin Yes
margin-bottom Yes
margin-left Yes
margin-right Yes
margin-top Yes
max-height Yes
max-width Yes
min-height Yes
min-width Yes
nav-down
nav-index
nav-left
nav-right
nav-up
opacity
outline
outline-color
outline-offset
outline-style
outline-width
overflow
overflow-x
overflow-y
padding Yes
padding-bottom Yes
padding-left Yes
padding-right Yes
padding-top Yes
page-break-after
page-break-before
page-break-inside
perspective
perspective-origin
position  Yes
punctuation-trim
quotes
resize
right  Yes
rotation
rotation-point
table-layout
target
target-name
target-new
target-position
text-align Yes
text-decoration Yes
text-indent Yes
text-justify
text-outline Yes
text-overflow
text-shadow
text-transform Yes
text-wrap
top Yes
transform
transform-origin
transform-style
transition
transition-property
transition-duration
transition-timing-function
transition-delay
unicode-bidi
vertical-align Yes
visibility Yes
width Yes
white-space Yes
word-spacing
word-break
word-wrap
z-index Yes