https://github.com/ogshawnlee/stats-preview-card-component
Solution to the Stats Preview Card Component challenge by Frontend Mentor. Built with Svelte + WindiCSS + Vite.
https://github.com/ogshawnlee/stats-preview-card-component
Last synced: 11 months ago
JSON representation
Solution to the Stats Preview Card Component challenge by Frontend Mentor. Built with Svelte + WindiCSS + Vite.
- Host: GitHub
- URL: https://github.com/ogshawnlee/stats-preview-card-component
- Owner: OGShawnLee
- Created: 2022-04-06T22:24:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-17T17:37:05.000Z (over 3 years ago)
- Last Synced: 2025-01-08T06:38:04.587Z (12 months ago)
- Language: Svelte
- Homepage: stats-preview-card-component-ogshawnlee.vercel.app
- Size: 475 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Stats preview card component solution
This is a solution to the [Stats preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/stats-preview-card-component-8JqbgoU62). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Frontend Mentor - Stats preview card component solution](#frontend-mentor---stats-preview-card-component-solution)
- [Table of contents](#table-of-contents)
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Author](#author)
## Overview
### The challenge
Users should be able to:
- View the optimal layout depending on their device's screen size
### Screenshot

### Links
- Solution URL: [Right here!](https://www.frontendmentor.io/solutions/fully-responsive-stats-preview-card-built-with-svelte-and-windicss-rkEGyRF4q)
- Live Site URL: [Deployed on Vercel](https://stats-preview-card-component-seven-virid.vercel.app/)
## My process
### Built with
- Semantic HTML5 markup
- Svelte
- Flexbox & Grid
- WindiCSS
- Vite
### What I learned
I had trouble adding the color overlay to the image, but after a little bit of googling I found the mix-blend-multiply className.
```html

```
### Useful resources
- [Two ways to achieve an image color overlay](https://dev.to/ellen_dev/two-ways-to-achieve-an-image-colour-overlay-with-css-eio) - This helped me with the image color overlay.
## Author
- Frontend Mentor - [@Shawn Lee](https://www.frontendmentor.io/profile/OGShawnLee)