Technology · Reference dataset

CSS Properties

Common CSS properties by category, with example values, a short explanation, the initial value, whether it is inherited, the specification module, the longhands a shorthand sets, and a link to the MDN reference.

$69 once covers this and 401 other datasets, plus 33 collections, for 365 days. No automatic renewal. Have a pass?

Look inside

Preview the records

First 5 and last 5 of 69 records · Last changed November 16, 2026 · Select a row to read the whole record.

Preview of CSS Properties
Property Category Values Description Initial value Inherited Module Longhands Mdn url
margin Box model 0, auto, 10px, 1em, 5% Sets the outer spacing on all four sides False CSS Box Model margin-bottom, margin-left, margin-right, margin-top https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/margin
padding Box model 0, 10px, 1em, 5% Sets the inner spacing on all four sides False CSS Box Model padding-bottom, padding-left, padding-right, padding-top https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/padding
border Box model 1px solid black, none, 2px dashed red Shorthand for border width, style, and color False CSS Backgrounds and Borders border-width, border-style, border-color https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/border
border-width Box model thin, medium, thick, 1px Sets the width of the border False CSS Backgrounds and Borders border-top-width, border-right-width, border-bottom-width, border-left-width https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/border-width
border-style Box model none, solid, dashed, dotted, double Sets the line style of the border False CSS Backgrounds and Borders border-top-style, border-right-style, border-bottom-style, border-left-style https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/border-style
59 more records · Download options
transition-duration Animation 0s, 0.3s, 1s Sets how long a transition takes 0s False CSS Transitions https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/transition-duration
animation Animation none, spin 2s linear infinite Shorthand for animation properties False CSS Animations animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, animation-timeline https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/animation
animation-name Animation none, slide, fade Sets the keyframes name for an animation none False CSS Animations https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/animation-name
animation-duration Animation 0s, 1s, 2s Sets how long an animation takes to run 0s False CSS Animations https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/animation-duration
transform Animation none, translateX(10px), rotate(45deg) Applies a 2D or 3D transformation none False CSS Transforms https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/transform

Open the sample in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML

CSV / JSON / XML

Put this data to work.

All 69 records, in your choice of format.

The free sample stops at 10 rows. A Data Pass removes the limit here and across the site, so you can stop collecting data and start using it.

  • Every record in 402 datasets, this one included
  • All 33 collections in full: more than 4 million rows of ZIP codes, schools, occupations and more
  • CSV, JSON and XML, whole-category ZIPs, and 2,500 API requests a day
Get a Data Pass

$69 once, for 365 days. No subscription and no automatic renewal, and what you download is yours to keep using.

Your key arrives by email after payment. Use it here to download the complete file.

Or share what you build with it and, if approved, get 75% off a Data Pass. See the contributor program

Already have a pass?

Your key is used for this request and is not saved by this page.

Commercial use is allowed, free or paid.

Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.

Scope and sources

Last checked against sources: October 16, 2026.

Last changed: November 16, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

CSS Properties has 69 records and 9 fields: Property, Category, Values, Description, Initial value, Inherited, Module, Longhands, Mdn url.

A complete download includes all 69 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/cssproperties

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

Without a pass, sorting and randomization apply only to the fixed 10-row sample.

More in Technology

Git Commands HTML Colors Microsoft Access Data Types MySQL Data Types Operating Systems Programming Languages

Download a category with your pass