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

HTML and CSS challenge using grid and flex.

@Mirna-Latif

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


Please be free to comment or add in advice.

Community feedback

Adriano 34,090

@AdrianoEscarabote

Posted

Hi Mirna-Latif, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:

To get closer to the photo overlay effect, you'd better use mix-blend-mode. All you need is the div under the image with this background color: hsl(277, 64%, 61%); eposition mix-blend-mode: multiply and opacity: 80% on the image or apply image to activate the overlay by blending the image with the div's color. See the code below:

img {
    mix-blend mode: multiply;
    opacity: 80%;
}

You can read this content which is explaining these effects with mix-blend-mode: click here

I noticed that in higher resolutions the content is growing and harming the design of the page, to solve this we can do the following:

main {
    max-width: 1000px;
}

The rest is great!

I hope it helps... 👍

Marked as helpful

0

@Mirna-Latif

Posted

@AdrianoEscarabote Thank you very much for your comment, it is very helpful.

1

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