Category

CSS

CSS, or Cascading Style Sheets, is the language that controls how HTML looks: layout, colour, typography, spacing and animation. Modern CSS handles most layouts with Flexbox and Grid, and adds custom properties, container queries, blend modes and pseudo-elements that once needed JavaScript or extra markup. Knowing how the cascade and specificity work is what keeps stylesheets predictable as a site grows.

3 articles