Coding task · HTML and CSS course · Module 4: Flexbox
Responsive Flexbox Grid
To create a grid with Flexbox, you need a container with display: flex and flex-wrap: wrap. The items inside should have a set width using flex-basis (e.g. 30%). Add gap for elegant spacing. It's like arranging hieroglyphs in even columns on a temple wall!
Task
Create a 3-column grid with 6 elements using display: flex, flex-wrap: wrap, and flex-basis: 30% on the child elements.