Since your elements are of position absolute, you'd have to incorporate some logic in your JS to handle that.   E.g. set up a variable and in the forEach-loop over your elements check if the  current element's height is higher than that variable. If it is higher, set that variable to the current element's height - that way you'd make sure that you end up with the tallest element's height for that variable, which you could then use to set the height of everything that needs to have that
    • Like