I am trying to apply a box shadow to an img
element and I have its container with padding:0px
so it is pretty tightly constrained. Consequently, its box-shadow is unable to overflow out and is just kind of crudely cut off.
Is there any remedy for this?
div.container { /* ... styles ... */ overflow:visible; }
http://jsfiddle.net/SExPg/
My suggestion would be to just make the shadow smaller OR make the image smaller so you can have more shadow showing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With