forked from JessicaML/ScienceMotion-Static
-
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
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<title> | ||
</title> | ||
<<head> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
<body> | ||
<div class="stars"></div> | ||
<div class="twinkling"></div> | ||
</body> | ||
</html> |
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,46 @@ | ||
@keyframes move-twink-back{ | ||
from{background-position: 0 0;} | ||
to{background-position: -10000px 5000px;} | ||
} | ||
@-webkit-keyframes move-twink-back{ | ||
from{background-position: 0 0;} | ||
to{background-position: -10000px 5000px;} | ||
} | ||
@-moz-keyframes move-twink-back{ | ||
from{background-position: 0 0;} | ||
to{background-position: -10000px 5000px;} | ||
} | ||
@-ms-keyframes move-twink-back{ | ||
from{background-position: 0 0;} | ||
to{background-position: -10000px 5000px;} | ||
} | ||
|
||
.stars, .twinkling { | ||
position: absolute; | ||
top:0; | ||
right:0; | ||
bottom:0; | ||
width:100%; | ||
height: 100%; | ||
display: block; | ||
} | ||
|
||
.stars{ | ||
background: #000 url(images/stars.png) repeat top center; | ||
z-index: 0; | ||
} | ||
|
||
.twinkling{ | ||
background: transparent url(images/twinkling.png) repeat top center; | ||
z-index: 1; | ||
|
||
-moz-animation: move-twink-back 200s linear infinite; | ||
-ms-animation:move-twink-back 200s linear infinite; | ||
-o-animation:move-twink-back 200s linear infinite; | ||
-webkit-animation:move-twink-back 200s linear infinite; | ||
animation:move-twink-back 200s linear infinite; | ||
} | ||
|
||
|
||
|
||
|