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: Code from GitHub
- Live Site URL: My Site
- Semantic HTML5 markup
- CSS custom properties
One of the things I learned was how to use media queries to modify my design to fit the right size.
@media (max-width:375px) {
.container {
width: 330px;
height: 500px;
border-radius: 50px;
margin: 50px auto;
}
img {
width: 250px;
height: 250px;
border-radius: 10px;
margin: 10% 10% 5%;
}
h1 {
font-size: 20px;
line-height: 1.5;
}
.text {
width: 250px;
margin: 0 auto;
}
}
I want to focus on learning and gaining knowledge about more CSS properties and styling my designs as well as gaining knowledge about mobile design.
- Frontend Mentor - @Juan130501