21
Spent 3 hours fighting a flexbox gap issue that was one missing property
I was building this card layout and the gaps between items just would not behave across browsers. Thought I was losing my mind checking margins over and over. Turns out I forgot to set the container to display:flex before applying the gap values. The second I added it everything snapped into place. Anyone else ever waste way too long on something that was literally one line off?
0 comments
Log in to join the discussion
Log In0 Comments
No comments yet
Be the first to share your thoughts on this discussion.