Box shadow that includes pseudo elements
When using box-shadow with a pseudo element outside the element, you usually see that the shadow isn't applied on the pseudo element.
Instead of using box-shadow, you can use webkit filter, and then, your pseudo element will "receive" the shadow
Written by Faz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#