Skip to content

justify-content

Utilities for controlling how flex and grid items are positioned along a container’s main axis.

Class Effect
justify-start justify-content: flex-start;
justify-end justify-content: flex-end;
justify-end-safe justify-content: safe flex-end;
justify-center justify-content: center;
justify-center-safe justify-content: safe center;
justify-between justify-content: space-between;
justify-around justify-content: space-around;
justify-evenly justify-content: space-evenly;
justify-stretch justify-content: stretch;
justify-baseline justify-content: baseline;
justify-normal justify-content: normal;
justify-content: Startjustify-content: Start
justify_demo("justify-start")
justify-content: Centerjustify-content: Center
justify_demo("justify-center")
justify-content: Endjustify-content: End
justify_demo("justify-end")
justify-content: Space betweenjustify-content: Space between
justify_demo("justify-between")
justify-content: Space aroundjustify-content: Space around
justify_demo("justify-around")
justify-content: Space evenlyjustify-content: Space evenly
justify_demo("justify-evenly")