Chapter 1 deck Chapter 2 deck Chapter 3 deck Chapter 4 deck Chapter 5 deck Chapter 6 deck Chapter 7 deck Chapter 8 deck Chapter 9 deck Chapter 10 deck Chapter 11 deck Chapter 12 deck Chapter 13 deck Chapter 14 deck

Introduction to CSS & Its Evolution

5 slides · use ←/→ or Space to navigate, F for fullscreen.

Reading view

← Back to the full Chapter 3 deck

Introduction to CSS & Its Evolution
Fullscreen for presentation · Print / PDF for a handout
1 / 5
Lesson

Introduction to CSS & Its Evolution

What CSS is, what it does, and how it evolved from 1996 to 2025.

Introduction to CSS & Its Evolution

What is CSS?

CSS (Cascading Style Sheets) describes the presentation of HTML — layout, colours, fonts and spacing.

  • Separates style from content — HTML is structure & content, CSS is visual presentation. This keeps code clean and maintainable.
  • Applies to many documents — one stylesheet can style thousands of pages: edit once, update everywhere.
  • W3C standard — maintained by the World Wide Web Consortium; validate your CSS at jigsaw.w3.org/css-validator for cross-browser consistency.

CSS has been the industry standard since CSS1 in 1996.

Introduction to CSS & Its Evolution

CSS Evolution (1996 → 2025)

YearMilestone
1996CSS1 — basic selectors, fonts, colours, margins
1998CSS2 — positioning, z-index, media types
2011CSS3 modules — animations, gradients, flexbox
2017CSS Grid Layout for page layouts
2022@layer cascade layers, container queries
2025Nesting, @scope, scroll-driven animations, Houdini
Introduction to CSS & Its Evolution

What Does CSS Do?

AreaCapabilities
Text & fontsFont family, size, weight; line height, letter spacing; text decoration & transform
Layout & sizingWidth, height, min/max; Flexbox & Grid (2025 standard); positioning (static/relative/fixed)
Visual effectsShadows, gradients, opacity; filters & backdrop-blur; clip-path & masks
Animation & motionKeyframe animations; transitions between states; scroll-driven animations (2025)
Introduction to CSS & Its Evolution

Activity — complete the code

Complete the CSS rule so it targets every h1 and sets a 2rem font size.

/* A CSS rule = selector + declarations */
{
color: blue;
font-size: ;
}