-webkit-box-shadow:inset-moz-box-shadow:insetbox-shadow:inset
-webkit-box-shadow:-moz-box-shadow:box-shadow:
display: block; margin: 0 0 20px; width: 122px; height: 35px; border-right: solid 1px #666666; text-align: center; font-size: 13px; color: #eeeeee; font-family: "Myriad Pro", Helvetica, sans-serif; line-height: 35px; float: left; text-shadow: 0px -1px 0 #444444, 0px -1px 0 #444444, 0px 0px 0 #444444, 0px 0px 0 #444444; -webkit-border-top-left-radius: 4px; -moz-border-top-left-radius: 4px; border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; background-image: -webkit-gradient(linear, 0% 50%, 0% 51%, from(#878788), to(#676767)); background-image: -webkit-linear-gradient(top, #787878, #777777 49%, #565656 50%, 777777); background-image: -moz-linear-gradient(top, #787878, #777777 49%, #565656 50%, 777777); background-image: -ms-linear-gradient(top, #787878, #777777 49%, #565656 50%, 777777); background-image: -o-linear-gradient(top, #787878, #777777 49%, #565656 50%, 777777); -moz-box-shadow:inset 10px 10px 10px #888888; -webkit-box-shadow:inset 10px 10px 10px #888888; box-shadow:inset 10px 10px 10px #888888; -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px; -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px; box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px;
don't seem to work in Safari 5.1, though
does work.
Any other way to have an "inner shadow"?
Tip: http://css-tricks.com/snippets/css/css-box-shadow/
I guess I could add a class for the insets. Would that work?
You can also remove -webkit-border-radius as webkit supports non-prefix.