Creating Buttons that Appear Raised in CSS
I'm converting an image based button into a CSS only button for an application that I'm working on. Here's an example of the current image:
And here's where I'm at so far: http://dabblet.com/gist/3098607
What I'm having trouble replicating is the fact that the button has a shadow that makes it appear Raised up a little. I've had no luck trying to replicate this with
Anybody have any ideas how I can get replicate this effect? Any help would be appreciated.
Try to use http://css3ps.com/ — this service can try to mimic your photoshop layer style. Also there is alternative PS plugin http://csshat.com/ (but not free), that helped me alot.
Created JSFiddle, trying to implement you button in CSS3. Please, write some feedback — are these the droids you're looking for?
Maybe shadow must be displaced to the left by 1px, but that's not the point.
Or, maybe (I am repeatedly rereading question trying to figure out necessary behaviour), you'll like this: click.
This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here