TAG
CSS
Result
Run
License
<div class="wrapper"> <div>A barking dog never bites.</div> <div>Good words cost nothing.</div> <div>Secret of success is constancy to purpose.</div> </div>
.wrapper { width: 400px; height: 200px; display: flex; border: 1px solid #CCC; align-items: flex-start; } .wrapper > div:nth-child(1) { background-color: #80e1f2; } .wrapper > div:nth-child(2) { background-color: #f9ee9a; align-self: center; } .wrapper > div:nth-child(3) { background-color: #EAEAEA; } .wrapper > div { width: 100%; flex: 1; }
Console
expand_less
License
License
by DevDic
Close