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

stats preview card component main

CoderPr0 645

@CoderPr0

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


This is my next work, I'm not quite sure what color I am suppose to use for overlay. Any feedback or tips would be appreciated.

Community feedback

Harry 115

@iHarryD

Posted

You shouldn't use that technique to create overlays, instead use before/after pseudo elements.

Marked as helpful

1

CoderPr0 645

@CoderPr0

Posted

@iHarryD Alright, thank you. I'll look into it and make changes. Btw could you let me know why this technique shouldn't be used?

0
Harry 115

@iHarryD

Posted

@CoderPr0 Using before/after pseudo elements to create overlays is just more efficient and requires lesser code. You wouldn't need to create an external container to contain the images.

Marked as helpful

1
CoderPr0 645

@CoderPr0

Posted

@iHarryD Ok I get it now, thx man.

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