Design comparison
SolutionDesign
Solution retrospective
I have one problem which is how to do the box shadowing in the design into code. Also, I am not sure if the background overlay when hovering the NFT image is an efficient way of doing it. Any feeback is appreciated!
Community feedback
- @GioCuraPosted over 1 year ago
Hi! 👋 The shadow in this challenge seems to be two layers on top of one another. So, in my solution, I input two sets of values separated by commas for my
box-shadow
, like so:box-shadow: rgb(0 0 0 / 3%) 0px 36px 15px 17px, rgb(0 0 0 / 5%) 0px 30px 20px 45px;
Hope this helps!
Marked as helpful1@Lemon1903Posted over 1 year ago@GioCura Ohhh I didn't know you could do that with box-shadow. I'll try it myself too, thank you!
0
Please log in to post a comment
Log in with GitHubJoin 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