filter:box-shadow
时间: 2023-08-28 14:18:17 浏览: 173
回答: filter:box-shadow 是一个错误的写法,正确的写法应该是 box-shadow。而 box-shadow 是用来给元素添加投影效果的CSS属性。box-shadow 属性的语法是:box-shadow: h-shadow v-shadow blur spread color inset。其中 h-shadow 表示阴影的水平位置,v-shadow 表示阴影的垂直位置,blur 表示阴影的模糊半径,spread 表示阴影的扩展半径,color 表示阴影的颜色。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [CSS3 filter:drop-shadow滤镜与box-shadow区别应用](https://blog.csdn.net/weixin_42389043/article/details/119402307)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [CSS边框阴影效果:box-shadow属性的使用解释](https://blog.csdn.net/weixin_42477197/article/details/114803445)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文