Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

周围的阴影效果怎么办? #2

Open
Zlianxin opened this issue Aug 18, 2023 · 1 comment
Open

周围的阴影效果怎么办? #2

Zlianxin opened this issue Aug 18, 2023 · 1 comment

Comments

@Zlianxin
Copy link

有一个问题,在使用了 -webkit-mask-image 属性之后,box-shadow 的阴影效果失效了。该怎么处理呢?

@XboxYan
Copy link
Owner

XboxYan commented Aug 18, 2023

@Zlianxin 嵌套一层父级,在父级上添加 filter:drop-shadow()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants