QR Code Component

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@kaamiik
- Wrap all of your content after the body inside a
main
tag.
- Try to use a proper CSS reset at the start of your CSS style. Andy Bell and Josh Comeau both have a good one. You can simply search on the internet to find them.
- Your
max-width
should be in rem unit.
- Use this to centralize your card and remove the
margin: 100px auto 0;
. The padding is for a little distance from the left, right, top and bottom.
body { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; // other codes }
Marked as helpful - Wrap all of your content after the body inside a
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