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.
I used relative font sizing instead of pixels.
html {
font-size: 62.5%; // Makes 1rem equal to 10px
}
body {
font-size: 1.5rem; // Equivalent to 15px
}