Log in

View Full Version : Shadow on just one border - help needed



qwikad.com
11-14-2012, 02:47 PM
Hi guys,

I have this in my css:


#contentcell {

border-top: 1px solid #C9CBDD;
border-left: 1px solid #C9CBDD;
border-right: 1px solid #C9CBDD;
border-bottom: 1px solid #C9CBDD;

}

Keeping the same #contentcell how can I put shadow only for border-right?

Thank you.

bernie1227
11-14-2012, 09:45 PM
http://starikovs.com/2011/11/09/css3-one-side-shadow/

qwikad.com
11-14-2012, 10:11 PM
http://starikovs.com/2011/11/09/css3-one-side-shadow/

Thank you. I will definitely try this! But it looks like it is for a code that will go something like this:


#contentcell {

border: 1px solid #C9CBDD;

}

In my case it's:


#contentcell {

border-top: 1px solid #C9CBDD;
border-left: 1px solid #C9CBDD;
border-right: 1px solid #C9CBDD;
border-bottom: 1px solid #C9CBDD;

}

So I can't really figure out how I can implement this. Any suggestions?

bernie1227
11-15-2012, 02:31 AM
Like this? (http://jsfiddle.net/bernie1227/TvWDC/)

qwikad.com
11-15-2012, 03:26 AM
I get it now. Thank you so much.