Is there any reason to use css box-shadow over drop-shadow?

后端 未结 2 1654
太阳男子
太阳男子 2021-01-20 15:16

Assuming client compatibility, is there any situation where CSS box-shadow is preferable to filter: drop-shadow.

From the article it seems

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-20 15:40

    Problem is that there is limited browser support for filter at the moment with box-shadow being much more supported.

    • Browser support for filter
    • Browser support for box-shadow

提交回复
热议问题