tailwindcss/packages
Robin Malfait 90a2373620
add zoom-* utilities (#20020)
This PR adds new `zoom-*` utilities.

The `zoom-*` utilities accept bare values that are transformed into `%`
based values, and arbitrary values:

| Class | CSS |
| -- | -- |
| `zoom-50` | `zoom: 50%;` |
| `zoom-[1.1]` | `zoom: 1.1;` |
| `zoom-(--value)` | `zoom: var(--value);` |


This also adds the `zoom` property after the `transform` related
properties. Initially I added it right after `scale`, because logically
they are close together. But then `zoom-*` would sit between `scale` and
other tranfsorm related properties which is a bit weird. Instead, I
moved it after `transform`.

## Test plan

1. Added new zoom based tests
2. All other tests still pass
2026-05-08 21:15:59 +02:00
..
@tailwindcss-browser Update listhen 1.9.1 → 1.10.0 (minor) (#20017) 2026-05-07 12:43:28 +00:00
@tailwindcss-cli Update enhanced-resolve 5.20.1 → 5.21.0 (minor) (#19998) 2026-05-01 11:29:19 +00:00
@tailwindcss-node Cleanup noisy test output (#20015) 2026-05-06 11:10:17 +02:00
@tailwindcss-postcss Cleanup noisy test output (#20015) 2026-05-06 11:10:17 +02:00
@tailwindcss-standalone Update enhanced-resolve 5.20.1 → 5.21.0 (minor) (#19998) 2026-05-01 11:29:19 +00:00
@tailwindcss-upgrade Update enhanced-resolve 5.20.1 → 5.21.0 (minor) (#19998) 2026-05-01 11:29:19 +00:00
@tailwindcss-vite docs: fix various typos in comments and documentation (#19878) 2026-04-29 13:28:39 +00:00
@tailwindcss-webpack Bump dependencies (#19957) 2026-04-24 21:21:12 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss add zoom-* utilities (#20020) 2026-05-08 21:15:59 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00