justify-content: space-evenly works in Chrome 60+, Edge 79+, Firefox 52+, Safari 11+, Opera 47+, and Samsung Internet 8.2+. See usage, fixes, and IE fallback.

Prince Dewani
May 6, 2026
justify-content: space-evenly is a CSS Box Alignment keyword that spaces items along the main axis of a flex, grid, or multicol container with equal gaps between items and at container edges. Chrome 60+, Edge 79+, Firefox 52+, Safari 11+ on macOS and iOS, Opera 47+, Samsung Internet 8.2+, and modern Android Browser support it, while Internet Explorer never added support.
This guide covers what space-evenly is, browsers that support it, how it differs from space-around and space-between, usage, and known issues.
justify-content: space-evenly is a CSS keyword from the W3C CSS Box Alignment Module Level 3. It places items along the main axis of a flex, grid, or multicol container so that the gap between any two adjacent items, the gap before the first item, and the gap after the last item are all the same.
Every modern browser supports justify-content: space-evenly, with global coverage around 96%. Chrome, Edge, Firefox, Safari, Opera, Samsung Internet, and the modern Android Browser all render the keyword on flex, grid, and multicol containers. Internet Explorer is the only mainstream browser that never added support.
Chrome supports justify-content: space-evenly from Chrome 60 on Windows, macOS, Linux, ChromeOS, and Android. Chrome 57 to 59 had partial support behind the experimental web platform features flag. Chrome 56 and earlier ignore the value and fall back to flex-start, so any user still on a pre-60 build sees a left-aligned row instead of even spacing.
Microsoft Edge supports justify-content: space-evenly from Edge 79 on Windows, macOS, and Linux, since that release moved the engine to Chromium. Legacy EdgeHTML versions 16 to 18 had partial support tied to the older flexbox implementation, and EdgeHTML 12 to 15 fell back to flex-start. Modern Edge tracks Chrome version-for-version on this keyword.
Firefox supports justify-content: space-evenly from Firefox 52 on Windows, macOS, Linux, and Android. Inline use on flex containers, grid containers, and multicol containers all render without any about:config preference. Firefox shipped the Box Alignment keyword ahead of Chrome, so projects targeting Firefox-only flex layouts could rely on it earlier.
Safari supports justify-content: space-evenly from Safari 11 on macOS and from Safari 11 on iOS. Safari 10.1 added partial support on flex containers only, so grid containers in that release ignore the keyword. Safari 10 and earlier fall back to flex-start and need a margin auto fallback for the same visual effect.
Opera supports justify-content: space-evenly from Opera 47 on Windows, macOS, and Linux, with partial support in Opera 44 to 46. Opera Mobile picks up the same keyword from Opera Mobile 80, since both browsers ride the Chromium engine. Opera Mini does not support space-evenly because the compressed mode strips advanced flexbox alignment.
Samsung Internet supports justify-content: space-evenly from Samsung Internet 8.2 on Galaxy phones and tablets, with partial support in Samsung Internet 7.2. Every shipping version after 8.2 picks up the same flex, grid, and multicol behavior as the matching Chromium release on Android.
The modern Android Browser, which tracks Chromium, supports justify-content: space-evenly out of the box. The legacy stock Android Browser on Android 4.x and earlier ignores the keyword and falls back to flex-start. On any current Android phone, Chrome for Android replaces the legacy stock browser, so justify-content: space-evenly renders the same as on desktop Chrome.
Internet Explorer does not support justify-content: space-evenly in any version. IE 10 and 11 implement an older flexbox draft and silently fall back to flex-start when the keyword appears. IE 9 and earlier ignore flexbox entirely. Microsoft has retired Internet Explorer 11, so move IE-targeted layouts to a margin auto fallback or to modern Edge.
Note: justify-content: space-evenly looks consistent in Chrome, but Safari, IE, and legacy Edge still trip layouts up. Test it on real browsers and OS with TestMu AI. Try TestMu AI free!
All three values distribute leftover space along the main axis of a flex, grid, or multicol container, but the gap pattern is different. The table below compares the three keywords on the dimensions that decide which one to reach for.
| Dimension | space-evenly | space-around | space-between |
|---|---|---|---|
| Gap at container edges | Same as gap between items | Half the gap between items | Zero, items hug the edges |
| Gap between items | Equal across every pair | Equal across every pair | Equal across every pair |
| Visual symmetry | Fully symmetrical, looks balanced | Edges feel tighter than the middle | Items pinned to both ends |
| Single-item behavior | Centers the item | Centers the item | Pins the item to the start |
| Browser support floor | Chrome 60, Firefox 52, Safari 11, Edge 79 | Chrome 21, Firefox 20, Safari 9, IE 11 partial | Chrome 21, Firefox 20, Safari 9, IE 11 partial |
| Best for | Nav bars, button rows, evenly spaced cards | Decorative spacing where edges should breathe less | Header layouts, two-end alignment, pagination |
Set display: flex or display: grid on the parent, then add justify-content: space-evenly. The parent must have free space along the main axis, otherwise the keyword has nothing to distribute and the items collapse to flex-start.
// Paste this into the DevTools console to confirm space-evenly support in this browser.
const probe = document.createElement("div");
probe.style.display = "flex";
probe.style.justifyContent = "space-evenly";
const computed = getComputedStyle(probe).justifyContent;
if (computed === "space-evenly") {
console.log("justify-content: space-evenly is supported in this browser.");
console.log("Computed value on the test element:", computed);
} else {
console.log("justify-content: space-evenly is NOT supported. Falling back to:", computed || "flex-start");
}
// Optional: render a live demo strip to eyeball the spacing.
const demo = document.createElement("div");
demo.style.cssText = "display:flex; justify-content:space-evenly; width:300px; padding:8px; border:1px solid #888;";
["A", "B", "C"].forEach(label => {
const item = document.createElement("span");
item.textContent = label;
item.style.cssText = "padding:4px 8px; background:tomato; color:#fff;";
demo.appendChild(item);
});
document.body.appendChild(demo);If the console prints that space-evenly is not supported, the browser is IE 11, legacy EdgeHTML, or a pre-Firefox 52 build. Every Chromium, Gecko, and WebKit release in active use logs a positive result.
justify-content: space-evenly is well supported on modern engines, but a small set of cross-browser quirks still bite real layouts. The common pain points are overflow behavior, IE fallbacks, RTL surprises, and Safari-flex edge cases.
In my experience, the trickiest production failure is overflow on mobile viewports. A nav bar that looks centered on a 1440px desktop drops behind the left edge on a 360px Android phone, because space-evenly stops centering once the items overflow. Always test the row at a 320 to 360px width on a real device before assuming the desktop result is the truth.
All justify-content: space-evenly version numbers and platform notes in this guide come from these primary sources:
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance