No description
Find a file
Robin Malfait a3cedf253a
Improve transform, transform-cpu and transform-gpu utilities (#13290)
* fix `transform-gpu` translate syntax

* move `skewX` and `skewY` functions into the variable

* use `transform-[…]` with arbitrary values as-is

This will not have any fallbacks to the `skewX` or `skewY` functions.
The arbitrary values will be the only value that's used.

* use `--tw-skew-{x,y}` variables in `transform-cpu` and `transform-gpu`

* update tests

* drop `skewX` and `skewY` functions because they are embedded in the `--tw-skew-x` and `--tw-skew-y` CSS variables

* drop `transform-cpu` and `transform-gpu`

* add `translate-none`, `transform-none`, `rotate-none` and `scale-none`

* ensure `transform` creates a stacking context

* use `<transform-function>` instead of `<angle>`

* re-add `transform-gpu`

* drop the `,`, because `--tw-skew-x` and `--tw-skew-y` will always be defined by the `@property`

* `translate(0)` is not necessary because `--tw-skew-{x,y}` will always be defined

* add skew variables to `transform-gpu`

Otherwise skew's will be gone

* re-add `transform-cpu`
2024-03-21 17:51:15 +01:00
.github rename release-oxide to release (#13301) 2024-03-21 13:35:08 +01:00
oxide Parse candidates in .svelte files with class:abc="condition" syntax (#13274) 2024-03-18 23:24:22 +01:00
packages Improve transform, transform-cpu and transform-gpu utilities (#13290) 2024-03-21 17:51:15 +01:00
playgrounds Use Vite waitForRequestsIdle (#13291) 2024-03-20 16:40:50 -04:00
scripts Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
.gitignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
.npmrc introduce v4 codebase 2024-03-05 14:29:15 +01:00
.prettierignore introduce v4 codebase 2024-03-05 14:29:15 +01:00
CHANGELOG.md Remove bare value handling for perspective utilities (#13288) 2024-03-20 15:25:24 +01:00
LICENSE Add README, LICENSE, and CONTRIBUTING (#13088) 2024-03-05 14:45:39 -05:00
package.json Inline the tailwindcss/index.css contents at publish time (#13233) 2024-03-13 22:26:10 +01:00
pnpm-lock.yaml Use Vite waitForRequestsIdle (#13291) 2024-03-20 16:40:50 -04:00
pnpm-workspace.yaml introduce v4 codebase 2024-03-05 14:29:15 +01:00
README.md Copy README file to every package (#13096) 2024-03-06 08:49:31 -05:00
turbo.json introduce v4 codebase 2024-03-05 14:29:15 +01:00
vitest.workspace.ts introduce v4 codebase 2024-03-05 14:29:15 +01:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For chatting with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.