That is, the left and bottom borders of the element need to give a 3d effect of it popping out. Is there a good, purely-CSS way to accomplish this effect?
#foo { /* ... */ border:8px outset #999; -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,0.4); -moz-box-shadow: 5px 5px 15px rgba(0,0,0,0.4); }
Here's the example live: http://jsfiddle.net/sjkXS/1/ Yes, the effect here is cheesily-extreme, indended to showcase what is possible.