How to set the height of the parent element of the waterfall flow?

because the child element is absolutely positioned, the parent element is highly collapsed, because the waterfall flow layout is adopted with JS, and now the problem is, you need to set the height of the parent element. What should I do?

Mar.07,2021

has been solved, that is, the value of the highest element of the array

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35a54-40fef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35a54-40fef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?