Inner div to have height 100% inside a container of height auto
问题 I'm struggling to get a div to expand fully to it's container's height. Markup: <div class="container"> <div class="innerOne inner"></div> <div class="innerTwo inner"></div> </div> At different viewports .innerTwo 's content is taller than that of .innerOne 's but I would like it's background to be the same size as .innerTwo 's Styles: .container { width: 100%; height: auto; background-color: yellow; /* clearfix */ *zoom: 1; &:before, &:after { display: table; content: ""; line-height: 0; } &