Replies: 4 comments
-
Agree I've wanted to do this forever just never been able to get excited about any of the API ideas. There's an old discussion about this in the working group where a |
Beta Was this translation helpful? Give feedback.
-
+1 for |
Beta Was this translation helpful? Give feedback.
-
Would love this, especially for breakpoints! This becomes so annoying having to maintain square shapes haha |
Beta Was this translation helpful? Give feedback.
-
I was happily surprised to see that this was added: https://tailwindcss.com/docs/width#setting-both-width-and-height |
Beta Was this translation helpful? Give feedback.
-
I often have square elements in my markup where I have to write repetitive code like this:
<div class="w-4 h-4"></div>
<div class="w-[5px] h-[5px]"></div>
It would be nice if I could set height and width at once:
<div class="wh-4"></div>
<div class="wh-[5px]"></div>
wh
,hw
orsq
could be good prefixes for this.Beta Was this translation helpful? Give feedback.
All reactions