No description
Find a file
Robin Malfait 28a5438ab4
Add inert variant (#14129)
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
2024-08-07 16:09:01 +02:00
.github Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
crates Add Windows CI (#14065) 2024-07-29 16:50:06 +02:00
integrations Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
packages Add inert variant (#14129) 2024-08-07 16:09:01 +02:00
playgrounds Upgrade vitest and remove bench script from CI (#14101) 2024-08-02 10:33:14 +02:00
scripts Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
.gitignore Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
.npmrc introduce v4 codebase 2024-03-05 14:29:15 +01:00
.prettierignore Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
Cargo.lock remove Rust benchmarks and fixtures (#13335) 2024-03-23 16:16:40 +01:00
Cargo.toml Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
CHANGELOG.md Add inert variant (#14129) 2024-08-07 16:09:01 +02:00
LICENSE Add README, LICENSE, and CONTRIBUTING (#13088) 2024-03-05 14:45:39 -05:00
package.json Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
pnpm-lock.yaml Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
pnpm-workspace.yaml Add integration test setup and tests for the Vite integration (#14089) 2024-08-02 11:50:49 +02:00
README.md Copy README file to every package (#13096) 2024-03-06 08:49:31 -05:00
turbo.json introduce v4 codebase 2024-03-05 14:29:15 +01:00
vitest.workspace.ts introduce v4 codebase 2024-03-05 14:29:15 +01:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For chatting with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.