Issue
Is it possible to have the shadow surround the entire DIV?
-moz-box-shadow: 3px 3px 3px #ccc;
-webkit-box-shadow: 3px 3px 3px #ccc;
box-shadow: 3px 3px 3px #ccc;
I know the order of attributes goes:
- Horizontal offset
- Vertical offset
- Blur radius
- Color
But I wonder if it's possible to make the shadow go all around it instead of showing up only on one edge or side.
Solution
You're offsetting the shadow, so to get it to uniformly surround the box, don't offset it:
-moz-box-shadow: 0 0 3px #ccc;
-webkit-box-shadow: 0 0 3px #ccc;
box-shadow: 0 0 3px #ccc;
Answered By - BoltClock
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.