Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The 'justify-content' property's space-evenly value spreads the space between items evenly. It is similar to space-around, however it gives equal room on the edges rather than half-sized space. It can be used in both CSS flexbox and CSS grid.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
no
Applies to
flex containers
Initial value
normal
Animation type
discrete
Computed value
as specified
CSS Box Alignment Module Level 3 # align-justify-content CSS Flexible Box Layout Module Level 1 # justify-content-property
/* Positional alignment */
justify-content: center;
/* Pack items around the center */
justify-content: start;
/* Pack items from the start */
justify-content: end;
/* Pack items from the end */
justify-content: flex-start;
/* Pack flex items from the start */
justify-content: flex-end;
/* Pack flex items from the end */
justify-content: left;
/* Pack items from the left */
justify-content: right;
/* Pack items from the right */
/* Baseline alignment */
/* justify-content does not take baseline values */
/* Normal alignment */
justify-content: normal;
/* Distributed alignment */
justify-content: space-between;
/* Distribute items evenly The first item is flush with the start, the last is flush with the end */
justify-content: space-around;
/* Distribute items evenly Items have a half-size space on either end */
justify-content: space-evenly;
/* Distribute items evenly Items have equal space around them */
justify-content: stretch;
/* Distribute items evenly Stretch 'auto'-sized items to fit the container */
/* Overflow alignment */
justify-content: safe center;
justify-content: unsafe center;
/* Global values */
justify-content: inherit;
justify-content: initial;
justify-content: revert;
justify-content: unset;
CSS justify-content: space-evenly on IE is not supported on any IE versions.
CSS justify-content: space-evenly on Edge is fully supported on 79-111, partially supported on 16-18, and not supported on 12-15 Edge versions.
CSS justify-content: space-evenly on Firefox is fully supported on 52-113, and not supported on 2-51 Firefox versions.
CSS justify-content: space-evenly on Chrome is fully supported on 60-114, partially supported on 57-59, and not supported on 4-56 Chrome versions.
CSS justify-content: space-evenly on Safari is fully supported on 11-16.4, partially supported on 10.1-10.1, and not supported on 3.2-10 Safari versions.
CSS justify-content: space-evenly on Opera is fully supported on 47-95, partially supported on 44-46, and not supported on 9.5-43 Opera versions.
CSS justify-content: space-evenly on Safari on iOS is fully supported on 11-16.4, partially supported on 10.3-10.3, and not supported on 3.2-10 Safari on iOS versions.
CSS justify-content: space-evenly on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
CSS justify-content: space-evenly on Opera Mobile is fully supported on 64-73, and not supported on 10-12 Opera Mobile versions.
CSS justify-content: space-evenly on Chrome for Android is fully supported on all Chrome for Android versions.
CSS justify-content: space-evenly on Firefox for Android is fully supported on all Firefox for Android versions.
CSS justify-content: space-evenly on Samsung Internet is fully supported on 8.2-20, partially supported on 7.2-7.2, and not supported on 4-6.2 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS justify-content: space-evenly shows a browser compatibility score of 92. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS justify-content: space-evenly & more
Test your website for CSS justify-content: space-evenly and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?