CSS Property Lookup
Search 80+ CSS properties with syntax, initial values, and examples.
Presets:
Filter by Category
Total properties
81
Filtered matches
81
Inherited
17
Common values
391
Showing 81 properties
displayLayout
box-sizingLayout
widthLayout
heightLayout
min-widthLayout
max-widthLayout
overflowLayout
overflow-xLayout
overflow-yLayout
visibilityLayout
positionPosition
topPosition
rightPosition
bottomPosition
leftPosition
z-indexPosition
floatPosition
clearPosition
flexFlexbox
flex-directionFlexbox
flex-wrapFlexbox
justify-contentFlexbox
align-itemsFlexbox
align-selfFlexbox
align-contentFlexbox
flex-growFlexbox
flex-shrinkFlexbox
flex-basisFlexbox
orderFlexbox
gapFlexboxGrid
grid-template-columnsGrid
grid-template-rowsGrid
grid-columnGrid
grid-rowGrid
grid-areaGrid
font-familyTypography
font-sizeTypography
font-weightTypography
font-styleTypography
font-variantTypography
line-heightTypography
letter-spacingTypography
text-alignTypography
text-decorationTypography
text-transformTypography
text-overflowTypography
text-shadowTypography
white-spaceTypography
word-breakTypography
colorTypography
backgroundVisual
background-colorVisual
background-imageVisual
borderVisual
border-radiusVisual
box-shadowVisual
opacityVisual
outlineVisual
outline-offsetVisual
filterVisual
object-fitVisual
marginSpacing
margin-topSpacing
margin-rightSpacing
margin-bottomSpacing
margin-leftSpacing
paddingSpacing
padding-topSpacing
padding-rightSpacing
padding-bottomSpacing
padding-leftSpacing
transitionAnimation
animationAnimation
transformAnimation
will-changeAnimation
cursorOther
pointer-eventsOther
user-selectOther
contentOther
list-styleOther
scroll-behaviorOther
About CSS Property Lookup
A fast, searchable reference for the most commonly used CSS properties. Filter by category — Layout, Flexbox, Grid, Typography, Visual, Spacing, Position, Animation, and more — or type any keyword to instantly narrow the list. Expand any property to view its formal syntax, initial value, whether it is inherited by child elements, and a set of common values you can copy with one click. Press / to jump to the search box from anywhere on the page.
Built and maintained by Meet Shah · Last updated
What this tool is used for
- Looking up a property's syntax and initial value.
- Checking whether a property is inherited.
- Finding the common values for a property you use rarely.
- Confirming a property name's spelling before it fails silently in a stylesheet.
- Reading what a property does before using it.
Frequently Asked Questions
- What does the initial value column tell me?
- What the property is before any stylesheet touches it — not what your browser's default stylesheet sets. `display` has an initial value of `inline`, yet a `<div>` shows as block because the UA stylesheet says so.
- Why does it matter whether a property inherits?
- Inherited properties — colour, font, `visibility`, most typography — pass to descendants automatically, so setting them once on a container is enough. Non-inherited ones such as `border` or `padding` must be set on each element, or reset with `inherit`.
- How do I read the syntax column?
- It is the value grammar: `|` separates alternatives, angle brackets name a value type such as `<length>` or `<percentage>`, and a keyword stands for itself. It shows what the property will accept, not which browsers accept it.
- What is the difference between visibility: hidden and display: none?
- `visibility: hidden` keeps the element's box, so the layout does not shift and the space stays reserved. `display: none` removes it from the layout entirely. Both hide the element from screen readers.
- Why is box-sizing worth setting globally?
- Because `content-box` — the initial value — excludes padding and border from a declared width, so a 200px box with 20px padding occupies 240px. Setting `border-box` everywhere makes a declared width the total width, which is what most layout code assumes.
- Does this cover every CSS property?
- No — it covers the ones in daily use, grouped by area. For exhaustive coverage including browser support tables and edge-case grammar, the MDN reference and the specifications themselves remain the authority.
Common errors and gotchas
- Assuming a property is supported, since a reference lists syntax rather than browser support.
- Overlooking whether a property is inherited, which changes how a change propagates.
- Confusing a shorthand with its longhands, where the shorthand resets the ones you omit.
- Assuming the initial value is what you see, when a browser stylesheet may set something else.
- Using a property in a context where it has no effect, such as width on an inline element.
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.