*{ margin: 0; padding: 0; list-style: none; } ul{ display: flex; flex-wrap: wrap; justify-content: space-around; } li{ flex:1; min-width: 100px; margin:10px; background: #fff; border: 1px solid #eee; font-size: 50px; padding: 30px; }