GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

05Flex gap fallback — spacing that falls back to margins when the gap property isn't applied

When the gap property isn't supported, each item receives its own margin instead, mimicking the same spacing.

Best forA tag-list layout, a button-group alignment

gap@supportsmargin-right
Flex gap fallback — spacing that falls back to margins when the gap property isn't applied
Open in a new tab

05 Flex gap fallback — spacing that falls back to margins when the gap property isn't applied — Measured area 2.822% · moving frames 20/23Original by GODRICH · SCSS and React ship in the zip · CSS Browser Compatibility: 9 Practical Fallbacks

The post this demo lives in

CSS Browser Compatibility: 9 Practical Fallbacks - preview of all 9 demosCSS Browser Compatibility: 9 Practical FallbacksNine css browser compatibility fixes: one recalculates height as the address bar resizes, one locks input zoom on focus, See all demos in this post

If you like this effect - similar demos