April 10, 2020 10:01 pm GMT
Original Link: https://css-tricks.com/thinking-in-behaviors-not-screen-sizes/
Thinking in Behaviors, Not Screen Sizes
Chase McCoy wrote a nifty post about the gap problem when making a grid of items. His argument might be summarized like this: how should we space elements with margins in CSS? He notes that the gap
property isnt quite ready for prime time when it comes to using it with flexbox, like this:
.grid { display: flex; gap: 10px;}
Right now, using gap
with flexbox is only supported in Firefox and Ive already caught myself forgetting about that … Read article “Thinking in Behaviors, Not Screen Sizes”
The post Thinking in Behaviors, Not Screen Sizes appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/thinking-in-behaviors-not-screen-sizes/
Share this article:
Tweet
View Full Article