Commit 1d2d50e
Add
This PR adds the `items-first-baseline` and `items-last-baseline`
utility classes that can control
[`baseline-position`](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#formal_syntax)
for the [align-items
property](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#baseline).
Browser support:
- MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#browser_compatibility
- Can I use `first baseline`:
https://caniuse.com/?search=align%20items%3A%20first%20baseline
- Can I use `last baseline`:
https://caniuse.com/?search=align%20items%3A%20last%20baseline
The feature were requested multiple times:
- #13518
- #12406
- #11623
- #4855
---------
Co-authored-by: Philipp Spiess <hello@philippspiess.com>items-baseline-last utility (#13888)1 parent d6d913e commit 1d2d50e
File tree
5 files changed
+23
-3
lines changed- packages/tailwindcss/src
- __snapshots__
5 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4875 | 4875 | | |
4876 | 4876 | | |
4877 | 4877 | | |
| 4878 | + | |
4878 | 4879 | | |
4879 | 4880 | | |
4880 | 4881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7312 | 7312 | | |
7313 | 7313 | | |
7314 | 7314 | | |
7315 | | - | |
7316 | | - | |
| 7315 | + | |
| 7316 | + | |
| 7317 | + | |
| 7318 | + | |
| 7319 | + | |
| 7320 | + | |
| 7321 | + | |
| 7322 | + | |
| 7323 | + | |
| 7324 | + | |
7317 | 7325 | | |
7318 | 7326 | | |
7319 | 7327 | | |
7320 | 7328 | | |
| 7329 | + | |
| 7330 | + | |
| 7331 | + | |
| 7332 | + | |
7321 | 7333 | | |
7322 | 7334 | | |
7323 | 7335 | | |
| |||
7341 | 7353 | | |
7342 | 7354 | | |
7343 | 7355 | | |
| 7356 | + | |
| 7357 | + | |
7344 | 7358 | | |
7345 | 7359 | | |
7346 | 7360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
1882 | 1882 | | |
1883 | 1883 | | |
1884 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1885 | 1888 | | |
1886 | 1889 | | |
1887 | 1890 | | |
| |||
0 commit comments