gap with manual margins on child elements in Webflow for compatibility with older iOS Safari. :last-child to remove margins from the last item and ensure consistent spacing across browsers.Older iPhones like the iPhone 5 running iOS 10.3.4 with Safari have limited support for modern CSS features like gap in flexbox layouts. Here's how to make layouts look consistent on those devices using Webflow.
gap on Older iOS
gap in flexbox layouts.gap is supported with CSS Grid but only on Safari 12.1+.gap.
gap in Flex Layouts
gap, add margin to your child elements:
:last-child style selector.
gap values inside flex containers.
To support gap on older devices like iPhone 5 with iOS 10.3.4, do not rely on flexbox gap in Webflow. Instead, use manual margins on child items and remove them on the last item using selectors to ensure consistent layout.