viewport units? #11814
alan-barzilay
started this conversation in
General
viewport units?
#11814
Replies: 0 comments
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.
-
I was wondering why tailwind never seems to use any viewport units, only pixels percentages and rems. For example when using the width utility the only viewport metric available is for w-screen with width: 100vw, why not implement other viewport options? Percentages are not always what we want/need, I know we can enter arbitrary values by utilizing squared brackets so using them in practice is quite simple but I was still confused as to the reason behind this design choice. Am I missing something? Same thing for container metrics, there's an official plugin solely for containers but no mention of cq units.
Beta Was this translation helpful? Give feedback.
All reactions