# revert-layer

Rolls a property back to the previous cascade layer's value.

## 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; } }
```

Level: Freelancer · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/revert-layer
