CSS Quick Reference

Comprehensive references for selectors, units, properties, and more

About the Reference Section

This reference section provides comprehensive quick-reference guides for all major CSS features. Each reference page is organized by category and includes links to the official W3C specifications.

Use these references as a quick lookup while coding, or to explore what's available in CSS. For detailed tutorials and examples, see the related tutorial lessons linked from each reference page.

Selectors

65+ selectors

Complete reference of all CSS selectors including basic selectors, combinators, attribute selectors, pseudo-classes, and pseudo-elements. Learn how to target exactly the elements you need.

View Selectors Reference →

Units & Measurements

40+ units

All CSS units including absolute lengths, font-relative units, viewport units, dynamic viewport units, container query units, angles, time, and resolution units.

View Units Reference →

Properties

200+ properties

Comprehensive list of CSS properties organized by category including layout, typography, colors, transforms, animations, and modern features like container queries and custom properties.

View Properties Reference →

At-Rules

20+ rules

CSS at-rules including @media, @supports, @layer, @container, @keyframes, @font-face, @import, and other special instructions that control how CSS behaves.

View At-Rules Reference →

Functions

60+ functions

All CSS functions organized by category: math, trigonometric, color, transform, filter, gradient, and utility functions. Includes modern features like clamp(), min(), max(), and color-mix().

View Functions Reference →

Pseudo-classes & Pseudo-elements

70+ pseudo-selectors

Complete guide to pseudo-classes (user action, form states, structural) and pseudo-elements (::before, ::after, ::marker, ::selection, and more). Learn the difference and when to use each.

View Pseudo Reference →

CSS Specifications

All references link to official W3C CSS specifications for authoritative documentation.