QR code component with pure HTML and CSS

Solution retrospective
_
What challenges did you encounter, and how did you overcome them?_
What specific areas of your project would you like help with?I feel the font looks a little bit different from what's available in Figma. I "THINK" I'm specifying the same properties, such as font-family
, font-weight
, etc.,
as in Figma, so I'm wondering where the difference comes from.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Emazs
Hi yasunori, I hope you are well, good design, I liked it, I would only say that you should add two little things:
-
In the body you could add
height: 100vh;
andalign-items: center;
, to center the card and depending on the height of the screen this is centered. -
align-items: https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
-
unit of
vh
: https://www.w3schools.com/cssref/css_units.php
Now about the title font, it seems to me that it is the same font, what you could do is to increase the weight to 800 and decrease the font size.
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