You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds a new `inert` variant.
We use `:where([inert], [inert] *)`, because the element with the
`inert` attribute and any of its descendants will be inert.
For example, both these buttons will have `opacity-50`:
```html
<button inert class="inert:opacity-50">I am inert</button>
<div inert>
<button class="inert:opacity-50">I am also inert</button>
</div>
```
See: https://play.tailwindcss.com/Jqedv6phGn
0 commit comments