版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
第純CSS流星雨背景的示例代碼插件預(yù)覽圖
使用教程代碼展示
vue頁(yè)面使用
template
view>
Style
stylelang=scss
.space{
width:100%;
height:100vh;
background:#121212;
.planet{
width:150px;
height:150px;
border-radius:50%;
background:#333;
position:absolute;
left:50%;
top:50%;
margin:-75px00-75px;
overflow:hidden;
z-index:2;
.planet_shadow{
position:absolute;
border-radius:50%;
height:100%;
width:100%;
top:-40%;
right:-10%;
border:35pxsolidrgba(0,0,0,.15);
.crater1,
.crater2,
.crater3,
.crater4{
position:absolute;
border-radius:50%;
background:rgba(0,0,0,.3);
box-shadow:inset3px3px0rgba(0,0,0,.2);
.crater1{
width:20px;
height:20px;
left:25%;
top:20%;
.crater2{
width:10px;
height:10px;
left:50%;
top:60%;
.crater3{
width:15px;
height:15px;
left:30%;
top:65%;
.crater4{
width:15px;
height:15px;
left:60%;
top:35%;
.star{
display:block;
width:5px;
height:5px;
border-radius:50%;
background:#FFF;
top:100px;
left:400px;
position:relative;
transform-origin:100%0;
animation:star-ani6sinfiniteease-out;
box-shadow:005px5pxrgba(255,255,255,.3);
opacity:0;
z-index:2;
.star:after{
content:'';
display:block;
top:0px;
left:4px;
border:0pxsolid#fff;
border-width:0px90px2px90px;
border-color:transparenttransparenttransparentrgba(255,255,255,.3);
transform:rotate(-45deg)translate3d(1px,3px,0);
box-shadow:001px0rgba(255,255,255,.1);
transform-origin:0%100%;
animation:shooting-ani3sinfiniteease-out;
.pink{
top:30px;
left:395px;
background:#ff5a99;
animation-delay:5s;
-webkit-animation-delay:5s;
-moz-animation-delay:5s;
.pink:after{
border-color:transparenttransparenttransparent#ff5a99;
animation-delay:5s;
-webkit-animation-delay:5s;
-moz-animation-delay:5s;
.blue{
top:35px;
left:432px;
background:cyan;
animation-delay:7s;
-webkit-animation-delay:7s;
-moz-animation-delay:7s;
.blue:after{
border-color:'transpareanimation-delay:12s';
-webkit-animation-delay:7s;
-moz-animation-delay:7s;
animation-delay:7s;
.yellow{
top:50px;
left:600px;
background:#ffcd5c;
animation-delay:5.8s;
.yellow:after{
border-color:transparenttransparenttransparent#ffcd5c;
animation-delay:5.8s;
@keyframesstar-ani{
0%{
opacity:0;
transform:scale(0)rotate(0)translate3d(0,0,0);
-webkit-transform:scale(0)rotate(0)translate3d(0,0,0);
-moz-transform:scale(0)rotate(0)translate3d(0,0,0);
50%{
opacity:1;
transform:scale(1)rotate(0)translate3d(-200px,200px,0);
-webkit-transform:scale(1)rotate(0)translate3d(-200px,200px,0);
-moz-transform:scale(1)rotate(0)translate3d(-200px,200px,0);
100%{
opacity:0;
transform:scale(1)rotate(0)translate3d(-300px,300px,0);
-webkit-transform:scale(1)rotate(0)tra
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 化工行業(yè)水處理及安全相關(guān)知識(shí)AA001單元測(cè)試試卷
- 財(cái)務(wù)辦公室制度管理制度
- 落實(shí)收款與入賬制度
- 醫(yī)療質(zhì)量考核與持續(xù)改進(jìn)實(shí)施方案
- 2026年上半年黑龍江事業(yè)單位聯(lián)考省地震局招聘2人參考考試題庫(kù)附答案解析
- 2026福建泉州石獅市自然資源局招聘編外工作人員1人備考考試題庫(kù)附答案解析
- 2026新疆博爾塔拉州博樂(lè)市中西醫(yī)結(jié)合醫(yī)院面向全市選聘義務(wù)行風(fēng)監(jiān)督員備考考試題庫(kù)附答案解析
- 2026湖北武漢市江岸區(qū)事業(yè)單位招聘財(cái)務(wù)人員1人備考考試題庫(kù)附答案解析
- 2026中國(guó)人民警察大學(xué)招聘27人參考考試試題附答案解析
- 2026年上半年黑龍江省林業(yè)科學(xué)院事業(yè)單位公開(kāi)招聘工作人員55人參考考試題庫(kù)附答案解析
- 高碳鉻鐵生產(chǎn)流程
- 2025漂浮式海上風(fēng)電場(chǎng)工程可行性研究報(bào)告編制規(guī)程
- 路基工程施工方案(2016.11.6)
- UL676標(biāo)準(zhǔn)中文版-2019水下燈具和接線盒UL標(biāo)準(zhǔn)中文版
- 醫(yī)學(xué)教材 常見(jiàn)心律失常診治(基層醫(yī)院培訓(xùn))
- 體溫單模板完整版本
- 武漢市2024屆高中畢業(yè)生二月調(diào)研考試(二調(diào))英語(yǔ)試卷(含答案)
- 天然美肌無(wú)添加的護(hù)膚品
- 湖南省長(zhǎng)沙市外國(guó)語(yǔ)學(xué)校 2021-2022學(xué)年高一數(shù)學(xué)文模擬試卷含解析
- 3D車載蓋板玻璃項(xiàng)目商業(yè)計(jì)劃書
- 阿米巴經(jīng)營(yíng)管理培訓(xùn)課件
評(píng)論
0/150
提交評(píng)論