Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfang committed May 24, 2019
1 parent abba575 commit 7cc61c3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion index-night.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

to {
background: #292929;
background: #000000db;
opacity: 1;
}
}
Expand Down
26 changes: 17 additions & 9 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

html {
height: 100%;
background: #ffffff;
}

body {
Expand All @@ -36,6 +35,21 @@ body {
}

.wifi-bg {
width: 100%;
height: 100%;
position: fixed;
top: 0;
z-index: -100;
opacity: 0.5;
}

.wifi-bg-img {
width: 100%;
height: 100%;
filter: opacity(10%) blur(10px);
}

.wifi-bg-v {
width: 100%;
min-width: 1040px;
/*视频背景最小宽度*/
Expand All @@ -49,12 +63,6 @@ body {
opacity: 0;
}

.wifi-bg-img {
width: 100%;
height: 100%;
filter: opacity(10%) blur(10px);
}

.wifi-bg-video {
margin: 0 auto;
width: 100%;
Expand Down Expand Up @@ -343,7 +351,7 @@ a:active {
margin-left: 8px;
}

.wifi-bg video {
.wifi-bg-v video {
width: 100%;
margin: 0 auto;
z-index: -103;
Expand Down Expand Up @@ -374,7 +382,7 @@ a:active {
}
}

.wifi-bg video {
.wifi-bg-v video {
animation: wifi-10 2s;
animation-fill-mode: forwards;
animation-delay: 2s;
Expand Down
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,14 +354,16 @@
</div>
</div>
</div>
<div class="wifi-bg">
<!-- <div class="wifi-bg-video">
<!-- <div class="wifi-bg-v">
<div class="wifi-bg-video">
<div class="wifi-bg-videomark"></div>
<video autoplay muted loop playsinline poster="img/bg/hero.png">
<source src="img/bg/hero.webm" type="video/webm">
</video>
<div class="wifi-bg-video-lowposter"><img src="img/bg/lowhero.png" alt=""></div>
</div> -->
</div>
</div> -->
<div class="wifi-bg">
<img class="wifi-bg-img" src="img/bg.gif" alt="">
</div>
<script src="wifiwebsitetime.js"></script>
Expand Down

0 comments on commit 7cc61c3

Please sign in to comment.