You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding percent selectors to screen widths and heights in Tailwind, like w-screen/90 for 90vw, would offer developers more granular control over responsive layouts. It's not uncommon for me to have use a custom style for these, and I wouldn't be surprised if other devs are in a similar boat.
Goes without saying, but would also have same for height: h-screen/90 and ideally we'd have these for all of the min-max- variants of min-w-screen/90 and max-h-screen/90 etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Adding percent selectors to screen widths and heights in Tailwind, like
w-screen/90
for90vw
, would offer developers more granular control over responsive layouts. It's not uncommon for me to have use a custom style for these, and I wouldn't be surprised if other devs are in a similar boat.Goes without saying, but would also have same for height:
h-screen/90
and ideally we'd have these for all of themin-
max-
variants ofmin-w-screen/90
andmax-h-screen/90
etc.Beta Was this translation helpful? Give feedback.
All reactions