I’m having some difficulty placing items where I want them in a flex container. The container itself has the following settings:
height: 100vh;
display: flex;
Justify-content: center;
I want the logo centered vertically and the address div to sit flush at the bottom of the container.
https://codepen.io/randometc/pen/djOpzN
So far I’ve been unable to get the address div to sit flush at the bottom of the container. I’ve tried 2 things but neither worked.
First I tried
align-self: flex-end;
That did nothing and I don’t understand why.
Second thing I tried for the was this
margin-top: auto;
That puts the address at the bottom but pushes the logo itself up to the top.
How can I have the logo in the center vertically and the address div at the bottom using flex properties!?
Thanks for the help