# inherit

*noun*

say it: **“in-HAIR-it”** **/ɪnˈhɛrɪt/**

A CSS keyword that makes a property take its parent element's value, even for a property that doesn't pass down on its own.

## What does the `inherit` keyword do?

`inherit` takes the property's value from the parent element.

```css
.footer a { color: inherit; }   /* links match the footer text */
```

## In a sentence

- “Buttons ignored the page's font, so I wrote font: **inherit** and they finally matched the rest of the site.”

Level: Freelancer · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/inherit
