TAG
CSS
Result
Run
License
<div class="wrapper"> <div>A</div> <div>B</div> <div>C</div> </div>
.wrapper { width: 200px; height: 100px; display: grid; grid: auto / auto auto auto; border: 1px solid #CCC; align-content: flex-start; } .wrapper > div:nth-child(1) { background-color: #80e1f2; } .wrapper > div:nth-child(2) { background-color: #f9ee9a; } .wrapper > div:nth-child(3) { background-color: #EAEAEA; }
Console
expand_less
License
License
by DevDic
Close