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

Overview

The challenge

Users should be able to:

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

Screenshot

Links

My process

HTML then CSS (add a "reset.css" to have a clean start)

Built with

  • HTML
  • CSS (Flexbox)

What I learned

To use padding with Flexbox (it's kinda tricky) and to put a filter in front of images.

Author