Im not very much familiar with flex box but i assumed the following would give me the result i need,i need to give left side of the page to items(cards)but the way they position should be next together :
div class="flexContainer">
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
<mat-card class="turbineIcons"></mat-card>
</div>
here is my class for the main div:
.flexContainer{
width: 50%;
}
.turbineIcons{
background-color:white;
margin: 1em;
height: 20px;
width: 20px;
}
this shows all the items verticaly placed on the left side of the page