curious why space-between classes doesn't use the negative margin approach? #3918
silouanwright
started this conversation in
Ideas
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This is an example of adding space between items using margin on each item and negative margin on the container, which looks great: https://play.tailwindcss.com/aUjCmcKEb3
However, if you use the space between classes to address this, the margin appears lopsided: https://play.tailwindcss.com/lGibD1Ez3S
The space between classes could have ostensibly used the negative margin approach, just curious what the reason is for not using this approach.
Beta Was this translation helpful? Give feedback.
All reactions