align-content:

align-items:
1
2
3
4
5
6
7
8

<div class="container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
<div class="flex-item">5</div>
<div class="flex-item">6</div>
<div class="flex-item">7</div>
<div class="flex-item">8</div>
</div>

.container{
align-content: stretchflex-startflex-endcenterspace-betweenspace-aroundspace-evenly;
align-items: stretchflex-startflex-endcenterbaseline; }

Back to Home