html - CSS Stacked divs -
i have divs floating left, if see attached jsfiddle see im trying do, in fiddle there yellow box, need flush bottom of green box im not sure if possible?
is it? , if how may this? in advance!
try this jsfiddle. techincally, float .box
items right instead of left , getting self-filling columns in accordance content. so, in css add:
.box:nth-child(odd) {clear: left} .box:nth-child(even) {float: right; clear: right}
update
apparently solution doesn't work nice if have more these specific blocks. so, probably, jquery masonry way result.
Comments
Post a Comment