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.
- Semantic HTML5 markup
- CSS
Positioning element in center using transform() function.
.example {
transform: translate(-50%, -50%);
}- w3schools - Tips from this site helped me centering component in the middle vertically and horizontally.
- MDN Web Docs - This site helped me understood the behavior of translate() function in detail.
- Frontend Mentor - @YeMin-dev
- Twitter - @YeMinKhant19
