Design comparison
SolutionDesign
Solution retrospective
i have problem with centering and positioning components and buttons dont align in some browsers (im using margin and specific values to positon elements) is there any better way to do that ?
Community feedback
- @khantmhtooPosted over 2 years ago
Try adding "align-items: center; min-height: 100vh" in the body selector to center the whole card. This way when its when its looking in vertical view its always looking from 100% of the view height. Besides that everything looks pretty nice and thx for the comment.
Marked as helpful1@mooryxPosted over 2 years ago@khantmhtoo tryed align-items but i forgot to specify the height thanx bro that was helpful
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