1s linear infinite alternate; } @keyframes loading-animation { 0% { box-shadow: 20px 0 rgba(255 0.6s linear infinite; } @keyframes loading-animation { 0% { box-shadow: 20px -10px, 40px 10px 0.6s linear infinite; } @keyframes loading-animation { 0% { box-shadow: -10px 20px, 10px 35px 6s linear infinite; } @keyframes loading-animation { 0% { width: 0%; } 100% { width: 10s ease-in infinite; } @keyframes loading-animation { 0% { width: 0%; } 100% { width
-- loading开始 --> <style>#loading-animation{background-color:#fff;height:100%;width:100%;position:fixed -ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}}</style><div id="<em>loading-animation</em> function(){function e(){setTimeout(()=>{$("#loading-animation").fadeOut(540)},500)}window.jQuery?
; top: 15px; left: 15px; right: 15px; bottom: 15px; border: 3px solid #000; } @keyframes loading-animation 2s ease-in-out infinite alternate; } @keyframes loading-animation { from { transform: rotate( 1s ease-in-out infinite; } @keyframes loading-animation { from { transform: rotate(0deg); } 1.2s ease-in-out infinite alternate; } @keyframes loading-animation { from { transform: rotate 1.5s linear infinite; } @keyframes loading-animation { from { transform: rotate(0deg); }
width: 20%; background-image: linear-gradient(to right, #23d6d6, #29ffff, #23d6d6); animation: loading-animation margin-left: -30px; border-radius: 0 0 5px 0; box-shadow: 0 0 10px #23d6d6; } @keyframes loading-animation
HTML代码:
progress-catalog.css' 使用方法: // 引入 import Catalog from 'ProgressCatalog' // 使用 new Catalog({ contentEl: 'loading-animation