CSS Property Lookup
Search 100 CSS properties by name, syntax, example or English and Traditional Chinese category. Inspect inheritance and initial values, then export filtered JSON.
css-property-lookupLOCAL WORKSPACE
Enabling local controls…
100 of 100 properties match, 17 inherited by default, with 401 example values.
MDN data 2.38.1 · CC0-1.0 · Static data date
display · Layout
- Formal syntax
[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>- Initial value
inline- Inherited by default
- No
- Common example values
grid·block·inline·inline-block·flex·inline-flex·none- Example declaration
display: grid;
box-sizing · Layout
- Formal syntax
content-box | border-box- Initial value
content-box- Inherited by default
- No
- Common example values
border-box·content-box- Example declaration
box-sizing: border-box;
width · Layout
- Formal syntax
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
100%·auto·0·min-content·max-content·32rem- Example declaration
width: 100%;
height · Layout
- Formal syntax
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
100dvh·auto·0·100%·100vh·32rem- Example declaration
height: 100dvh;
min-width · Layout
- Formal syntax
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
0·auto·100%·min-content·max-content- Example declaration
min-width: 0;
max-width · Layout
- Formal syntax
none | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
none- Inherited by default
- No
- Common example values
72rem·none·100%·min-content·max-content·48rem- Example declaration
max-width: 72rem;
min-height · Layout
- Formal syntax
auto | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
12rem·auto·0·100%- Example declaration
min-height: 12rem;
max-height · Layout
- Formal syntax
none | <length-percentage [0,∞]> | min-content | max-content | fit-content | fit-content(<length-percentage [0,∞]>) | <calc-size()> | <anchor-size()>- Initial value
none- Inherited by default
- No
- Common example values
80vh·none·100%·48rem- Example declaration
max-height: 80vh;
overflow · Layout
- Formal syntax
[ visible | hidden | clip | scroll | auto ]{1,2}- Initial value
visible- Inherited by default
- No
- Common example values
auto·visible·hidden·clip·scroll- Example declaration
overflow: auto;
overflow-x · Layout
- Formal syntax
visible | hidden | clip | scroll | auto- Initial value
visible- Inherited by default
- No
- Common example values
scroll·visible·hidden·clip·auto- Example declaration
overflow-x: scroll;
overflow-y · Layout
- Formal syntax
visible | hidden | clip | scroll | auto- Initial value
visible- Inherited by default
- No
- Common example values
hidden·visible·clip·scroll·auto- Example declaration
overflow-y: hidden;
visibility · Layout
- Formal syntax
visible | hidden | collapse- Initial value
visible- Inherited by default
- Yes
- Common example values
hidden·visible·collapse- Example declaration
visibility: hidden;
aspect-ratio · Layout
- Formal syntax
auto || <ratio>- Initial value
auto- Inherited by default
- No
- Common example values
16 / 9·auto·1 / 1·4 / 3- Example declaration
aspect-ratio: 16 / 9;
flex · Flexbox
- Formal syntax
none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]- Initial value
flex-grow: 0flex-shrink: 1flex-basis: auto
- Inherited by default
- No
- Common example values
1 1 auto·none·auto·1·0 0 12rem- Example declaration
flex: 1 1 auto;
flex-direction · Flexbox
- Formal syntax
row | row-reverse | column | column-reverse- Initial value
row- Inherited by default
- No
- Common example values
column·row·row-reverse·column-reverse- Example declaration
flex-direction: column;
flex-wrap · Flexbox
- Formal syntax
nowrap | [ wrap | wrap-reverse ] || balance- Initial value
nowrap- Inherited by default
- No
- Common example values
wrap·nowrap·wrap-reverse- Example declaration
flex-wrap: wrap;
justify-content · Flexbox
- Formal syntax
normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]- Initial value
normal- Inherited by default
- No
- Common example values
space-between·start·end·center·space-around·space-evenly- Example declaration
justify-content: space-between;
align-items · Flexbox
- Formal syntax
normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center- Initial value
normal- Inherited by default
- No
- Common example values
center·stretch·start·end·baseline- Example declaration
align-items: center;
align-self · Flexbox
- Formal syntax
auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center- Initial value
auto- Inherited by default
- No
- Common example values
stretch·auto·start·end·center- Example declaration
align-self: stretch;
align-content · Flexbox
- Formal syntax
normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>- Initial value
normal- Inherited by default
- No
- Common example values
start·normal·stretch·center·space-between- Example declaration
align-content: start;
flex-grow · Flexbox
- Formal syntax
<number>- Initial value
0- Inherited by default
- No
- Common example values
1·0·2- Example declaration
flex-grow: 1;
flex-shrink · Flexbox
- Formal syntax
<number>- Initial value
1- Inherited by default
- No
- Common example values
0·1·2- Example declaration
flex-shrink: 0;
flex-basis · Flexbox
- Formal syntax
content | <'width'>- Initial value
auto- Inherited by default
- No
- Common example values
12rem·auto·content·0·50%- Example declaration
flex-basis: 12rem;
order · Flexbox
- Formal syntax
<integer>- Initial value
0- Inherited by default
- No
- Common example values
2·0·1·-1- Example declaration
order: 2;
grid-template-columns · Grid
- Formal syntax
none | <track-list> | <auto-track-list> | subgrid <line-name-list>?- Initial value
none- Inherited by default
- No
- Common example values
repeat(3, minmax(0, 1fr))·none·subgrid·1fr 2fr- Example declaration
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows · Grid
- Formal syntax
none | <track-list> | <auto-track-list> | subgrid <line-name-list>?- Initial value
none- Inherited by default
- No
- Common example values
auto 1fr·none·subgrid·repeat(2, minmax(0, 1fr))- Example declaration
grid-template-rows: auto 1fr;
grid-template-areas · Grid
- Formal syntax
none | <string>+- Initial value
none- Inherited by default
- No
- Common example values
"header header" "main aside"·none- Example declaration
grid-template-areas: "header header" "main aside";
grid-column · Grid
- Formal syntax
<grid-line> [ / <grid-line> ]?- Initial value
grid-column-start: autogrid-column-end: auto
- Inherited by default
- No
- Common example values
1 / -1·auto·2 / span 3- Example declaration
grid-column: 1 / -1;
grid-row · Grid
- Formal syntax
<grid-line> [ / <grid-line> ]?- Initial value
grid-row-start: autogrid-row-end: auto
- Inherited by default
- No
- Common example values
2 / span 2·auto·1 / -1- Example declaration
grid-row: 2 / span 2;
grid-area · Grid
- Formal syntax
<grid-line> [ / <grid-line> ]{0,3}- Initial value
grid-row-start: autogrid-column-start: autogrid-row-end: autogrid-column-end: auto
- Inherited by default
- No
- Common example values
main·auto·1 / 1 / 3 / 2- Example declaration
grid-area: main;
grid-auto-flow · Grid
- Formal syntax
[ row | column ] || dense- Initial value
row- Inherited by default
- No
- Common example values
row dense·row·column·dense- Example declaration
grid-auto-flow: row dense;
grid-auto-columns · Grid
- Formal syntax
<track-size>+- Initial value
auto- Inherited by default
- No
- Common example values
minmax(12rem, 1fr)·auto·1fr- Example declaration
grid-auto-columns: minmax(12rem, 1fr);
grid-auto-rows · Grid
- Formal syntax
<track-size>+- Initial value
auto- Inherited by default
- No
- Common example values
minmax(8rem, auto)·auto·1fr- Example declaration
grid-auto-rows: minmax(8rem, auto);
justify-items · Grid
- Formal syntax
normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center- Initial value
legacy- Inherited by default
- No
- Common example values
center·normal·stretch·start·end- Example declaration
justify-items: center;
justify-self · Grid
- Formal syntax
auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center- Initial value
auto- Inherited by default
- No
- Common example values
end·auto·stretch·start·center- Example declaration
justify-self: end;
font-family · Typography
- Formal syntax
[ <family-name> | <generic-family> ]#- Initial value
Depends on the user agent- Inherited by default
- Yes
- Common example values
system-ui, sans-serif·serif·sans-serif·monospace- Example declaration
font-family: system-ui, sans-serif;
font-size · Typography
- Formal syntax
<absolute-size> | <relative-size> | <length-percentage [0,∞]> | math- Initial value
medium- Inherited by default
- Yes
- Common example values
1.125rem·medium·small·larger·100%- Example declaration
font-size: 1.125rem;
font-weight · Typography
- Formal syntax
<font-weight-absolute> | bolder | lighter- Initial value
normal- Inherited by default
- Yes
- Common example values
600·normal·bold·400·700- Example declaration
font-weight: 600;
font-style · Typography
- Formal syntax
normal | italic | oblique <angle>?- Initial value
normal- Inherited by default
- Yes
- Common example values
italic·normal·oblique- Example declaration
font-style: italic;
font-variant · Typography
- Formal syntax
normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]- Initial value
normal- Inherited by default
- Yes
- Common example values
small-caps·normal·none- Example declaration
font-variant: small-caps;
line-height · Typography
- Formal syntax
normal | <number> | <length> | <percentage>- Initial value
normal- Inherited by default
- Yes
- Common example values
1.5·normal·1·150%·24px- Example declaration
line-height: 1.5;
letter-spacing · Typography
- Formal syntax
normal | <length>- Initial value
normal- Inherited by default
- Yes
- Common example values
0.025em·normal·0·-0.02em- Example declaration
letter-spacing: 0.025em;
text-align · Typography
- Formal syntax
start | end | left | right | center | justify | match-parent- Initial value
start (or a direction-dependent equivalent)- Inherited by default
- Yes
- Common example values
start·end·left·right·center·justify- Example declaration
text-align: start;
text-decoration · Typography
- Formal syntax
<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>- Initial value
text-decoration-color: currentcolortext-decoration-style: solidtext-decoration-line: none
- Inherited by default
- No
- Common example values
underline·none·line-through·underline dotted- Example declaration
text-decoration: underline;
text-transform · Typography
- Formal syntax
none | [ capitalize | uppercase | lowercase ] || full-width || full-size-kana | math-auto- Initial value
none- Inherited by default
- Yes
- Common example values
uppercase·none·lowercase·capitalize- Example declaration
text-transform: uppercase;
text-overflow · Typography
- Formal syntax
[ clip | ellipsis | <string> ]{1,2}- Initial value
clip- Inherited by default
- No
- Common example values
ellipsis·clip- Example declaration
text-overflow: ellipsis;
text-shadow · Typography
- Formal syntax
none | <shadow-t>#- Initial value
none- Inherited by default
- Yes
- Common example values
0 1px 2px black·none- Example declaration
text-shadow: 0 1px 2px black;
white-space · Typography
- Formal syntax
normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'>- Initial value
normal- Inherited by default
- Yes
- Common example values
pre-wrap·normal·nowrap·pre·pre-line·break-spaces- Example declaration
white-space: pre-wrap;
word-break · Typography
- Formal syntax
normal | break-all | keep-all | break-word | auto-phrase- Initial value
normal- Inherited by default
- Yes
- Common example values
break-all·normal·keep-all- Example declaration
word-break: break-all;
overflow-wrap · Typography
- Formal syntax
normal | break-word | anywhere- Initial value
normal- Inherited by default
- Yes
- Common example values
anywhere·normal·break-word- Example declaration
overflow-wrap: anywhere;
color · Typography
- Formal syntax
<color>- Initial value
canvastext- Inherited by default
- Yes
- Common example values
rebeccapurple·currentColor·transparent·#243044- Example declaration
color: rebeccapurple;
background · Visual
- Formal syntax
<bg-layer>#? , <final-bg-layer>- Initial value
background-image: nonebackground-position: 0% 0%background-size: auto autobackground-repeat: repeatbackground-origin: padding-boxbackground-clip: border-boxbackground-attachment: scrollbackground-color: transparent
- Inherited by default
- No
- Common example values
linear-gradient(90deg, white, skyblue)·none·#fff- Example declaration
background: linear-gradient(90deg, white, skyblue);
background-color · Visual
- Formal syntax
<color>- Initial value
transparent- Inherited by default
- No
- Common example values
#fff·transparent·currentColor·rgb(0 0 0 / 20%)- Example declaration
background-color: #fff;
background-image · Visual
- Formal syntax
<bg-image>#- Initial value
none- Inherited by default
- No
- Common example values
linear-gradient(180deg, white, black)·none·radial-gradient(circle, white, black)- Example declaration
background-image: linear-gradient(180deg, white, black);
border · Visual
- Formal syntax
<line-width> || <line-style> || <color>- Initial value
border-width: border-top-width, border-right-width, border-bottom-width, border-left-widthborder-style: border-top-style, border-right-style, border-bottom-style, border-left-styleborder-color: border-top-color, border-right-color, border-bottom-color, border-left-color
- Inherited by default
- No
- Common example values
1px solid currentColor·none·0·2px dashed steelblue- Example declaration
border: 1px solid currentColor;
border-radius · Visual
- Formal syntax
<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?- Initial value
border-top-left-radius: 0border-top-right-radius: 0border-bottom-right-radius: 0border-bottom-left-radius: 0
- Inherited by default
- No
- Common example values
0.75rem·0·50%·1rem / 2rem- Example declaration
border-radius: 0.75rem;
box-shadow · Visual
- Formal syntax
none | <shadow>#- Initial value
none- Inherited by default
- No
- Common example values
0 4px 12px rgb(0 0 0 / 20%)·none·inset 0 0 2px black- Example declaration
box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
opacity · Visual
- Formal syntax
<opacity-value>- Initial value
1- Inherited by default
- No
- Common example values
0.75·0·0.5·1- Example declaration
opacity: 0.75;
outline · Visual
- Formal syntax
<'outline-width'> || <'outline-style'> || <'outline-color'>- Initial value
outline-width: mediumoutline-style: noneoutline-color: auto
- Inherited by default
- No
- Common example values
2px solid currentColor·none·1px dashed black- Example declaration
outline: 2px solid currentColor;
outline-offset · Visual
- Formal syntax
<length>- Initial value
0- Inherited by default
- No
- Common example values
4px·0·-2px- Example declaration
outline-offset: 4px;
filter · Visual
- Formal syntax
none | <filter-value-list>- Initial value
none- Inherited by default
- No
- Common example values
grayscale(50%)·none·blur(2px)·brightness(0.8)- Example declaration
filter: grayscale(50%);
object-fit · Visual
- Formal syntax
fill | contain | cover | none | scale-down- Initial value
fill- Inherited by default
- No
- Common example values
cover·fill·contain·none·scale-down- Example declaration
object-fit: cover;
object-position · Visual
- Formal syntax
<position>- Initial value
50% 50%- Inherited by default
- No
- Common example values
center top·center·50% 50%·right bottom- Example declaration
object-position: center top;
margin · Spacing
- Formal syntax
<'margin-top'>{1,4}- Initial value
margin-bottom: 0margin-left: 0margin-right: 0margin-top: 0
- Inherited by default
- No
- Common example values
0 auto·0·1rem·5%·auto- Example declaration
margin: 0 auto;
margin-top · Spacing
- Formal syntax
<length-percentage> | auto | <anchor-size()>- Initial value
0- Inherited by default
- No
- Common example values
1rem·0·5%·auto- Example declaration
margin-top: 1rem;
margin-right · Spacing
- Formal syntax
<length-percentage> | auto | <anchor-size()>- Initial value
0- Inherited by default
- No
- Common example values
auto·0·1rem·5%- Example declaration
margin-right: auto;
margin-bottom · Spacing
- Formal syntax
<length-percentage> | auto | <anchor-size()>- Initial value
0- Inherited by default
- No
- Common example values
2rem·0·1rem·5%·auto- Example declaration
margin-bottom: 2rem;
margin-left · Spacing
- Formal syntax
<length-percentage> | auto | <anchor-size()>- Initial value
0- Inherited by default
- No
- Common example values
auto·0·1rem·5%- Example declaration
margin-left: auto;
padding · Spacing
- Formal syntax
<'padding-top'>{1,4}- Initial value
padding-bottom: 0padding-left: 0padding-right: 0padding-top: 0
- Inherited by default
- No
- Common example values
1rem 2rem·0·1rem·5%- Example declaration
padding: 1rem 2rem;
padding-top · Spacing
- Formal syntax
<length-percentage [0,∞]>- Initial value
0- Inherited by default
- No
- Common example values
1rem·0·5%- Example declaration
padding-top: 1rem;
padding-right · Spacing
- Formal syntax
<length-percentage [0,∞]>- Initial value
0- Inherited by default
- No
- Common example values
2rem·0·1rem·5%- Example declaration
padding-right: 2rem;
padding-bottom · Spacing
- Formal syntax
<length-percentage [0,∞]>- Initial value
0- Inherited by default
- No
- Common example values
1rem·0·5%- Example declaration
padding-bottom: 1rem;
padding-left · Spacing
- Formal syntax
<length-percentage [0,∞]>- Initial value
0- Inherited by default
- No
- Common example values
2rem·0·1rem·5%- Example declaration
padding-left: 2rem;
gap · Spacing
- Formal syntax
<'row-gap'> <'column-gap'>?- Initial value
row-gap: normalcolumn-gap: normal
- Inherited by default
- No
- Common example values
1rem 2rem·0·1rem·5%- Example declaration
gap: 1rem 2rem;
row-gap · Spacing
- Formal syntax
normal | <length-percentage>- Initial value
normal- Inherited by default
- No
- Common example values
1rem·0·5%- Example declaration
row-gap: 1rem;
column-gap · Spacing
- Formal syntax
normal | <length-percentage>- Initial value
normal- Inherited by default
- No
- Common example values
2rem·0·1rem·5%- Example declaration
column-gap: 2rem;
position · Position
- Formal syntax
static | relative | absolute | sticky | fixed- Initial value
static- Inherited by default
- No
- Common example values
sticky·static·relative·absolute·fixed- Example declaration
position: sticky;
top · Position
- Formal syntax
auto | <length-percentage> | <anchor()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
0·auto·50%·1rem- Example declaration
top: 0;
right · Position
- Formal syntax
auto | <length-percentage> | <anchor()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
0·auto·50%·1rem- Example declaration
right: 0;
bottom · Position
- Formal syntax
auto | <length-percentage> | <anchor()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
1rem·auto·0·50%- Example declaration
bottom: 1rem;
left · Position
- Formal syntax
auto | <length-percentage> | <anchor()> | <anchor-size()>- Initial value
auto- Inherited by default
- No
- Common example values
0·auto·50%·1rem- Example declaration
left: 0;
inset · Position
- Formal syntax
<'top'>{1,4}- Initial value
top: autobottom: autoleft: autoright: auto
- Inherited by default
- No
- Common example values
0·auto·1rem 2rem- Example declaration
inset: 0;
z-index · Position
- Formal syntax
auto | <integer>- Initial value
auto- Inherited by default
- No
- Common example values
10·auto·0·-1- Example declaration
z-index: 10;
float · Position
- Formal syntax
left | right | none | inline-start | inline-end- Initial value
none- Inherited by default
- No
- Common example values
inline-start·none·left·right·inline-end- Example declaration
float: inline-start;
clear · Position
- Formal syntax
none | left | right | both | inline-start | inline-end- Initial value
none- Inherited by default
- No
- Common example values
both·none·left·right·inline-start·inline-end- Example declaration
clear: both;
transition · Animation
- Formal syntax
<single-transition>#- Initial value
transition-delay: 0stransition-duration: 0stransition-property: alltransition-timing-function: easetransition-behavior: normal
- Inherited by default
- No
- Common example values
opacity 200ms ease-out·none·transform 1s linear- Example declaration
transition: opacity 200ms ease-out;
animation · Animation
- Formal syntax
<single-animation>#- Initial value
animation-name: noneanimation-duration: 0sanimation-timing-function: easeanimation-delay: 0sanimation-iteration-count: 1animation-direction: normalanimation-fill-mode: noneanimation-play-state: runninganimation-timeline: auto
- Inherited by default
- No
- Common example values
fade-in 300ms ease-out both·none·pulse 1s infinite- Example declaration
animation: fade-in 300ms ease-out both;
transform · Animation
- Formal syntax
none | <transform-list>- Initial value
none- Inherited by default
- No
- Common example values
translateX(1rem) scale(1.05)·none·translateX(1rem)·scale(1.05)·rotate(45deg)- Example declaration
transform: translateX(1rem) scale(1.05);
transform-origin · Animation
- Formal syntax
[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?- Initial value
50% 50% 0- Inherited by default
- No
- Common example values
center top·center·left bottom·50% 50%- Example declaration
transform-origin: center top;
will-change · Animation
- Formal syntax
auto | <animateable-feature>#- Initial value
auto- Inherited by default
- No
- Common example values
transform·auto·opacity- Example declaration
will-change: transform;
animation-duration · Animation
- Formal syntax
[ auto | <time [0s,∞]> ]#- Initial value
0s- Inherited by default
- No
- Common example values
300ms·0s·1s- Example declaration
animation-duration: 300ms;
animation-timing-function · Animation
- Formal syntax
<easing-function>#- Initial value
ease- Inherited by default
- No
- Common example values
ease-out·ease·linear·ease-in·ease-in-out- Example declaration
animation-timing-function: ease-out;
transition-property · Animation
- Formal syntax
none | <single-transition-property>#- Initial value
all- Inherited by default
- No
- Common example values
opacity·none·all·transform- Example declaration
transition-property: opacity;
transition-duration · Animation
- Formal syntax
<time>#- Initial value
0s- Inherited by default
- No
- Common example values
200ms·0s·1s- Example declaration
transition-duration: 200ms;
appearance · Other
- Formal syntax
none | auto | <compat-auto> | <compat-special>- Initial value
none- Inherited by default
- No
- Common example values
none·auto- Example declaration
appearance: none;
cursor · Other
- Formal syntax
[ [ <url> [ <x> <y> ]? , ]* <cursor-predefined> ]- Initial value
auto- Inherited by default
- Yes
- Common example values
pointer·auto·default·text·grab·not-allowed- Example declaration
cursor: pointer;
pointer-events · Other
- Formal syntax
auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit- Initial value
auto- Inherited by default
- Yes
- Common example values
none·auto- Example declaration
pointer-events: none;
resize · Other
- Formal syntax
none | both | horizontal | vertical | block | inline- Initial value
none- Inherited by default
- No
- Common example values
vertical·none·both·horizontal- Example declaration
resize: vertical;
user-select · Other
- Formal syntax
auto | text | none | all- Initial value
auto- Inherited by default
- No
- Common example values
none·auto·text·all- Example declaration
user-select: none;
content · Other
- Formal syntax
normal | none | [ <content-replacement> | <content-list> ] [ / [ <string> | <counter> | <attr()> ]+ ]?- Initial value
normal- Inherited by default
- No
- Common example values
"Example"·normal·none·open-quote- Example declaration
content: "Example";
Export filtered results (JSON)
How to use this tool
Search or pick a category, then open a property for its syntax, initial values and example. Press / outside an input to focus search.
When not to use it
This dated snapshot covers selected standard properties. Check the linked documentation for supported browsers, shorthand behavior and context-dependent values.