Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
Online Tools:

Advertise Here

CSS Library: Links & Buttons: Here

3D CSS buttons

Author: Dynamic Drive

By using an element's border-style CSS attribute to outset, you can easily create a 3D looking button. Taking it one step further the button can also appear depressed if desired, by switching from a border-style value of outset to inset. The below examples are 100% CSS based, not to mention lightweight:

Demo:

RSS XML

Dynamic Drive CSS Drive JavaScript Kit

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 05/01/2006

Revision History: None

Usage Terms: Click here

Your Comments (37)

Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.

Comment Pages 4 of 4 pages « First  <  2 3 4

I was looking for a clean and easy way to re-do the buttons on my "Listed Homes" data-grid. This looks good, is easy, works with both IE and Firefox with XHTML like your page - fails on FF2.0 in 4.01 transitional. I'll have to investigate further. Since I use FF this seems more important ;=}
Posted by Dave Snow on 11/07, 05:21 PM
ok
Posted by asd on 11/25, 03:47 PM
hai

i have two links intially that links are in some colour when i click on 1st link the color will change in another. when i click 2nd link the color will change. but the 1st link colour will goes to intial colour
Posted by sivasankari on 03/12, 03:27 AM
Very gud Tutorial
Posted by Aish on 03/24, 04:06 AM
super super super
Posted by Killer on 05/26, 10:57 AM
Cool - We've just used the above solution - great and thanks
Posted by Joomla on 08/18, 12:21 PM
Ive tried to set up 3 times now without any luck, and then I got to this toturial - And it just work straight away! -Thanks for taking your time for us newbies :-)
Posted by Karmakonfetti - Tųj til drenge on 08/18, 12:25 PM

Comment Pages 4 of 4 pages « First  <  2 3 4

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library