4 ms·
The thing that's a tiebreaker for me is grid-gap (and recently, its shorthand gap). Uncountable hours have been wasted making two elements separate from each ot
by rsoto 6y ago
The thing that's a tiebreaker for me is grid-gap (and recently, its shorthand gap). Uncountable hours have been wasted making two elements separate from each other for a few pixels. Still today, the techniques used by Bootstrap are still used, altough a bit less hacky with calc(), but still we're relying a lot on negative margins.
With gap, making a gutter is trivial. And while gap _can_ be used with flexbox, the thing is that it's not supported by Safari[1], and who knows when it will be implemented.
1: https://caniuse.com/flexbox-gap https://caniuse.com/flexbox-gap