Tech

CSS (Cascading Style Sheets)

Definition

A stylesheet language used to describe the visual presentation and layout of HTML documents, controlling colors, fonts, spacing, and responsive design.

Try the free calculator

Use our CSS Gradient Generator to run the numbers yourself.

Cascading Style Sheets is the language used to style and layout web pages. It controls how HTML elements appear on screen, in print, or in other media. CSS separates content (HTML) from presentation (styling), making websites more maintainable and accessible.

Modern CSS includes powerful layout systems like Flexbox (one-dimensional layouts) and Grid (two-dimensional layouts), as well as custom properties (variables), animations, transitions, media queries for responsive design, and newer features like container queries and the :has() selector.

CSS follows the cascade: when multiple rules apply to the same element, specificity, source order, and importance determine which styles win. Understanding the cascade, the box model, and positioning contexts is fundamental to writing predictable, maintainable stylesheets.

Related Calculators

Related Terms

Related Articles

Stay Updated

Get notified about new tools, features, and exclusive deals. No spam, ever.