Recreating the CTXNA Button Style in Pure CSS

1 October 2011

Although the design of the CTXNA Web site makes extensive use of images (for browser compatability), I became curious how difficult the style would be to reproduce in nothing but CSS and threw together a demo using JSFiddle:

The complete sample requires a browser that supports CSS gradients and the border-radius, box-shadow, and text-shadow properties; however, older browser users will still be able to recogize the button even if it’s not quite so pretty. :)

Switching your graphics from using images to CSS has some great advantages:

Have you encountered sites with good use of CSS in lieu of images? Share in the comments!

Comments