Tuesday, July 10, 2012

simple buttons for simple minds

Just a random note, as long as you don't mind cutting off IE8, you can get pretty decent button-looking divs in CSS now, with something like

box-shadow: 0 0 3px 3px #888888 inset;
border-radius: 7px 7px 7px 7px;
You can get
It even works as a button:

Attractive, and easier and more flexible than using a background image.

No comments:

Post a Comment