CSS
Complete CSS fundamentals reference covering selectors, box model, typography, colors, positioning, variables, and modern CSS features
Other CSS Sheets
Selectors & Specificity
Target elements with selectors and understand the cascade
Selectors
All the ways to target HTML elements with CSS
Cascade & Specificity
How CSS determines which styles win when rules conflict
Box Model
How elements are sized with content, padding, border, and margin
Box Model & Box Sizing
Content, padding, border, margin, and how box-sizing changes the calculation
Spacing Patterns
Common margin and padding shorthand patterns and spacing techniques
Typography
Font properties, text styling, and web fonts
Fonts & Text
Font properties, text alignment, spacing, and web font loading
Lists & Counters
Style ordered/unordered lists, custom markers, and CSS counters
Colors & Backgrounds
Color formats, gradients, and background properties
Colors & Backgrounds
Color formats, opacity, gradients, and background sizing
Gradients
Linear, radial, and conic gradients for backgrounds and text
Positioning
Control element placement with position, z-index, and stacking
Position & z-index
Static, relative, absolute, fixed, and sticky positioning
Transforms
Move, rotate, scale, and skew elements with CSS transforms
Display & Visibility
Control how elements render and whether they are visible
Display & Visibility
Block, inline, none, visibility, and opacity
Cursor, Pointer Events & User Select
Control mouse cursor appearance and element interactivity
Borders, Shadows & Effects
Borders, rounded corners, shadows, and visual effects
Borders, Radius & Shadows
Border styles, rounded corners, box shadows, and filters
Focus Styles & Outlines
Accessible focus indicators for keyboard navigation
Custom Properties & Functions
CSS variables and built-in math functions
CSS Variables & Functions
Define reusable values with custom properties and use calc, clamp, min, max
Dark Mode & Theming
Implement dark mode with CSS variables and media queries
Transitions
Smooth property changes on hover, focus, and state changes
CSS Transitions
Animate property changes smoothly between states
Media Queries & Responsive
Adapt layouts for different screen sizes and user preferences
Media Queries
Responsive breakpoints, user preferences, and container queries
Container Queries
Style components based on their container size, not the viewport
Modern CSS Features
CSS nesting, :has(), logical properties, and other recent additions
Nesting, :has() & Logical Properties
Modern CSS features supported in all major browsers