CSS shadow change side

91 Views Asked by At
-moz-box-shadow: inset 3px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset 3px 3px rgba(0,0,0,0.5);
box-shadow: inset 3px 3px rgba(0,0,0,0.5);

this makes an inset shadow on the top, and left. I can't figure out to make it on the bottom and the right instead!

1

There are 1 best solutions below

0
On BEST ANSWER

Make the position values negative:

-moz-box-shadow: inset -3px -3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset -3px -3px rgba(0,0,0,0.5);
box-shadow: inset -3px -3px rgba(0,0,0,0.5);