Set a inset box shadow in css3

106 views Asked by At

I use css3 in my web projects but i don't know how to set a inset little shadow on the top of the box ? I tried to set this following code for ex :

box-shadow:inset 0px 0px 10px #fff

Thanks

1

There are 1 answers

0
George On

How about something like this:

box-shadow: inset 0px 10px 10px -2px #FFF;

JSFiddle