-
Flexbox/grid
gapis one of the best improvements to CSS in awhile. It always works as expected, unlike margin collapses, even with conditional children. I’m now using padding + gap for almost all layout, with margin just for block typography.
lachlanjc’s Twitter Archive—№ 12,460gap is one of the best improvements to CSS in awhile. It always works as expected, unlike margin collapses, even with conditional children. I’m now using padding + gap for almost all layout, with margin just for block typography.