justify-content: flex-end

The CSS flexbox offers powerful alignment options to users. A flex container groups multiple flex items together in order to control their representation.

Among the many properties offered by the flex container, one of the most widely used properties is justify-content.

svg viewer

flex-end is a value that can be assigned to the justify-content property and will align all the flex items to the right end of the container, as shown below:

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved