CSS: Default Unit
CSS doesn't have a default unit. Omitting unit is syntax error.
div.x { /* WRONG */ width: 400; }
div.x { /* correct */ width: 400px; }
But if it is 0, then no unit is necessary.
CSS, misc, advanced
- CSS: @media query (responsive design)
- CSS: Variable (Custom Property)
- CSS: calc
- CSS: Reset, Default Values
- CSS: global keywords (property values)
- CSS: nesting selector (ampersand &)
- CSS: Computed Style
- CSS: Browser Default Style Sheet (2025-12)