Google Imageless Buttons

Sun, Feb 8, 2009

Design, Freebies, Other, Tips and Tutorials

Until some future version of HTML gives us new native controls to use in a browser, at Google, we’ve been playing and experimenting with controls we call “custom buttons” in our apps (among other custom controls). These buttons just launched in Gmail.

Google Imageless Buttons Tutorial

The Google Buttons are designed to look very similar to basic HTML input buttons. But they can handle multiple interactions with one basic design. The buttons we’re using are imageless, and they’re created entirely using HTML and CSS, plus some JavaScript to manage the behavior. They’re also easily skinnable with a few lines of CSS, which was a key factor now that Gmail has themes.

Each button was set up with a nine-cell table so they could place each corner image, and still allow the button to expand in all four directions according to the width and height of the text inside:

Google Imageless Buttons Tutorial

Read the Full Tutorial here

Share/Save/Bookmark

Related Posts

, ,

This post was written by:

pauline - who has written 104 posts on Open Source Resources for Designers & Developers | Greepit.com.


Leave a Reply