user1026090 user1026090 - 1 year ago 119
CSS Question

inset box-shadow for inputfield

Can an inset box-shadow work on an inputfield?


Answer Source

Yes, this is something I was working on the other day, it is indeed possible.

  box-shadow:inset 0 0 5px 5px #888;
  background: #fff;

You just need to have a background set for the shadow to fall onto :)