Shadow. on container

Hi there,

I wondered if it is possible to only have shadow on one side, I want the top shadow but not the bottom shadow?

Please let me know,

Thank you

2 Likes

Hi @Ryan_Crosbie

there are two possible solutions that you may also want to combine:

  1. Adjust the shadow’s Y offset to be the opposite of your Blur and Spread value, so for example if you have Blur = 10px, set Y offset = -10px. Depending on the shadow you have this might already be enough and do the job
    AND/OR
  2. Cover the bottom shadow with another element that immediately follows the shadow element and has a background

Hope that helps!

3 Likes

Great one, @AndyG :raised_hands: