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

Reponsive with simple media queries, used flex for center elements

@salvagedscrap

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone,

I ve used flexbox in order to align items around, which I find it very useful for little projects. I m wondering what sort of property one must use in order to acquiere such box shadow thats shown in the example.

Thanks!

Community feedback

@erickcuenca

Posted

Hey!

Fantastic job. To answer your question, to get that effect. Use the CSS property “filter: drop-shadow(…)”.

Here’s some content explaining the difference between “box-shadow” and “drop-shadow” https://css-tricks.com/breaking-css-box-shadow-vs-drop-shadow/

Marked as helpful

0

@salvagedscrap

Posted

@erickcuenca

hey, thats awesome! thank you, that helped me a lot

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