首页 > 代码库 > css的img移上去边框效果

css的img移上去边框效果

.v_comment img{
height:36px;
height:36px;
float:left;
padding:1px;
margin:2px;
border: 1px solid #ddd;
}
.v_comment img:hover{border: 1px solid #ccc;
-webkit-animation: comm 1.1s ease-in infinite;
box-shadow:0 0 2px rgba(0,158,224,0.9);
-moz-box-shadow:0 0 2px rgba(0,158,224,0.9);
-webkit-box-shadow:0 0 2px rgba(0,158,224,0.9);
}