常見的幾種loding效果實現(xiàn)_第1頁
已閱讀5頁,還剩59頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、常見的幾種loding效果實現(xiàn) loading .loader float: left; .loader position: relative; width: 5rem; height: 5rem; .loader.small -webkit-transform: scale(.5); transform: scale(.5); .loader.circle-line, .loader.circle-round height: 5rem; /*circle-line*/ .loader.circle-line span position: absolute; display: inline-b

2、lock; width: 1.5rem; height: .5rem; border-top-left-radius: .25rem; border-bottom-left-radius: .25rem; background: 1abc9c; opacity: .05; -webkit-animation: circle-line 1s ease infinite; animation: circle-line 1s ease infinite; .loader.circle-line span:nth-child(1) top: 50%; left: 0; margin-top: -.25

3、rem; -webkit-animation-delay: .13s; animation-delay: .13s; .loader.circle-line span:nth-child(2) top: 1rem; left: .5rem; -webkit-transform: rotate(45deg); transform: rotate(45deg); -webkit-animation-delay: .26s; animation-delay: .26s; .loader.circle-line span:nth-child(3) left: 50%; top: .5rem; marg

4、in-left: -.75rem; -webkit-transform: rotate(90deg); transform: rotate(90deg); -webkit-animation-delay: .39s; animation-delay: .39s; .loader.circle-line span:nth-child(4) right: .5rem; top: 1rem; -webkit-transform: rotate(145deg); transform: rotate(145deg); -webkit-animation-delay: .52s; animation-de

5、lay: .52s; .loader.circle-line span:nth-child(5) left: 3.5rem; top: 50%; margin-top: -.25rem; -webkit-transform: rotate(180deg); transform: rotate(180deg); -webkit-animation-delay: .65s; animation-delay: .65s; .loader.circle-line span:nth-child(6) bottom: 1rem; right: .5rem; -webkit-transform: rotat

6、e(-145deg); transform: rotate(-145deg); -webkit-animation-delay: .78s; animation-delay: .78s; .loader.circle-line span:nth-child(7) left: 50%; bottom: .5rem; margin-left: -15px; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); -webkit-animation-delay: .91s; animation-delay: .91s; .loade

7、r.circle-line span:nth-child(8) bottom: 1rem; left: .5rem; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-animation-delay: 1.04s; animation-delay: 1.04s; keyframes circle-line 0% opacity: .05; 100% opacity: .7; -webkit-keyframes circle-line 0% opacity: .05; 100% opacity: .7; /

8、*circle-line-spin*/ .loader.circle-line-spin .circle-line-inner width: 100%; height: 100%; -webkit-animation: circle-line-spin 1.5s linear infinite; animation: circle-line-spin 1.5s linear infinite; .loader.circle-line-spin span position: absolute; display: inline-block; width: 1.5rem; height: .5rem

9、; border-top-left-radius: .25rem; border-bottom-left-radius: .25rem; background: 1abc9c; opacity: .7; .loader.circle-line-spin span:nth-child(1) top: 50%; left: 0; margin-top: -.25rem; .loader.circle-line-spin span:nth-child(2) top: 1rem; left: .5rem; -webkit-transform: rotate(45deg); transform: rot

10、ate(45deg); .loader.circle-line-spin span:nth-child(3) left: 50%; top: .5rem; margin-left: -.75rem; -webkit-transform: rotate(90deg); transform: rotate(90deg); .loader.circle-line-spin span:nth-child(4) right: .5rem; top: 1rem; -webkit-transform: rotate(145deg); transform: rotate(145deg); .loader.ci

11、rcle-line-spin span:nth-child(5) left: 3.5rem; top: 50%; margin-top: -.25rem; -webkit-transform: rotate(180deg); transform: rotate(180deg); .loader.circle-line-spin span:nth-child(6) bottom: 1rem; right: .5rem; -webkit-transform: rotate(-145deg); transform: rotate(-145deg); .loader.circle-line-spin

12、span:nth-child(7) left: 50%; bottom: .5rem; margin-left: -15px; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); .loader.circle-line-spin span:nth-child(8) bottom: 1rem; left: .5rem; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); keyframes circle-line-spin 0% transform: r

13、otate(0); 100% transform: rotate(360deg); -webkit-keyframes circle-line-spin 0% -webkit-transform: rotate(0); 100% -webkit-transform: rotate(360deg); /*circle-round*/ .loader.circle-round span opacity: .05; -webkit-animation: circle-round 1s ease infinite; animation: circle-round 1s ease infinite; .

14、loader.circle-round-fade span -webkit-animation: circle-round-fade 1s ease infinite; animation: circle-round-fade 1s ease infinite; .loader.circle-round span, .loader.circle-round-fade span position: absolute; width: .8rem; height: .8rem; display: inline-block; border-radius: 50%; background: 1abc9c

15、; .loader.circle-round span:nth-child(1), .loader.circle-round-fade span:nth-child(1) top: 50%; left: 0; margin-top: -.4rem; -webkit-animation-delay: -1.04s; animation-delay: -1.04s; .loader.circle-round span:nth-child(2), .loader.circle-round-fade span:nth-child(2) top: .7rem; left: .7rem; -webkit-animation-delay: -.91s; animation-delay: -.91s; .loader.circle-round span:nth-child(3), .loader.circle-round-fade span:nth-child(3) top: 0; left: 50%; margin-left: -.4rem; -webkit-animation-

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論