CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
Is there a way to give a div two borders? I want to put a 3px solid #000 with a 1px solid #d1d1d1 on top of it. Can this be done?
Here you are!
This reply has been reported for inappropriate content.
border:3px solid #000;
-webkit-box-shadow:0px -1px 0px #d1d1d1;
-moz-box-shadow:0px -1px 0px #d1d1d1;
box-shadow:0px -1px 0px #d1d1d1;
Thanks guys. That got me working. Greatly appreciate it.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed