CSS Properties
CSS properties, organized by category, with accepted values and explanations.
Download optionsThe records
10 of 69 records ยท Select a column heading to sort.
| ID | Property | Category | Values | Description |
|---|---|---|---|---|
| 1 | margin | Box model | 0, auto, 10px, 1em, 5% | Sets the outer spacing on all four sides |
| 2 | padding | Box model | 0, 10px, 1em, 5% | Sets the inner spacing on all four sides |
| 3 | border | Box model | 1px solid black, none, 2px dashed red | Shorthand for border width, style, and color |
| 4 | border-width | Box model | thin, medium, thick, 1px | Sets the width of the border |
| 5 | border-style | Box model | none, solid, dashed, dotted, double | Sets the line style of the border |
| 6 | border-color | Box model | currentColor, red, transparent | Sets the color of the border |
| 7 | border-radius | Box model | 0, 4px, 50%, 1em | Rounds the corners of an element |
| 8 | box-sizing | Box model | content-box, border-box | Controls how width and height are calculated |
| 9 | outline | Box model | 1px solid blue, none | Shorthand for outline width, style, and color |
| 10 | overflow | Box model | visible, hidden, scroll, auto | Controls clipping of overflowing content |
Free sample files (up to 10 rows): CSV JSON XML
Scope and sources
Last changed: July 19, 2026. This may reflect a change to the data or its description; it is not a coverage-through date.
- MDN Web Docs: CSS reference (used with permission)
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.