Skip to content

This is a solution to the Stats preview card component challenge on Frontend Mentor.

Notifications You must be signed in to change notification settings

anhoang241998/Stats-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Stats preview card component solution

This is a solution to the Stats preview card 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

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size

Screenshot

Design for stats-preview-card-component-main

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

  • In this project I learned how to use CSS Flexbox and grid together to achieve the required design.
  • Moreover I also learned to use media queries for responsive web design.
.img-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  background-color: rgba(170, 92, 219, 0.6);
}

Continued development

  • Though I learned using media queries, but in the future, I will improve to make a good design for all screen sizes.
  • Moreover, I will learn reactJS and bootstrap to make this design quickly and more beautiful.

Author

About

This is a solution to the Stats preview card component challenge on Frontend Mentor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published