站长资源网页制作
CSS相框效果示例代码
简介效果图 1、CSS样式 复制代码代码如下: .pic .box{ background:url(/MyDemo/images/round1.png) no-repeat; width:60px; height:60px; display:block; _background:none; _filt

效果图
1、CSS样式
复制代码代码如下:
.pic .box{
background:url(/MyDemo/images/round1.png) no-repeat;
width:60px;
height:60px;
display:block;
_background:none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/UploadFiles/2021-03-30/round1.png">position:absolute;
width:60px;
height:60px;
z-index:9999;
}
.pic img{
width:60px;
height:60px;
}
2、HTML代码
复制代码代码如下:
<!--相框-->
<div class="pic">
<span class="box"></span>
<img src="/UploadFiles/2021-03-30/myPic.jpg"></div>
附件

round.png