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.
This project will help you to practice your CSS skills including responsive design.
Users should be able to:
- View the optimal layout depending on their device's screen size
-Desktop View
-Mobile View
- Solution URL: Solution URL here
- Live Site URL: Live site URL here
First I design this project as mobile-first approach and use semantic design
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
I learn about a css propertice which is mix-blend-mode that sets how an element's content should blend with the content of the element's parent and the element's background.
To see how you can add code snippets, see below:
img {
max-width: 100%;
mix-blend-mode: multiply;
}
figure {
background-color: hsl(277, 64%, 61%);
border-radius: 12px 12px 0px 0px;
height: 15.15em;
}- MDN - This helped me that here some property which is mix-blend-mode that you can mix an image and a background-color.
- Frontend Mentor - @troytitoyjose@gmail.com
- Twitter - @troytitoyjos@gmail.com

