Even with a transparent background, typically a box-shadow doesn’t fill the contents of a box.
I think I have seen a demo where this wasn’t the case, but can’t recall how it was done. Does anyone know more about this?
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.
I am having decent success simulating this by setting two box-shadows: one traditional box shadow, and the second
insetwith a very large spread value.The suggestion to set the box’s background is also a good one, if you can match it up well.