CSS - Flexbox (axe principal)

Page 20

#box {
    display: flex;
    justify-content: flex-start;
    border: 2px solid purple;
}

/* justify-content: flex-end */

/* justify-content: center */

/* justify-content: space-between */

/* justify-content: space-around */




#box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border: 2px solid purple;
}
        
Element 1
Element 2
Element 3
Element 1
Element 2
Element 3
Element 1
Element 2
Element 3
Element 1
Element 2
Element 3
Element 1
Element 2
Element 3
Element 1
Element 2
Element 3