用CSS给图片加边框
缩略图加上边框等效果风格定义,.pic1、.pic2、.pic3和.pic5这几个CSS样式定义,分别对应文章频道、下载频道、图片频道和商城频道调用并显示的图片进行样式控制
CSS代码
.pic1{border: 1px solid #00B5F7;this.style.FILTER: DropShadow(color:#999999;OffX:2;OffY:2;Positive:1);}
.pic2{border: 3px double #00B5F7;FILTER: Glow(Color=#cccccc, Strength=5);dropshadow(color=cccccc, OffX=1, OffY=1,);}
.pic3{border: 1px double #cccccc;filter:progid:DXImageTransform.Microsoft.Glow(color=#cccccc,Strength=5);}
.pic5{border: 2px dotted #cccccc;} Copyright Notice: This article is an original work. Copyright belongs to A君网志. Please contact the author for permission before reprinting.
Article URL: https://nipang.cn/82.html
If you have any questions or concerns about this article, feel free to leave a comment. I will try my best to respond as soon as possible.
暂无标签