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.
The goal of this project was to manipulate CSS and HTML to display a QR code to scan, and make it simple, beautiful, accessible and responsive.
- Solution URL: FrontEnd Mentor
- Live Site : Vercel App
- Create boxes to contain both image and text, and a larger one which will be at the center of the screen
- Center every elements inside their respectives boxes
- Center boxes
- Add finishing touches like fonts, border radius, colors...
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS is really just boxes that we create and customize as we wish
- It's possible to make a element size sensible to which size the screen is, instead of just doing it with percentage :
@media (max-width: 500px) {
.container {
min-width: 275px;
max-width: 275px;
width: 90%;
}
}
- Linkedin - Nathan CAZARD
- Frontend Mentor - @nathanc8