Reputation: 4349
is there a way using CSS3 to get an inset/inner dropshadow on a text inputbox? The inset code below will only do boxes
-moz-box-shadow:inset 0 0 10px #000000;
box-shadow:inset 0 0 10px #000000;
Upvotes: 12
Views: 46606
Reputation: 47667
Try this - http://jsfiddle.net/3TYTt/
input {
-webkit-box-shadow:inset 0 0 10px #000;
-moz-box-shadow:inset 0 0 10px #000;
box-shadow:inset 0 0 10px #000;
background: transparent;
}
Upvotes: 18