CSS Property Validator
DataValidate CSS property names against the official W3C/MDN list. Identifies property category and browser support tier. Free, in-browser, no data stored.
Reviewed by the thecalcu.com team ยท Last updated July 1, 2026
What is a CSS Property?
A CSS Property Validator checks whether a CSS property name is a recognised, standard property defined in W3C CSS specifications. When you type background-color, display, or grid-template-columns, the tool confirms that name exists in the authoritative property list, identifies its functional category (Layout, Typography, Flexbox, and so on), and notes whether it is a vendor-prefixed or custom property.
This tool solves a specific everyday problem: CSS property names are long, hyphenated, and easy to misspell. A typo like backgroun-color or dispaly produces no browser error, the declaration is silently ignored. Browsers do not raise exceptions for unknown property names; they simply skip the rule. That silent failure makes name errors harder to catch than syntax errors in most other languages.
The validator covers three distinct cases:
- Standard properties, checked against the W3C/MDN property list and assigned a functional category
- Vendor-prefixed properties, names starting with
-webkit-,-moz-,-ms-, or-o-are detected and noted separately; use the unprefixed standard form where possible - Custom properties, names starting with
--(such as--brand-blue) are valid by CSS specification and are recognised as custom properties; no further name checking applies
Validation runs entirely in your browser. No input is transmitted to any server. For related checks, see the HTML Validator and the URL Validator.
Why Use a CSS Property Validator?
Browsers are designed to be fault-tolerant. An unknown CSS property is silently dropped, no console warning, no visible error, no indication that the rule was ignored. A developer who misspells transition as transistion will not know about it until they notice the animation is absent and start debugging. That debugging cycle is the cost this tool eliminates.
Specific scenarios where this check saves time:
- Confirming the exact spelling of a rarely used property before writing a rule (for example,
text-underline-offsetorscroll-snap-align) - Checking whether a vendor-prefixed property you have seen in legacy code has a standard equivalent
- Verifying that a custom property name follows the
--convention required for CSS variables - Teaching or reviewing CSS, a quick lookup confirms whether a property a student wrote is real
- Auditing copied CSS from documentation or AI-generated code before incorporating it into a stylesheet
Who Should Use This Validator?
Frontend developers and web designers who write CSS by hand and want an immediate check on a property name before consulting full MDN documentation.
Learners and students encountering unfamiliar CSS properties and wanting to confirm they exist and understand their functional area without reading through a full specification.
Code reviewers checking CSS contributions or auto-generated stylesheets for obviously invalid property names before deeper review.
Developers working with CSS-in-JS who need to verify the correct CSS hyphenated form of a property name before using it in a JavaScript context.
For full stylesheet quality, value correctness, ordering conventions, and specificity, pair this tool with a dedicated CSS linter. For checking related data formats, the HTML Meta Validator checks the meta tags inside an HTML document's <head>.
What Insights Does the CSS Property Validator Give You?
When the property name is valid, the tool returns:
- A green Valid badge
- The functional category, one of: Layout, Typography, Box Model, Background & Colour, Flexbox, Grid, Animation & Transition, Transform, or Other
- For custom properties (
--*): a note that the name is a valid custom property by CSS specification - For vendor-prefixed properties: the detected prefix and a note to prefer the standard unprefixed form
When the property name is invalid, the tool returns:
- A red Invalid badge
- A note that the name was not found in the recognised property list
- A scope reminder that this is a name-only check, browser support percentages and value validation are separate concerns
The tool does not suggest corrections for misspelled names. Check the spelling against the MDN CSS properties reference if the result is unexpected.
How to use this CSS Property calculator
- Open the CSS Property Validator on this page. The CSS Property Name input field is pre-filled with
background-coloras a working example. - Clear the field and type or paste the property name you want to check, enter the name exactly as it appears in a CSS rule, in lowercase with hyphens (for example,
font-size, notfontSize). - The Result badge updates instantly as you type. No button press is required.
- If the badge shows Valid, read the category label below it to confirm the property is in the functional area you expected.
- If the badge shows Invalid, check for common issues: a typo, a camelCase name instead of hyphenated, a missing or extra hyphen, or a vendor prefix on a property that has a standard name.
- To check another property, clear the field and enter the next name. You can also share the current result by copying the URL, the property name is encoded in the page URL and will pre-fill the field for anyone you send the link to.
Show formula & methodology โShow less โ
Formula & Methodology
The validator applies three checks in sequence: 1. Custom property detection If the input starts with--, it is a CSS custom property. Custom properties are valid by CSS specification for any name following the--prefix, no further lookup is performed, and the result is returned as valid with a custom property note. 2. Vendor prefix detection If the input starts with-webkit-,-moz-,-ms-, or-o-, the prefix is recorded. The prefixed name is noted as vendor-specific rather than standard. The tool does not look it up in the standard property list. 3. Known-property lookup For all other inputs, the name is normalised to lowercase and looked up in the bundled property list derived from the W3C CSS specification and MDN documentation. If a match is found, the associated functional category is returned and the result is valid. If no match is found, the result is invalid. Valid example,background-colorbackground-colordoes not start with--or a vendor prefix. Lookup finds it in the known-property list under the Background & Colour category. Result: Valid, Background & Colour. Invalid example,backgroun-color(typo)backgroun-colordoes not start with--or a vendor prefix. Lookup finds no match in the known-property list, the name is missing thed. Result: Invalid, not a recognised CSS property. The property list is bundled at build time and does not make network requests. Validation is synchronous and runs in under one millisecond for any input length. For checking the structural integrity of a complete HTML document rather than a CSS property name, use the HTML Validator.
Frequently Asked Questions