Mark Dain
You know it's bad when you're thinking of using tables because you can't these damn divs to behave correctly
🏒 Lucian Marin
You can do that without flexbox or tables using this CSS class: .vertical-center { position: absolute; margin: auto; top: 0; left: 0; bottom: 0; right: 0; height: 100%; } Change height to any size that you want.
Martijn
I have 2 elements, the first of variable height, where the second needs to fill "the remaining space" vertically. But because I don't know the height of the first element for sure (due to the text possibly wrapping when the user change the window width) I can't set the `top` correctly for the second element.
Xasasfdasfd
You guys remind me of how much I have to be thankful for in that I'm working on a 100% back-end/infrastructure component at the moment. My UI is the command line!