Replies: 1 comment
-
Can you explain more clearly the actual change you want to see here? Are you saying you want a We just pass whatever value you use to the underlying CSS property, we don't really enforce any opinions here: https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example feature
https://tailwindcss.com/docs/aspect-ratio
aspect-[4/3]
When doing calculation, for example aspect-[{gridItemAspectRatio}] << 1.333
16/10 for example is 1.6, much easier to work with, instead of mapping everything to some string fraction.
Beta Was this translation helpful? Give feedback.
All reactions