css shadow

box-shadow is part of CSS 3. This property allows you to add multiple shadows (outer or inner) on box elements. To do that you must specify values as: color, size, blur and offset.

There are so many online website where you can generate shadow effect.

#shadow {

-webkit-box-shadow: 5px 5px 5px #888;
-moz-box-shadow: 5px 5px 5px #888;
box-shadow: 5px 5px 5px #888;
}
inset changes the shadow from an outer shadow 
(outset) to an 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; }

Share this nice post:

One thought on “css shadow

  1. Can I simply say what a aid to search out somebody who really is aware of what theyre speaking about on the internet. You undoubtedly know methods to bring a problem to gentle and make it important. More people need to learn this and perceive this aspect of the story. I cant consider youre not more fashionable since you positively have the gift.

Comments are closed.