# CSS Nesting

CSS Nesting: CSS Nesting.

Updated: November 10, 2026

1. [CSS Nesting](https://www.ask-codey.com/lessons/css-nesting) (Journeyman): CSS nesting lets you write a rule inside another rule, so a component's parts, its hover state and its media queries live together in one place instead of scattered through the file.

Source: https://www.ask-codey.com/courses/css-in-depth/topics/css-nesting-topic
