![]() |
#1 |
Registered User
Join Date: Jul 2012
Posts: 111
|
3-D button using CSS
Back in the early days of the web, 3-d buttons that appeared to become pushed in when moused over were all the rage. At that time, this could only be achieved through images and JavaScript, but now with the advent of CSS we can go all retro and re-create this effect:
a { display: block; border: 1px solid; border-color: #aaa #000 #000 #aaa; width: 8em; background: #fc0; } a:hover { position: relative; top: 1px; left: 1px; border-color: #000 #aaa #aaa #000; }
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
+1 Button | BarbDuton7 | Search Engine Optimization | 0 | 03-07-2012 10:19 AM |
+1 button on my pages? | jamesranatte | General Discussion | 2 | 01-23-2012 04:26 AM |
I want to make my out button that counts how many times its been clicked | wryfhk22 | PHP / mySQL | 0 | 10-26-2011 08:35 PM |
Add to Favorites - button, how? | ncjbhd | HTML / DHTML | 0 | 10-10-2011 02:03 AM |
print window button | mjvndhsb | HTML / DHTML | 0 | 10-10-2011 12:23 AM |