8000 GitHub - morifusa/qr-code: CSS practice for center aligned web and mobile design
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

morifusa/qr-code

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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

This is a first project to design CSS based on the designed image files. The challenge is to understand how to ude Google font, padding and margin to looks closed to the original design files for web and mobile.

Screenshot

mobile size web size

Links

My process

First of all, upload original web and mobile design file onto Figma and trace the design. Identify size of corner radius, font, and margin. Second, define CSS class for each property. At last, fine tune using Browser Web tool to try & error to fit and finish.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Mobile-first workflow

What I learned

How to apply corner radius to the placed images. How margin, padding works. How to use Google font. How to use responsive design.

Continued development

I'm still learning when to use margin and when to use padding to tthe design. Also, for responsive design, I'm still not figure out when to use hard corded font side or relative font size.

Since this is one column layout, it's simple. I'd like to try more complex multiple colummn layout with header and footer design.

Useful resources

https://www.w3schools.com/ https://developer.mozilla.org/ https://stackoverflow.com/

Author

About

CSS practice for center aligned web and mobile design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
156D
0