CSS

HTML's visual partner

CSS stands for Cascading Style Sheets, a language used to describe the visual presentation of web pages written in HTML.

While HTML provides the structure and content, CSS controls layout, colors, fonts, spacing, and other design elements.

The "cascading" refers to how styles can be layered and inherited, with more specific rules overriding general ones.

The designer updated the CSS to make the site mobile-friendly.

CSS has become essential to modern web development, allowing developers to separate content from presentation.

styling

cascade

Successive downward flow

inheritance · specificity · flexbox · grid · layout · typography · responsive · variables · declarations · values

syntax

selector

Mechanism for choosing

  • propertySomething owned or inherent
  • valueImportance or price
  • ruleGoverning principle or standard

declaration · stylesheet · semicolon · colon · comments · calc · var · hex · shorthand · longhand

animation

transitions

Movements between states

rotate · scale · opacity · easing · duration · delay · iteration · hover · motion · parallax

visual-effects

gradient

Rate of change across space

  • filterPorous separation device
  • blurLack of sharpness
  • maskFace-worn concealment

opacity · perspective · overflow · visibility

preprocessors

mixins

Reusable code modules

imports · compiling · functions · loops · conditionals · extends · placeholders · maps

architecture

atomic

Of elemental particles

frameworks · maintainability · scalability · organization

tooling

linting

Automated code error detection

debugging

Categories
Opposites
web technology role

CSSHTML

Web page code

content · JavaScript · structure · behavior · logic

styling approach

CSSunstyled

Without decorative arrangement

plain text · WYSIWYG

design methodology

CSSWYSIWYG

Display matches printout

visual editor · Photoshop · Figma

Family

cascades

Familiarity
Top 200,000
Profile
Used worldwide · Timeless · Abstract · Rated G