留言板头像旋转css

Posted on Posted in css
Tips: 本文创建于2015年9月16日,已超过 2 年,内容或图片可能已经失效!

留言板头像旋转,在img中添加相应css即可

@-webkit-keyframes rotation{
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}
img{
    -webkit-transform: rotate(360deg);
    animation: rotation 7s linear infinite;
    -moz-animation: rotation 7s linear infinite;
    -webkit-animation: rotation 7s linear infinite;
    -o-animation: rotation 7s linear infinite;
}
» 转载请注明来源:呢喃 » 留言板头像旋转css

Leave a Reply

Your email address will not be published. Required fields are marked *

two × one =