Submitted over 1 year ago
QR CODE component with vanilla HTML and CSS
@guilhermecampina
Design comparison
SolutionDesign
Solution retrospective
Well, this challenge was very easy and I had no difficulty even being a beginner but I need to take a look at media query and responsiveness because I confess that I only did with desktop dimensions.
Community feedback
- @Bader-IdrisPosted over 1 year ago
You can set the container in the middle of the screen whatever user changes it when you add these properties to it in CSS:
.container { display: absolute; top:50%; left: 50%; transform: translate(-50%, -50%); }
the new feature is transform, it has many lovely properties you can discover, I personally love it. Hope it's useful
Marked as helpful0@guilhermecampinaPosted over 1 year ago@Bader-Idris Thanks for the feedback man, I'll take a look at it for sure!
1
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