TAG
CSS
Result
Run
License
<ul class="wrap"> <li>Item1</li> <li>Item2</li> <li>Item3</li> <li>Item4</li> <li>Item5</li> </ul>
.wrap { display: flex; padding-left: 0; gap: 0 2px; height: 100px; justify-content: center; border: 1px solid #999; } .wrap > li { flex: 0 0 auto; display: block; background-color: #EAEAEA; flex-basis: 10%; height: 50px; align-self: center; }
Console
expand_less
License
License
by DevDic
Close