Check out this code on CodePen
In my current project, I'm attempting to position the footer div at the bottom of the page in such a way that it aligns with the maximum value of the bottom coordinates of both the menu and content divs (Math.max(menu, content)
).
However, when I expand all three menus (causing the menu height to exceed that of the content), this calculation results in a value that is smaller than the actual bottom value of the menu (but larger than the content's bottom value).
I appreciate any assistance or guidance you can provide. Thank you!