<!doctype html> <html> <head> <meta charset="utf-8"> <title>css3箭头水平淡入淡出(整理)</title> <link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/font_695050_qf5jdjknto.css"> <script src="https://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script> <style> @keyframes move { 0% {left: 0%; opacity: 0; } 70% { left: 70%; opacity: 1 } 100% {left: 100%;opacity: 0;} } .move{-webkit-animation-name:move;animation-name:move;position:relative;margin-left:-30px;} .ar-animated{-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;font-style:inherit;-webkit-animation-timing-function:linear;animation-timing-function:linear;font-size: 30px;} .ar-delay-1s{animation-delay:0.1s;} .ar-delay-2s{animation-delay:0.2s;} .ar-delay-3s{animation-delay:0.3s;} .ar-delay-4s{animation-delay:0.4s;} .ar-delay-5s{animation-delay:0.5s;} .ar-delay-6s{animation-delay:0.6s;} .ar-delay-7s{animation-delay:0.7s;} .ar-delay-8s{animation-delay:0.8s;} .ar-delay-9s{animation-delay:0.9s;} .ar-delay-10s{animation-delay:0.10s;} </style> </head> <body> <div> <span style="width:35px;display: block"> <i class="move ar-animated ar-delay-4s iconfont icon-arrow-right"></i> <i class="move ar-animated ar-delay-3s iconfont icon-arrow-right"></i> <i class="move ar-animated ar-delay-2s iconfont icon-arrow-right"></i> <i class="move ar-animated ar-delay-1s iconfont icon-arrow-right"></i> <i class="move ar-animated iconfont icon-arrow-right"></i> </span> </div> </body> </html>