Have you inspected the DOM to see if your login container is rendered to the DOM? I would bet that it's just your child containers of your Login container just don't have heights. Use flex : 1 on...