# Set drop shadow via formula

**URL:** <https://community.weweb.io/t/set-drop-shadow-via-formula/8940>\
**Category:** Tips and Hacks\
**Tags:** design\
**Created:** [June 3, 2024, 8:56pm UTC](https://community.weweb.io/t/set-drop-shadow-via-formula/8940 "2024-06-03T20:56:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayjay13](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jayjay13](https://community.weweb.io/u/jayjay13)\
**Post date:** [June 3, 2024, 8:56pm UTC](https://community.weweb.io/t/set-drop-shadow-via-formula/8940/1 "2024-06-03T20:56:19Z")

</div>

In case somebody is also looking for this:

Had too look a bit for the exact format (forgot about the “expected format” hint on the formula) but here is the format to set a shadow with a formula:

```auto
"0px "+"0px "+"8px "+"4px "+ "color" 

```

(just change color after the last + to your specific shadow color

here how it looks like in a fomula:  
 ![Bildschirmfoto 2024-06-03 um 22.50.39](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/3cc9708e5baadc15d15f0460aec110031b22c72a.png)
