CSS Box Shadow

Submitted by:Tim Kelly

Date added:12 June, 2013


The box shadow property is one of the new things that CSS 3 brings us and one of the most wanted.

Tags: box shadow

Code Snippet:

.shadow {
-moz-box-shadow: 5px 5px 5px #ccc;
-webkit-box-shadow: 5px 5px 5px #ccc;
box-shadow: 5px 5px 5px #ccc;

Inner shadow
.shadow {
-moz-box-shadow:inset 0 0 10px #000000;
-webkit-box-shadow:inset 0 0 10px #000000;
box-shadow:inset 0 0 10px #000000;