# Inheritance: What Children Get from Their Parents

Some properties, mostly text ones such as color and font, pass from an element to everything inside it, while box properties such as border and padding stay put, and a few keywords let you choose.

![Cheat sheet: Inheritance: What Children Get from Their Parents](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/6a408eaa3df24f49a3de061d7d76314a.webp)

- Category: CSS
- Level: Apprentice
- Tags: CSS, Current color, inherit, Inheritance (css), initial, revert, unset
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-inheritance-cheat-sheet
