1. Set the style on the parent box
1.display:flex; Let the box change Into a telescopic box
2.flex-direction control the direction of the main axis
flex-direction:row horizontally
1. Set the style on the parent box
1.display:flex; Let the box change Into a telescopic box
2.flex-direction control the direction of the main axis
flex-direction:row horizontally
One, what is flex layout?
CSS3 introduced a new layout method flex-box layout (flexible box model layout).
1) The element with the flex layout is called the flex container, and its chil