A lightweight, utility-first CSS framework with God Mode features that no other framework offers.
Documentation • Quick Start • Features • Comparison • Examples
Tani is a next-generation CSS framework that combines the best of modern CSS features with a utility-first approach. Built with 2026 standards, it includes features that no other framework offers:
- Scroll-Driven Animations (Pure CSS, no JS)
- Container Queries (Component-aware responsiveness)
- OKLCH Color System (Perceptually uniform colors with auto-generated variants)
- Zero-JS Components (Modal, Accordion, Dropdown using native HTML)
- Native Dark Mode (System-preference based, zero JS)
- RTL/LTR Support (Logical Properties, built-in)
- Fluid Typography (clamp-based scaling, no media queries)
- Debug Mode (Visual layout inspector)
- GPU-Accelerated Utilities (Hardware-accelerated animations)
- Anchor Positioning (Smart tooltips without JS)
Option 1: Download
<link rel="stylesheet" href="./dist/css/tani.css"><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My App</title>
<link rel="stylesheet" href="./dist/css/tani.css">
</head>
<body>
<div class="container">
<h1 class="text-center">Hello, Tani!</h1>
<button class="btn btn-primary">Click Me</button>
</div>
</body>
</html>| Feature | Tani v2.0 | Tailwind v4 | Bootstrap 5 | Bulma |
|---|---|---|---|---|
| Scroll-Driven Animations | ✅ | ❌ | ❌ | ❌ |
| Container Queries | ✅ | ❌ | ❌ | ❌ |
| OKLCH Colors | ✅ | ❌ | ❌ | ❌ |
| Zero-JS Modal | ✅ | ❌ | ❌ | ❌ |
| Zero-JS Accordion | ✅ | ❌ | ❌ | ❌ |
| Native RTL/LTR | ✅ | ✅ | ||
| Native Dark Mode | ✅ | ✅ | ❌ | ❌ |
| Debug Mode | ✅ | ❌ | ❌ | ❌ |
| Anchor Positioning | ✅ | ❌ | ❌ | ❌ |
| Size (Gzip) | ~15KB | ~10KB | ~25KB | ~20KB |
| JS Dependency | ❌ None | ✅ Bundle | ❌ None |
Tani supports all modern browsers:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Opera (latest)
Note: Some advanced features (Scroll-Driven Animations, Container Queries, Anchor Positioning) require modern browsers. Graceful fallbacks are provided for older browsers.
Full documentation is available at: tanicss.github.io/docs
Open index.html in your browser to view the complete documentation with examples.
Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.
# Clone the repository
git clone https://github.com/TaniCSS/Tani.git
# Navigate to the directory
cd Tani
# Open index.html in your browser
open index.html- Bug fixes
- New components
- Documentation improvements
- Design enhancements
- Translations
- Performance optimizations
Tani is licensed under the MIT License.
- Built with modern CSS standards (2026)
- Inspired by Tailwind CSS, Bootstrap, and Bulma
- Uses Prism.js for syntax highlighting in documentation
- Thanks to all contributors who help make Tani better
Made with ❤️ for the web community
If you find Tani useful, please consider giving it a ⭐ star!