Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oofdere committed Aug 7, 2024
1 parent cf7c9fc commit 39b74c7
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,61 @@ This has been possible with `@apply` in the past, but that always felt like a ve

I also really like semantic values, and Tailwind gives you sensible semantic values (sm, md, lg, xl, screen, etc.) which really helps me avoid decision paralysis.

## features

### `tw` units

tailwind sizing units

```css
.foo {
width: 12tw;
height: calc(12tw / 2);
}
```

### `@screen` queries

query for tailwind breakpoints

```css
.foo {
color: red;

@screen md {
color: blue;
}
}
```

### `@light` and `@dark` queries

shorthand for light and dark queries

```css
.foo {
@light {
color: black;
}

@dark {
color: white;
}
}
```

### `size` property

set width and height at once

```css
.foo {
size: 12tw;
}
```

###

## roadmap
- [x] `tw` units
- [x] `@screen <breakpoint>` queries
Expand Down

0 comments on commit 39b74c7

Please sign in to comment.