Posts tagged as:

Results for css button

In this tutorial, we will see how to use a single background image applied to a button to create its 3 states normal, hover and selected.

This method allows to have a single image loaded and available right from the start instead of having more images (one per state) loaded only once called and causing a blink during the changes.

The idea will be realized using the css property background, moving the background image with the value top, center and bottom.
Continue to read >>

{ 4 comments }

4 comments

Stay updated with our RSS Feed

Using 3 background images, we can create a button which adapt itself in width to its text content.

This method is useful to create a menu for which the buttons have different measure as shown in the following example.

Continue to read >>

{ 2 comments }

2 comments

Stay updated with our RSS Feed