@idaomoumi
Posted
Hi there! Have you tried this for centering your card horizontally and vertically? margin: 0 auto; margin-top: 20vh; or min-height: 100vh; so that it occupies 100% of the viewport height?
Then you don't need to use flex or grid.
Marked as helpful
@ughvop
Posted
sorry for answering this late lol,
margin-top 20vh; did help for desktop screen size which is wonderful but not in use for mobile screen, it leaves a huge space on top. thanks a lot! @idaomoumi