The list of supported CSS properties is growing quite large, and it's very easy to miss a typo.

This rule checks each property name to make sure that it is a known CSS property. All vendor-prefixed properties are ignored because vendors may add in their own properties at any point in time.

Noncompliant Code Example

a {
  clr: red; /* Noncompliant: 'clr' isn't a known property */
}

Compliant Solution

.mybox {
  color: rgb(255,0,51); /* Compliant: 'color' is a known property */
  -moz-background-color: 10px; /* Compliant: '-moz-background-color' is a vendor property */
}

List of Known Properties

accelerator additive-symbols align-content  #2
align-items  #2 align-self  #2 alignment-adjust
alignment-baseline  #2 all animation
animation-delay animation-direction animation-duration
animation-fill-mode animation-iteration-count animation-name
animation-play-state animation-timing-function any-hover
any-pointer appearance aspect-ratio
azimuth  #2  #3 backface-visibility background  #2
background-attachment  #2 background-blend-mode background-clip
background-color  #2 background-image  #2 background-image-transform
background-origin background-position  #2 background-position-x
background-position-y background-repeat  #2 background-size
baseline-shift behavior binding
bleed block-progression block-size
bookmark-label bookmark-level bookmark-state
border  #2 border-block-end border-block-end-color
border-block-end-style border-block-end-width border-block-start
border-block-start-color border-block-start-style border-block-start-width
border-bottom  #2 border-bottom-color  #2 border-bottom-left-radius
border-bottom-right-radius border-bottom-style  #2 border-bottom-width  #2
border-boundary border-collapse border-color  #2
border-end border-end-color border-end-style
border-end-width border-image border-image-outset
border-image-repeat border-image-slice border-image-source
border-image-width border-inline-end border-inline-end-color
border-inline-end-style border-inline-end-width border-inline-start
border-inline-start-color border-inline-start-style border-inline-start-width
border-left  #2 border-left-color  #2 border-left-style  #2
border-left-width  #2 border-radius border-right  #2
border-right-color  #2 border-right-style  #2 border-right-width  #2
border-spacing border-start border-start-color
border-start-style border-start-width border-style  #2
border-top  #2 border-top-color  #2 border-top-left-radius
border-top-right-radius border-top-style  #2 border-top-width  #2
border-width  #2 bottom  #2 box-align
box-decoration-break box-direction box-flex
box-flex-group box-lines box-ordinal-group
box-orient box-pack box-shadow
box-sizing box-snap box-suppress
break-after  #2 break-before  #2 break-inside  #2
caption-side  #2 caret caret-color
caret-shape clear  #2 clip  #2
clip-path  #2 clip-rule  #2 color  #2  #3
color-gamut color-index color-interpolation
color-interpolation-filters  #2 color-profile color-rendering
column-count  #2 column-fill  #2 column-gap  #2
column-rule  #2 column-rule-color  #2 column-rule-style  #2
column-rule-width  #2 column-span  #2 column-width  #2  #3
columns  #2 content  #2  #3 content-zoom-chaining
content-zoom-limit content-zoom-limit-max content-zoom-limit-min
content-zoom-snap content-zoom-snap-points content-zoom-snap-type
content-zooming counter-increment  #2 counter-reset  #2
counter-set cue cue-after
cue-before cursor  #2 device-aspect-ratio
device-height device-pixel-ratio  #2 device-width
direction  #2 display  #2  #3  #4  #5  #6 dominant-baseline
drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust
drop-initial-before-align drop-initial-size drop-initial-value
elevation  #2 empty-cells enable-background
fallback fill fill-opacity
fill-rule filter fit
fit-position flex flex-basis
flex-direction flex-flow flex-grow
flex-shrink flex-wrap float  #2  #3
float-defer float-offset float-reference
flood-color  #2 flood-opacity  #2 flow-from
flow-into font  #2 font-family  #2
font-feature-settings font-kerning font-language-override
font-size  #2 font-size-adjust font-stretch
font-style  #2 font-synthesis font-variant  #2
font-variant-alternates font-variant-caps font-variant-east-asian
font-variant-ligatures font-variant-numeric font-variant-position
font-weight  #2 footnote-display footnote-policy
glyph-orientation-horizontal  #2 glyph-orientation-vertical  #2  #3 grid  #2
grid-area grid-auto-columns grid-auto-flow
grid-auto-rows grid-cell-stacking grid-column
grid-column-align grid-column-end grid-column-gap
grid-column-sizing grid-column-span grid-column-start
grid-columns grid-flow grid-gap
grid-layer grid-row grid-row-align
grid-row-end grid-row-gap grid-row-sizing
grid-row-span grid-row-start grid-rows
grid-template grid-template-areas grid-template-columns
grid-template-rows hanging-punctuation height  #2  #3  #4
high-contrast high-contrast-adjust hover
hyphenate-after hyphenate-before hyphenate-character
hyphenate-limit-chars  #2 hyphenate-limit-last hyphenate-limit-lines  #2
hyphenate-limit-zone  #2 hyphenate-lines hyphenate-resource
hyphens  #2 image-orientation image-rendering
image-resolution ime-mode  #2 initial-letter
initial-letter-align initial-letter-wrap inline-box-align
inline-size isolation justify-content  #2
justify-items justify-self kerning
layout-flow layout-grid layout-grid-char
layout-grid-line layout-grid-mode layout-grid-type
left  #2 letter-spacing  #2 lighting-color  #2
line-break line-grid line-height
line-snap line-stacking line-stacking-ruby
line-stacking-shift line-stacking-strategy list-style  #2
list-style-image  #2 list-style-position  #2 list-style-type  #2
margin margin-block-end margin-block-start
margin-bottom margin-end margin-inline-end
margin-inline-start margin-left margin-right
margin-start margin-top marker
marker-end marker-mid marker-side
marker-start marks marquee
marquee-dir marquee-direction marquee-increment
marquee-loop marquee-play-count marquee-repetition
marquee-speed marquee-style mask
mask-border mask-border-mode mask-border-outset
mask-border-repeat mask-border-slice mask-border-source
mask-border-width mask-clip mask-composite
mask-image mask-mode mask-origin
mask-position mask-repeat mask-size
mask-type max-block-size max-device-pixel-ratio  #2
max-height  #2  #3 max-inline-size max-lines
max-width  #2  #3 max-zoom min-block-size
min-device-pixel-ratio  #2 min-height  #2  #3  #4 min-inline-size
min-width  #2  #3  #4 min-zoom mix-blend-mode
monochrome motion motion-offset
motion-path motion-rotation move-to
nav-down nav-index nav-left
nav-right nav-up negative
object-fit  #2 object-position  #2 offset-after
offset-anchor offset-before offset-block-end
offset-block-start offset-distance offset-end
offset-inline-end offset-inline-start offset-origin
offset-path offset-rotation offset-start
opacity order orientation  #2
orphans  #2 outline  #2 outline-color  #2
outline-offset outline-style  #2 outline-width  #2
overflow  #2  #3 overflow-block overflow-inline
overflow-style overflow-wrap overflow-x  #2
overflow-y  #2 pad padding
padding-block-end padding-block-start padding-bottom
padding-end padding-inline-end padding-inline-start
padding-left padding-right padding-start
padding-top page page-break-after
page-break-before page-break-inside page-policy
pause pause-after pause-before
perspective perspective-origin phonemes
pitch pitch-range place-content
place-items place-self play-during
pointer pointer-events  #2 position  #2  #3  #4
prefix presentation-level progress-appearance
punctuation-trim quotes  #2 range
region-fragment resize resolution
rest rest-after rest-before
richness right  #2 rotation
rotation-point ruby-align ruby-merge
ruby-overhang ruby-position ruby-span
scan scollbar-arrow-color scollbar-base-color
scollbar-dark-shadow-color scollbar3dlight-color scripting
scroll-behavior scroll-chaining scroll-limit
scroll-limit-x-max scroll-limit-x-min scroll-limit-y-max
scroll-limit-y-min scroll-rails scroll-snap-align
scroll-snap-margin scroll-snap-margin-block scroll-snap-margin-block-end
scroll-snap-margin-block-start scroll-snap-margin-bottom scroll-snap-margin-inline
scroll-snap-margin-inline-end scroll-snap-margin-inline-start scroll-snap-margin-left
scroll-snap-margin-right scroll-snap-margin-top scroll-snap-padding
scroll-snap-padding-block scroll-snap-padding-block-end scroll-snap-padding-block-start
scroll-snap-padding-bottom scroll-snap-padding-inline scroll-snap-padding-inline-end
scroll-snap-padding-inline-start scroll-snap-padding-left scroll-snap-padding-right
scroll-snap-padding-top scroll-snap-points-x scroll-snap-points-y
scroll-snap-stop scroll-snap-type scroll-snap-x
scroll-snap-y scroll-translation scrollbar-3dlight-color
scrollbar-darkshadow-color scrollbar-face-color scrollbar-highlight-color
scrollbar-shadow-color scrollbar-track-color shape
shape-image-threshold shape-inside shape-margin
shape-outside shape-rendering size
speak speak-as  #2 speak-header
speak-numeral speak-punctuation speech-rate
src stop-color stop-opacity
stress string-set  #2 stroke
stroke-dasharray stroke-dashoffset stroke-linecap
stroke-linejoin stroke-miterlimit stroke-opacity
stroke-width suffix symbols
system tab-size table-layout
target target-name target-new
target-position text-align  #2 text-align-all
text-align-last text-anchor text-auto-space
text-combine-horizontal text-combine-upright text-decoration  #2
text-decoration-color text-decoration-line text-decoration-skip
text-decoration-style text-emphasis text-emphasis-color
text-emphasis-position text-emphasis-style text-height
text-indent  #2 text-justify text-kashida-space  #2
text-orientation text-outline text-overflow
text-rendering text-shadow text-size-adjust
text-space-collapse text-space-trim text-spacing
text-stroke text-transform  #2 text-underline-position
text-wrap top  #2 touch-action
transform transform-box transform-origin
transform-style transition transition-delay
transition-duration transition-property transition-timing-function
unicode-bidi  #2 unicode-range update
user-modify user-select  #2 user-zoom
vertical-align  #2 view-state viewport-fit
visibility voice-balance voice-duration
voice-family voice-pitch voice-range
voice-rate voice-stress voice-volume
volume  #2 white-space  #2  #3 white-space-collapse
widows  #2 width  #2  #3  #4 will-change
word-break word-spacing  #2 word-wrap
wrap-after wrap-before wrap-flow
wrap-inside wrap-margin wrap-through
writing-mode z-index  #2 zoom

stylelint Related Rules