TAG
CSS
Result
Run
License
<div class="wrapper"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> <div>Item 4</div> <div>Item 5</div> <div>Item 6</div> <div>Item 7</div> <div>Item 8</div> <div>Item 9</div> <div>Item 10</div> </div>
.wrapper { display: grid; width: 100%; max-width: 600px; min-width: 300px; background: #EAEAEA; grid-template-columns: repeat(3, 1fr); grid-gap: 3px; } .wrapper > div { background: #666; color: #FFF; padding: 10px; }
Console
expand_less
License
License
by DevDic
Close