box shadow css all sides code example

Example 1: inner box shadow

div {
     box-shadow: inset 0 0 10px #000000;
}

Example 2: how to add box shadow to all sides css

div {
    box-shadow: 0 0 10px #fff;
}

Example 3: box bottom shadow css

.box-bottom-shadow {
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
}

Example 4: css box shadow from all sides

input {
    -webkit-box-shadow: 0 0 5px 2px #fff;
    -moz-box-shadow: 0 0 5px 2px #fff;
    box-shadow: 0 0 5px 2px #fff;
}

Example 5: does boxshadow work

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

Tags:

Css Example