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.
- Live Site URL: URL
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
Glad to finally have a better understanding of css flexbox. This the css for the QR Code's content
.content {
display: flex;
flex-direction: column;
justify-content: center;
width: 250px;
margin: auto auto; /* Center the QR Code Component*/
background-color: #fff;
padding: 12px; /* white edge around the card */
border-radius: 15px;
box-shadow: 0 7px 30px rgba(0, 0, 0, 0.2);
}
- I'd like to get more comfortable turning a design into code (with more practice)
- I'd also like to get better with dimensioning for web projects
- Jonas Schmedtmann's Build Responsive Real-World Websites with HTML and CSS - Lesson on shadows - This helped me with making the shadow behind the QR Code. I definitely still need more practice with this.