Responsive page, Flex, Scss.

Solution retrospective
I struggled a bit with the overlay. Although I was able to the it working, I don't think I did it in the best way. I'd appreciate feedback on how to create image overlay the right way. I'd also appreciate comments on best practices too.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @correlucas
👾Hello @Ayodelearog, Congratulations on completing this challenge!
Great code and great solution! I’ve few suggestions for you that you can consider adding to your code:
The box-shadow is a bit too strong, this is due the
opacity
andblur
. The secret to create a perfect and smooth shadow is to have low values foropacity
and increaseblur
try this value instead:box-shadow: 12px 7px 20px 6px rgb(57 75 84 / 8%);
If you’re not familiar to box-shadow you can use this site to create the shadow design and then just drop the code into the CSS: https://html-css-js.com/css/generator/box-shadow/
✌️ I hope this helps you and happy coding!
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