QR Code component design using HTML and CSS

Solution retrospective
Just want to know tips and tricks for vertically aligning div in the page. Thank you.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @CyrusKabir
Hello @pjortega0225, for centering things I highly recommend read this two articles :
Marked as helpful - @imadvv
Greetings JP!! Congratulations on completing this challenge!, maybe the easy way is to use either
flex
orgrid
, for example you can removemargin-top: 150px;
frombody
and display itflex
as flowdisplay: flex; flex-direction: column; min-height: 100vh; align-items: center; }
over all you did will!! Keep up The Good Work
Marked as helpful
Join 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