Skip to content

What is transform pseudo-class variant configuration for? #1788

Answered by Apostolique
muhammadsammy asked this question in Help
Discussion options

You must be logged in to vote

I can't answer perfectly, but you can see the code here: https://github.com/tailwindcss/tailwindcss/blob/master/src/plugins/transform.js

Looks like it's used as a base for the other transforms scale, rotate, translate, skew, origin.

For example with scale:

<img class="transform scale-75 ...">

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@estevanmaito
Comment options

@muhammadsammy
Comment options

Answer selected by muhammadsammy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants