2021-02-14
Shadow around multiple elements
The css property box-shadow is not optimal in all situations. For example, when creating a speach bubble, a box shadow will only apply to the box, not the arrow.
To make both the box and the arrow have the same shadow you can use:
filter: drop-shadow(.1rem .1rem .1rem rgba(0,0,0,.5));
Comments