I would like to ask how height and float work. I have an outer div and an inner div that has content in it. Its height may vary depending on the content of the inner div but
Try this one
.parent_div{ display: flex; }