Flex items evenly spaced but first item aligned left
Instead of using justify-content: space-around, use auto margins on the items. By giving each flex item margin-right: auto, container space will be distributed evenly between items (like justify-content), but the first item will remain at the left border edge. flex-container[one] { display: flex; justify-content: space-around; border: 1px dashed green; } flex-container[one]>flex-item { background-color: lightgreen; } … Read more