23. Grid Layout 2

  - accepted / - tried

Layout the items in a grid so that:

  • items have minium width of 100px and fill up the space
  • place as many items in a row as possible
  • gap between items is 10px
<div class="container">
  <div class="item"></div>
  <div class="item"></div>
  <div class="item"></div>
</div>

1.width:100px

2.width:150px

3.width:250px

4.width:400px

(5)