Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Jess W
Jess W
4,391 Points

Justify-content: flex-end; VS Justify-content: end; ?

When using Flexbox, is there much of a difference in the code whether to use Justify-content: flex-end; VS Justify-content: end? As they both still result in the container being positioned at the end? Same goes with the justify-content: start;

2 Answers

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Hey Jess W ! 👋

Great question! justify-content: flex-end actually has better browser support and is more widely used in Flexbox layouts. justify-content: start and justify-content: end are not supported in some browsers for Flexbox, including Chrome, Edge, and Opera. 👍

Jess W
Jess W
4,391 Points

Good to know. Thank you! :D