bootstrap - Justify content

Yuri Lee·2020년 11월 30일
0

Justify content

Use justify-content utilities on flexbox containers to change the alignment of flex items on the main axis (the x-axis to start, y-axis if flex-direction: column). Choose from start (browser default), end, center, between, or around.

<div class="d-flex justify-content-start">...</div>
<div class="d-flex justify-content-end">...</div>
<div class="d-flex justify-content-center">...</div>
<div class="d-flex justify-content-between">...</div>
<div class="d-flex justify-content-around">...</div>

https://getbootstrap.com/docs/4.4/utilities/flex/#justify-content

profile
Step by step goes a long way ✨

0개의 댓글