【发布时间】:2016-07-04 20:56:48
【问题描述】:
.images {
width: 125px;
border: 2px solid #FFF;
border-radius: 100px;
display: inline-block;
}
.images:hover {
background: transparent;
margin-top:4px;
color: transparent !important;
border:1px solid #999;
/*{Shadow}*/
box-shadow:inset 0 0 5px 0 #333;
-moz-box-shadow:inset 0 0 5px 0 #333;
-webkit-box-shadow:inset 0 1px 2px 0 #333, 0 1px 1px 0 #fff;
}
<img src="pic_mountain.jpg" class="images" alt="Save icon"/>
我想在悬停时环绕我的圆形图像。我不希望我的图像有边框。我想要离形象有点远的戒指。我如何用 css 做到这一点?
【问题讨论】:
-
你的代码在哪里?
-
添加一些代码,更多解释你的目的,一个小想法等等......为了得到真正的答案
-
我不知道如何在 sn-p 中添加图像