📖 Mobile First Web Design / Module: Responsive with Media Query
Flexbox layout
📖 Mobile First Web Design / Responsive with Media Query / Flexbox layout
* {box-sizing: border-box;} ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; } li { border: 1px solid red; flex: 0 1 33.33333%; /* (1) */ padding: .5em; }