CSS Box with Shadows

This is a live demo of a CSS box with shadows – it should render as expected in most modern browsers while it will display a standard 1px border in older browser.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec lorem ipsum. Integer non lorem urna. Nullam ornare mauris vel risus iaculis ullamcorper. Vivamus eros enim, vestibulum a sollicitudin vitae.

Phasellus et diam magna, quis tincidunt tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin est dolor, varius sit amet iaculis non, accumsan eget lectus. Nunc cursus posuere elit. Donec scelerisque tristique sem eu aliquet.

This is the actual CSS and HTML code that renders the shadowed box – it is written in pure CSS3 and requires no images.