Please Give Me Some Space
There’s all kinds of ways to do that. Some more advisable and better-suited for certain situations than others, of course.…
There’s all kinds of ways to do that. Some more advisable and better-suited for certain situations than others, of course.…
You might already know about the CSS gap
property. It isn’t exactly new, but it did gain an important new ability last year: it now works in Flexbox in addition to CSS Grid. That, and the fact that I …
Yay, it’s here! Safari 14.1 reportedly adds support for the gap
property in flexbox layouts. We’ve had grid-gap
support for some time, but true to its name, it’s limited to grid layouts. Now we can use gap
in either type …
I mentioned this the other day via Michelle Barker’s coverage, but here I’ll link to the official announcement. The main thing is that we’ll be getting gap
with flexbox, which means:
.flex-parent {
display: flex;
gap: 1rem;
}
.flex-child
… Michelle Barker notes that it’s been a heck of a week for us CSS layout nerds.