开发者

Is there a way to stop the box from knocking out a box-shadow?

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 w开发者_Python百科asn’t the case, but can’t recall how it was done. Does anyone know more about this?


I am having decent success simulating this by setting two box-shadows: one traditional box shadow, and the second inset with 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜