Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
To space-between, or not to space-between - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
3 replies
Bktp
To space-between, or not to space-between
when spacing two flex items to the opposite ends in a flex container on the x
-axis
(flex
-direction
: row
)
, is it best to use justify
-content
: space between or set margin right or left auto on one of the flex items
? Does it really matter
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Space Between - Flexbox
KP-C
Kevin Powell - Community / front-end
4y ago
"space-between" with grid
KP-C
Kevin Powell - Community / front-end
2y ago
Nav Bar Justify-content : space-between not working
KP-C
Kevin Powell - Community / front-end
3y ago