Replies: 2 comments
-
Well if you want to support IE11 it makes sense I guess yes, also grid may be overkill sometimes when you just need to handle space between text elements like in a card or such~ |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ask myself the same question, space and grid allow to have the same result…
<div class="flex space-x-4">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="inline-grid grid-flow-col gap-4">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="space-y-4">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
<div class="inline-grid gap-4">
<div>1</div>
<div>2</div>
<div>3</div>
</div> |
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
-
Hey!
I've only realised that 1.3 came with the new space utilities.
Are there any reasons to use these instead of just using CSS grid to space between elements?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions