Presets
A preset that provides utilities for container queries.
- 🤖 Try the playground
- 🧭 Explore the examples
- 📓 Consult the API reference
- 📜 Read the changelog
Note
Based on @tailwindcss/container-queries.
🤝 Compatibility
@twind/preset-container-queries | @tailwindcss/container-queries |
---|---|
>=1.0.0 <1.1.0 | 0.1.0 |
📦 Installation
with @twind/core
Install from npm:
Add the preset to your twind config:
Usage with a script tag
with Twind CDN
🙇 Usage
Same as with @tailwindcss/container-queries › Usage
🔧 Theme
A containers
section is added to the theme with the same values as @tailwindcss/container-queries › Configuration.