这个图片在移动设备的浏览器中无法显示。它可以在普通浏览器(电脑)或检查元素(移动视图)中显示,但它不能在真正的手机上显示。
HTML:
<div class="image_wrap">
<img src="img/about/600x600.jpg" alt="" />
<div class="main" data-img-url="img/about/1.jpg"></div>
</div>
CSS(层叠样式表):
.tomer_tm_hero_header_wrap .image_wrap{
width: 200px;
height: 200px;
display: inline-block;
margin-bottom: 38px;
position: relative;
}
.tomer_tm_hero_header_wrap .image_wrap .main{
position: absolute;
top: 8px;
bottom: -8px;
left: 8px;
right: -8px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
border-radius: 100%;
}
.tomer_tm_hero_header_wrap .image_wrap img{
min-width: 100%;
border-radius: 100%;
border: 8px solid rgb(227, 135, 45);
}