I'm working with this menu http://codepen.io/alexandernst/pen/oxpGYQ (I wanted to include it here but the result viewer on SO is causing some display issues...) and I am trying to ensure that the second and third level ul
elements are the same height as the first level ul
and also align at the top position (which is set to top: 0
in this specific demo).
In simpler terms, my goal is to have all ul
elements start at the top of the row
div and occupy 100% of the height.
It's important to note that there could be a variable number of li
elements, making it impossible to hardcode the top
values for each ul
element to adjust its position.
I would prefer to find a solution without relying on Javascript, but if necessary, I'm open to considering an answer that includes JS.