across flexbox code example
Example 1: whats the best ways to 3 x 3 perfects squares on a webpage using flexbox
.parent {
display: flex;
height: 300px; /* Or whatever */
}
.child {
width: 100px; /* Or whatever */
height: 100px; /* Or whatever */
margin: auto; /* Magic! */
}
Example 2: what is the flex box
flexbox definition