Design comparison
SolutionDesign
Community feedback
- @afaiz-spacePosted about 2 years ago
hey
- use flex or grid to align the object in the center of the body
body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
- remove the margin and width from the container class.
- remove the anchor tag and add
display: flex; align-items: center;
in the button element.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord