Random thoughts about programming for the web. Sometimes it will make sense, probably most of the time, it will not make sense.
Showing posts with label css. Show all posts
Showing posts with label css. Show all posts
Tuesday, May 15, 2007
How to make sexy buttons with CSS - jQuery version
A quick update on the previous post on improving sexy buttons. I have a jQuery version which fixes some small issues. See the demo page for detailed information.
Tuesday, May 8, 2007
How to make sexy buttons with CSS - Improved
Sliding doors technique and uses background image shifting to create the pressed state. By expanding the background image we can have a hover state on the button. The only thing need to be done is to add the :hover state with the correct vertical alignment for the background. The most difficult during this whole process was the correct modification of the background images
You can see the demo here.
Download all files: zip
Enjoy.
As explained by Alex, the sexy button is created by using the
You can see the demo here.
Download all files: zip
Enjoy.
Update
11 may 2007 - Oran Sands notified me that the active state did not work. This has been fixed. Thanks Oran.
11 may 2007 - Oran Sands notified me that the active state did not work. This has been fixed. Thanks Oran.
Subscribe to:
Posts (Atom)