Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
White space between rows when using flex: wrap - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
3 replies
luca
White space between rows when using flex: wrap
Am trying to make a navbar
, but when I use flex
: wrap and the navbar shrinks
, there is a lot off space between the first row and the second row
(see image
)
. Here you is my html and css
https://codepen.io/lccua/pen/OJKXRPZ
CodePen
lccua
Untitled
.
.
.
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
White space - no wrap issue
KP-C
Kevin Powell - Community / front-end
3y ago
Issue with space between, flex-wrap, and centering when only 1 item fits.
KP-C
Kevin Powell - Community / front-end
4y ago
flex wrap
KP-C
Kevin Powell - Community / front-end
14mo ago
Mystery spacing between 2 flex rows
KP-C
Kevin Powell - Community / front-end
2y ago