Skip to content

Commit 96dfc82

Browse files
committed
Document per-side border colors
1 parent ee64f15 commit 96dfc82

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/pages/docs/just-in-time-mode.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@ The `!` always goes at the beginning of the utility name, after any variants, bu
205205

206206
This can be useful in rare situations where you need to increase specificity because you're at war with some styles you don't control.
207207

208+
### Per-side border colors
209+
210+
Requested since like 2017 but left out due to file-size considerations, the JIT engine finally adds support for setting the border color for each side of an element independently:
211+
212+
```html
213+
<div class="border-2 border-t-blue-500 border-r-pink-500 border-b-green-500 border-l-yellow-500">
214+
<!-- ... -->
215+
</div>
216+
```
217+
208218
## Breaking changes
209219

210220
## Known limitations

0 commit comments

Comments
 (0)