Add an opacity integer to x-transition #2883
modulareverything
started this conversation in
3. Feature Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It'd be really useful to have an integer that we could add to the
x-transition.opacity
utility, so we could choose what the opacity animates to instead of defaulting to1
. A use case would be for dimming the background behind modals.I imagine it something like this
<div ... x-transition.opacity.75>
, which would animate toopacity: 0.75
Beta Was this translation helpful? Give feedback.
All reactions