{ "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is the cascade in CSS?", "acceptedAnswer": { "@type": "Answer", "text": "Rules are applied in order of specificity and source order — later and more specific rules win." } }, { "@type": "Question", "name": "What is CSS specificity?", "acceptedAnswer": { "@type": "Answer", "text": "A weighting system that determines which CSS rule applies when multiple rules target the same element." } }, { "@type": "Question", "name": "What are CSS preprocessors?", "acceptedAnswer": { "@type": "Answer", "text": "Tools like Sass and Less that extend CSS with variables, nesting, and functions." } } ] }
Definition

What Is CSS and What Does It Do?

A stylesheet language used to describe the visual presentation of HTML documents — controlling layout, colours, fonts, spacing, animations, and responsive behaviour.

Related Terms

Example

CSS grid and flexbox are used to create a responsive three-column card layout that collapses to one column on mobile.

Synonyms:

Cascading Style Sheets, Styling language

Acronyms:

CSS