CSS
88 lessons Learn at your own pace
Master CSS from basics to advanced. Learn styling, layouts, Flexbox, Grid, and responsive design with practical examples.
What you’ll learn
CSS Fundamentals & Setup
5 lessonsCSS Introduction & History: What Is CSS and Why It Matters · CSS Syntax & How Browsers Apply Styles · Setting Up Your CSS Workspace: Linking Files & Live Server
Start moduleItem Properties
6 lessonsCSS flex-direction: Row, Column, Reverse Explained with Examples · CSS flex-wrap and flex-flow: Complete Guide with Examples · CSS justify-content: Align Flex Items on the Main Axis
Start moduleContainer Properties
6 lessonsCSS flex-direction: row, row-reverse, column & column-reverse Explained · CSS flex-wrap & flex-flow: Wrap Flex Items the Right Way · CSS justify-content: Align Flex Items on the Main Axis
Start moduleFlexbox Foundations
4 lessonsWhy Layout Evolved: Tables, Floats, Flexbox and Grid · Flexbox Introduction and Mental Model · Flex Container and Flex Items
Start moduleSelectors & the Cascade
8 lessonsCSS Basic Selectors: Type, Class, ID, Universal & Grouping · CSS Combinators: Descendant, Child, Adjacent & General Sibling · CSS Attribute Selectors: [attr], ^=, $=, *= and More
Start moduleColors, Backgrounds & Effects
7 lessonsCSS Colors (HEX, RGB, HSL, OKLCH) · CSS Backgrounds · CSS Gradients (Linear, Radial, Conic)
Start moduleBox Model & Spacing
7 lessonsThe CSS Box Model: Content, Padding, Border and Margin · CSS Margin and Margin Collapse · CSS Padding: Shorthand, Percentages and Best Practices
Start moduleTypography & Text
7 lessonsCSS Text Properties: Alignment, Spacing, Decoration and Wrapping · CSS Fonts and font-family: Font Stacks, Weights and System Fonts · Web Fonts: Google Fonts, @font-face and Variable Fonts
Start moduleDisplay, Position & Layout Basics
7 lessonsDisplay & Inline-block · Position (relative, absolute, fixed, sticky) · Z-index & Stacking Contexts
Start moduleThe Modern CSS Toolkit
6 lessonsCSS Variables (Custom Properties) · Math Functions (calc, min, max, clamp) · Native CSS Nesting
Start moduleResponsive Design
6 lessonsMobile-First & the Viewport · Media Queries · Responsive Images & Video
Start moduleTransitions & Animation
7 lessonsCSS Transitions: Smooth State Changes with transition, @starting-style and allow-discrete · CSS 2D Transforms: translate, rotate, scale, skew and transform-origin · CSS 3D Transforms: perspective, preserve-3d, rotateX/Y and backface-visibility
Start moduleUI Components
6 lessonsCSS Buttons: Variants, States, Sizes and Accessible Button Design · CSS Card Component: Layouts with Flexbox, Grid, Container Queries and Subgrid · CSS Navbar and Dropdown Menus: Responsive, Sticky and Accessible Navigation
Start modulePro Practices & Wrap-up
6 lessonsCSS Architecture & BEM · CSS Performance · CSS Accessibility (focus, contrast)
Start module