# Tailwind to Css
```rust
use tailwind_css::TailwindBuilder;
fn build() {
let mut tailwind = TailwindBuilder::default();
//
tailwind.trace("py-2 px-4 bg-green-500");
println!("{}", tailwind.build().unwrap())
}
```
## Notice
This library is not strictly implemented according to the original version.
Especially when some writing methods can be simplified or generalized.
For example arbitrary values of z-index needs brackets, but rs version does not.
- raw: `z-[100]`
- rs: `z-100`
## Implement Progress
See the `tests` folder for details
- [x] [preflight](https://tailwindcss.com/docs/preflight): [`crate::PreflightSystem`]
- **Layout**
- [x] [aspect-ratio](https://tailwindcss.com/docs/aspect-ratio): [`TailwindAspect`]
- [ ] [container](https://tailwindcss.com/docs/container): [``]
- [ ] [columns](https://tailwindcss.com/docs/columns): [``]
- [x] [break-after](https://tailwindcss.com/docs/break-after): [`TailwindBreak::After`]
- [x] [break-before](https://tailwindcss.com/docs/break-before): [`TailwindBreak::Before`]
- [x] [break-inside](https://tailwindcss.com/docs/break-inside): [`TailwindBreak::Inside`]
- [ ] [box-decoration-break](https://tailwindcss.com/docs/box-decoration-break)
- [ ] [box-sizing](https://tailwindcss.com/docs/box-sizing)
- [ ] [display](https://tailwindcss.com/docs/display)
- [ ] [float](https://tailwindcss.com/docs/display)
- [ ] [clear](https://tailwindcss.com/docs/display)
- [ ] [isolation](https://tailwindcss.com/docs/display)
- [ ] [object-fit](https://tailwindcss.com/docs/display)
- [ ] [object-position](https://tailwindcss.com/docs/display)
- [ ] [overflow](https://tailwindcss.com/docs/display)
- [ ] [overscroll-behavior](https://tailwindcss.com/docs/display)
- [ ] [position](https://tailwindcss.com/docs/display)
- [ ] [top-right-bottom-left](https://tailwindcss.com/docs/display)
- [ ] [visibility](https://tailwindcss.com/docs/display)
- [x] [z-index](https://tailwindcss.com/docs/z-index)
- **Flexbox & Grid**
- [x] [z-index](https://tailwindcss.com/docs/flex-basis): [`TailWindZIndex`]
- **Spacing**
- [x] [padding](https://tailwindcss.com/docs/padding)
- [x] [margin](https://tailwindcss.com/docs/margin)
- [x] [space](https://tailwindcss.com/docs/space)
- **Sizing**
- [x] [width](https://tailwindcss.com/docs/width): [`TailwindWidth`]
- [x] [min-width](https://tailwindcss.com/docs/min-width): [`TailwindWidth`]
- [x] [max-width](https://tailwindcss.com/docs/max-width): [`TailwindWidth`]
- [x] [height](https://tailwindcss.com/docs/height): [`TailwindHeight`]
- [x] [min-height](https://tailwindcss.com/docs/min-height): [`TailwindHeight`]
- [x] [max-height](https://tailwindcss.com/docs/max-height): [`TailwindHeight`]
- **Typography**
- [ ] [font-family](https://tailwindcss.com/docs/font-family)
- **Backgrounds**
- [ ] [background-attachment](https://tailwindcss.com/docs/background-attachment)
- **Borders**
- [ ] [border-radius](https://tailwindcss.com/docs/background-attachment)
- **Effects**
- [ ] [box-shadow](https://tailwindcss.com/docs/box-shadow): [`ShadowSystem`]
- [ ] [box-shadow-color](https://tailwindcss.com/docs/box-shadow-color): [`ShadowSystem`]
- [ ] [opacity](https://tailwindcss.com/docs/opacity): [`TailwindOpacity`]
- [ ] [mix-blend-mode](https://tailwindcss.com/docs/mix-blend-mode): [`TailwindBlender`]
- [ ] [background-blend-mode](https://tailwindcss.com/docs/background-blend-mode): [`TailwindBlender`]
- **Filters**
- [ ] [blur](https://tailwindcss.com/docs/blur)
- **Tables**
- [x] [border-collapse](https://tailwindcss.com/docs/border-collapse): [`TailwindBorderCollapse`]
- [x] [table-layout](https://tailwindcss.com/docs/table-layout): [`TailwindTableLayout`]
- **Transitions & Animation**
- [ ] [box-shadow](https://tailwindcss.com/docs/background-attachment)