# Your First CSS Rule

Write your first CSS rules on a coffee shop's menu, learn the name of every part (selector, declaration, property and value), and see what the browser does with a typo.

![Cheat sheet: Your First CSS Rule](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/d5f89762244e4974a9cfc2c349704c32.webp)

- Category: CSS
- Level: Novice
- Tags: CSS, CSS rule, Declaration (css), Declaration block, Property (css), Selector (css), Value, web-development
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-your-first-rule-cheat-sheet
