css

当前位置:首页 > 前端 > css

css 图片变色

<li><a href=""><img src="//wm.cdn.cn86.cn/wmy62/2025/03/80a493f8c7wxtph9.png?x-oss-process=image/format,webp"></a></li> .foo-sha...
<li><a href=""><img src="//wm.cdn.cn86.cn/wmy62/2025/03/80a493f8c7wxtph9.png?x-oss-process=image/format,webp"></a></li>


.foo-share{
    margin-top: 15px;
}
.foo-share li{
    margin-right: 15px;
    overflow: hidden;
}
.foo-share li img{
    max-width: 40px;
    transition: all ease-in-out 0s
}
.foo-share li:hover img {
	transform: translateY(-60px);
	filter: drop-shadow(#c4261d 0 60px);
	transition: all ease-in-out 0s
}


上一篇:文字阴影

下一篇:已经是最后一篇

相关内容

文章评论

表情

共 0 条评论,查看全部
  • 这篇文章还没有收到评论,赶紧来抢沙发吧~