This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Solution URL: https://valleyman89.github.io/Frontend-Mentor-Solution-qr-code-component-using-HTML-CSS
Rather than complicate this with using a framework, I felt using HTML and CSS on their own would be sufficient.
- Semantic HTML5 markup
- CSS custom properties
I'm not entirely sure why
.card {
position: absolute;
top: 25%;
}
in (line 15, 16) worked - I was anticipating 50% to move to the centre of the page.
- GitHub - valleyman89
- Frontend Mentor - @valleym89