One Shadow at a Time

Got tired of box-shadow putting shadows on all four sides of my element, so I added shadows (via gradients) to just two sides of my element using pseudo-elements :before and :after

Example: http://jsfiddle.net/apticknor/HPaut/

Posted on Sep 13, 2011

More by Anthony Ticknor

View profile