discuss
discuss copied to clipboard
Tailwind Transforms
If there a way to do this in tailwind Without having to use a plugin like https://github.com/benface/tailwindcss-transforms ?
.subscription__card:hover {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
@adamwathan would love your thoughts on this one.
Why don't you just add that to your stylesheet?
Tailwind doesn't include transform classes so you either need to write them yourself (we have docs on how to do this: https://next.tailwindcss.com/docs/adding-new-utilities) or use an existing plugin.
@adamwathan thanks. I'll use a plugin, I was just wondering why certain classes (like transform) aren't included.
transforms have been added to v1.2 https://tailwindcss.com/docs/skew/#app