Understanding this concept is best demonstrated through the image provided below. Notably, there are 3 divs aligned next to each other with a fixed width but varying heights.
In the event that I introduce a 4th div, my preference would be for it to fit under the 2nd div if space allows.
I envision subsequent divs optimizing available space by fitting in where possible, utilizing it efficiently.
I recall witnessing a jQuery plugin achieving this functionality before, yet I am unsure of the specific technique or name associated with it!
Your insights are greatly appreciated.