@ughvopSubmitted almost 2 years ago
I didn't center the component horizontally, 'cause I didn't want to complicate my first challenge by using flex or grid. Is there anyway I can center it without these two annoying layout?
I didn't center the component horizontally, 'cause I didn't want to complicate my first challenge by using flex or grid. Is there anyway I can center it without these two annoying layout?
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.