1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
* { box-sizing: border-box; } body { height: 100vh; } h1{ text-align: center; margin-top: 20px; } .main{ display: flex; flex-wrap: wrap; max-width:1100px; margin:auto } .main div{ width: 33.3%; }