I have a login card that I designed using angular materials, whenever I run it on the page the content sticks to the left of the page.
I tried using flex
flex
Fixed it by using Very simple Flex
.main-div{ height: 100vh; display: flex; justify-content: center; align-items: center; }
and wrapping everything with a class
Login 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复