-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
21,800 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.stars { | ||
margin: 0 auto; | ||
position: fixed; | ||
top: 0; | ||
z-index: 2; | ||
} | ||
|
||
.star, .r{ | ||
display: block; | ||
width: 1px; | ||
background: transparent; | ||
position: absolute; | ||
opacity: 0; | ||
/*过渡动画*/ | ||
animation: star-fall 3s linear; | ||
} | ||
|
||
.star:after, .r:after { | ||
content: ''; | ||
display: block; | ||
border: 0px solid #fff; | ||
border-width: 0px 90px 2px 90px; | ||
border-color: transparent transparent transparent rgba(255, 255, 255, .5); | ||
box-shadow: 0 0 1px 0 rgba(255, 255, 255, .1); | ||
/*变形*/ | ||
transform: rotate(225deg) translate3d(1px, 3px, 0); | ||
transform-origin: 0% 100%; | ||
} | ||
|
||
@keyframes star-fall { | ||
0% { | ||
opacity: 0; | ||
transform: scale(0.5) translate3d(0, 0, 0); | ||
} | ||
|
||
50% { | ||
opacity: 1; | ||
transform: translate3d(200px, 200px, 0); | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
transform: scale(1.2) translate3d(300px, 300px, 0); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
@-webkit-keyframes bounce { | ||
|
||
0%, | ||
20%, | ||
50%, | ||
80%, | ||
100% { | ||
-webkit-transform: translateY(0); | ||
-ms-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
|
||
40% { | ||
-webkit-transform: translateY(-30px); | ||
-ms-transform: translateY(-30px); | ||
transform: translateY(-30px); | ||
} | ||
|
||
60% { | ||
-webkit-transform: translateY(-15px); | ||
-ms-transform: translateY(-15px); | ||
transform: translateY(-15px); | ||
} | ||
} | ||
|
||
|
||
@keyframes bounce { | ||
|
||
0%, | ||
20%, | ||
50%, | ||
80%, | ||
100% { | ||
-webkit-transform: translateY(0); | ||
-ms-transform: translateY(0); | ||
transform: translateY(0); | ||
} | ||
|
||
40% { | ||
-webkit-transform: translateY(-30px); | ||
-ms-transform: translateY(-30px); | ||
transform: translateY(-30px); | ||
} | ||
|
||
60% { | ||
-webkit-transform: translateY(-15px); | ||
-ms-transform: translateY(-15px); | ||
transform: translateY(-15px); | ||
} | ||
} | ||
|
||
|
||
|
||
@keyframes blink { | ||
50% { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
@-webkit-keyframes blink { | ||
50% { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
@-webkit-keyframes pulsate { | ||
0% { | ||
transform: scale(0.6, 0.6); | ||
opacity: 0.0; | ||
} | ||
|
||
50% { | ||
opacity: 1.0; | ||
} | ||
|
||
100% { | ||
transform: scale(1, 1); | ||
opacity: 0.0; | ||
} | ||
} | ||
|
||
@keyframes pulsate { | ||
0% { | ||
transform: scale(0.6, 0.6); | ||
opacity: 0.0; | ||
} | ||
|
||
50% { | ||
opacity: 1.0; | ||
} | ||
|
||
100% { | ||
transform: scale(1, 1); | ||
opacity: 0.0; | ||
} | ||
} | ||
|
||
@-webkit-keyframes animate-positive { | ||
0% { | ||
width: 0%; | ||
} | ||
} | ||
|
||
@keyframes animate-positive { | ||
0% { | ||
width: 0%; | ||
} | ||
} |
Oops, something went wrong.