Skip to content

potpot89/QrCodeComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - QR code component solution

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.

Table of contents

My process

  1. in the head link all stylesheet. I always use 3 ayt least:
  • reset.css to remove all standard paddings and margins;
  • styles.css to add all my styles when building the projects;
  • queries.css to put all @media-queries
  1. start from the mobile version (we will make changes for the desktop version later, with the queries.css stylesheet);

  2. In styles.css create the variables for colors and fonts;

  3. Move the footer to the bottom with position: fixed and bottom: 0;

  4. Make a div to store all content, set to width: 375px (mobile width);

  5. Make the image fit in the div (width: 100%);

  6. Center the text and add padding;

  7. Set colors using the variables created at point 3;

  8. Set all paddings and border-radius;

  9. Center on the page with flexbox (create flex container with height set to 100vh)

11.Adjust media-queries for responsive design for desktop

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published