Wednesday, 15 August 2012

Previous Interview Question Next Interview Question
Home

Box Shadow CSS code for cross browsers compatibility


box-shadow CSS property for block level elements
-moz-box-shadow: 8px 8px 8px #666;
  -webkit-box-shadow: 8px 8px 8px #666;
  box-shadow: 8px 8px 8px #666;
1. Horizontal X-offset. Negative will move shadow to the left of the box.
2. Vertical Y-offset. Negative will show above the box.
3. Blur amount, with 0 it will be sharp.
4. Shadow color.

Previous Interview Question Next Interview Question
Home

0 comments :

Post a Comment