css3 实现静态图片闪烁效果

清泛原创
css代码:
/*图标闪烁动画效果*/
.titleM img {
    animation: start 1.5s infinite ease-in-out;
    -moz-animation: start 1.5s infinite ease-in-out;
    -webkit-animation: start 1.5s infinite ease-in-out;
    -o-animation: start 1.5s infinite ease-in-out;
    -ms-animation: start 1.5s infinite ease-in-out;
    position: absolute;
}
@-webkit-keyframes start {
    0%,30% {opacity: 0;-webkit-transform: translate(0,0);}
    60% {opacity: 1;-webkit-transform: translate(0,0);}
    100% {opacity: 1;-webkit-transform: translate(0,0);}
}
@-moz-keyframes start {
    0%,30% {opacity: 0;-moz-transform: translate(0,0);}
    60% {opacity: 1;-moz-transform: translate(0,0);}
    100% {opacity: 1;-moz-transform: translate(0,0);}
}
@keyframes start {
    0%,30% {opacity: 0;transform: translate(0,0);}
    60% {opacity: 1;transform: translate(0,0);}
    100% {opacity: 1;transform: translate(0,0);}
}

css3 静态 闪烁效果

分享到:
评论加载中,请稍后...
创APP如搭积木 - 创意无限,梦想即时!
回到顶部