Say you have a box and you use the box shadow css. How could you make this apply to only the top right bottom?
Say you have a box and you use the box shadow css. How could
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There no way for you to set which sides the box-shadow applies to.
In order to have the box shadow only apply to those side, you’d have to indent the x-axis variable like this:
box-shadow:4px 0 10px black;.Here’s a demo: http://jsfiddle.net/2xFuz/