flex to both side of div code example
Example 1: flex align children to side
flex-direction: column;
align-items: flex-start; //left
align-items: center; //center
align-items: flex-end; //right
Example 2: display two divs side by side flexbox
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}