IE中a标签的边框去掉

源码

<a href="#page2" class="animate-bounce-down">
<img src="harrow.png" alt="" style="width: 100%;display: block">
</a>

解决方法:

/*箭头上下跳动*/
@-webkit-keyframes bounce-down {
25% {-webkit-transform: translateY(-10px);}
50%, 100% {-webkit-transform: translateY(0);}
75% {-webkit-transform: translateY(10px);}
}

@keyframes bounce-down {
25% {transform: translateY(-10px);}
50%, 100% {transform: translateY(0);}
75% {transform: translateY(10px);}
}

.animate-bounce-down{
display: block;
position: absolute;
left: 50%;
bottom: 20px;
z-index: 996;
width: 30px;
height: 30px;
-webkit-animation: bounce-down 2s linear infinite;
animation: bounce-down 2s linear infinite;
}
.animate-bounce-down img {
border: 0 none;
}

猜你喜欢

转载自www.cnblogs.com/myfirstboke/p/9239567.html
今日推荐