Skip to content

arman-anm/qr-code-component-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

As Salamu Alaikum! 👋

This is my solution to the QR code component challenge on Frontend Mentor. To view the live site Click Here.

Table of contents

Overview

I've embarked this challenge to brush-up my HTML & CSS skills.

Screenshot

Screenshot of my finished product

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox (to center the card)
  • Mobile-first workflow

What I learned

  • Centering an element in HTML is freaking hard for me. There must be something wrong, everytime😏

This time, luckily it worked😇😇

  display: flex;
  flex-direction: column;
  min-height: 90vh; /* Without height property the card won't align horizontally */
  justify-content: center;
  align-items: center;

Useful resources

Get Connected