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
- Semantic HTML5 markup
- CSS custom properties
- Mobile-first workflow
I learned a lot about the differences between images and background-images and how they impact the layout. I also used CSS variables so that it can be applied globally
I want to improve more on how to adjust the size of the image.