apply shadow to div css code example
Example 1: css box shadow
#example1 {
box-shadow: 10px 10px 8px #888888;
}
Example 2: adding shadow to a div
/* CSS box shadow look like paper lift up*/
/* provide shadow to all four corners */
/* source - W3Schools.com */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
Example 3: box-shadow
blockquote {
padding: 20px;
box-shadow:
inset 0 -3em 3em rgba(0,0,0,0.1),
0 0 0 2px rgb(255,255,255),
0.3em 0.3em 1em rgba(0,0,0,0.3);
}
Example 4: css box shadow
box-shadow: 0 0 10px;