# revert-layer

*noun*

say it: **“rih-VERT LAY-er”** **/rɪˈvɜːrt ˈleɪər/**

A CSS keyword that rolls a property back to the value the earlier cascade layers give it, as if the current layer's rule weren't there.

## What does the `revert-layer` keyword do?

`revert-layer` rolls a property back to the value from the previous cascade layer.

```css
@layer theme { .button { background: revert-layer; } }
```

## In a sentence

- “Inside the components layer, color: **revert-layer** gave the link back the color the base layer set for it.”

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/revert-layer
