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.
Users should be able to:
- View the optimal layout depending on their device's screen size
- Solution URL: Github Repository
- Live Site URL: Preview Website
- CSS custom properties
- CSS Filters
- Flexbox
- Mobile-first workflow
The biggest thing I learned with this project was how to apply filters to images in CSS.
Even though I don't have a complete grasp on how the different blend modes work, I found one that does what I need, and this is enough for now.
Here's the code snippet:
.mobile-image, .desktop-image {
fiLter: contrast(60%) brightness(115%);
mix-blend-mode: multiply;
}
I need some kind of system in which I can organize the different font sizes I need for a project, instead of having seemingly random numbers all accros the place.