DEV Community

Discussion on: Don’t Use Margins For Spacing Between Components, Use Gaps

Collapse
 
joeattardi profile image
Joe Attardi

Gap is great but for flex layouts it doesn't have great compatibility yet (depending on your browser support requirements)

Collapse
 
domagojvidovic profile image
Domagoj Vidovic

Older Safari version and IE11 are out of the game. Luckily, we have @supports not to cover some cases.

Collapse
 
lil5 profile image
Lucian I. Last

developer.mozilla.org/en-US/docs/W...

Only multi column text gap is no supposed in safari.

Flex gap, used to be an issue in safari, not really anymore.