Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Stat Card Using HTML & CSS With FlexBox

@Ragu-The-Developer

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Here i am created an stat card using HTML & CSS with flexbox also here some doubts is how we can create an html tag that have image and contents look same and in same line and what properties must be used? also the image color which didn't change.

Community feedback

@georgebleyer

Posted

Hello,

Congratulations on completing this challenge. Here are some tips on how you can make the image purple:

In the HTML

<picture></picture>

In the CSS

picture{
     background: url("../images/image-header-mobile.jpg");
     background-color: hsl(277, 64%, 61%);
     background-blend-mode: multiply;
}

The <p> you can include a opacity: 60%; to make it more like the project.

I hope it helped.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord