Can I start new row of CSS table cells without a row wrapper element? -
given markup this:
<div class="a">a</div> <div class="b">b</div> <div class="a">a</div> <div class="b">b</div> <div class="a">a</div> <div class="b">b</div> is possible style document this:
|-------|---------| | | | | | b | | | | |-------|---------| | | | | | b | | | | |-------|---------| | | | | | b | | | | |-------|---------| (and if content in or b longer, neighbor grow match height)…
without additional markup?
i understand giving .a , .b display value of table-cell make 1 big row.
what’s solution?
not without flexbox, hasn’t landed in several major browsers yet, seems consensus.
Comments
Post a Comment