Is it possible to create a button that look like this in CSS:

Of course I don't mean using an image as background, I can easily do that. I'm talking about the webkit type of solution.
Is it possible to create a button that look like this in CSS:

Of course I don't mean using an image as background, I can easily do that. I'm talking about the webkit type of solution.
The short answer is yes, it can be done. I went ahead and gave it a shot.
These are the steps I took:
box-shadows, both outside and inset, to replicate the bitmap as close as possible. Note that I only used black and white (with varying alpha values) for the box shadows. This way you can easily change the color of the button by just changing thebackground-color.:beforeand:afterpseudo elements to include these in your css.The resulting image looks something like this (not exact, but pretty close I think):
And then I translated the drawing to css, by choosing 'copy css attributes' and manually adding the :before and :after elements and doing some fine tuning. This is the (unprefixed) css I came up with:
and a fiddle to demonstrate: http://jsfiddle.net/pn4qk3wL/