krishna-vasudev / frontendmentorstatspagelayout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Desktop view:

Mobile view:

Links

My process

Built with

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

What I learned

It was a great project of css. The most difficult part was creating the overlay of image which is responsive. So i used a trick in which i recreated the overlay over image using css which was not responsive but overlapping the whole image, took screenshot and saved it in png format and used it. Hope this trick will help others too.

✍️Author

📜License

This software is open source, licensed under the MIT License.

About

License:MIT License


Languages

Language:HTML 53.8%Language:CSS 46.2%