-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added my nite-stocker folder to Art with index, html, css, and gif. A…
…dded my card to root include.js. (#2387)
- Loading branch information
1 parent
cd2e990
commit dc74b05
Showing
4 changed files
with
109 additions
and
4 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.
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,79 @@ | ||
body { | ||
margin: 0; | ||
overflow: hidden; | ||
background-color: #000; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100vh; | ||
perspective: 1000px; | ||
} | ||
|
||
.tunnel { | ||
width: 210px; | ||
height: 210px; | ||
position: relative; | ||
animation: moveTunnel 10s linear infinite; | ||
transform-style: preserve-3d; | ||
transform: translateZ(-210px); | ||
background: linear-gradient(#000, #333); | ||
border-radius: 50%; | ||
box-shadow: 0 0 14px 14px #00f, 0 0 28px 28px #00f, 0 0 42px 42px #00f; | ||
} | ||
|
||
.light { | ||
position: absolute; | ||
width: 14px; | ||
height: 14px; | ||
background-color: #0f0; | ||
border-radius: 50%; | ||
opacity: 0.7; | ||
animation: pulseLight 1.5s alternate infinite, rotateLights 5s linear infinite; | ||
} | ||
|
||
.light-1 { | ||
top: 84px; | ||
left: 98px; | ||
} | ||
|
||
.light-2 { | ||
top: 98px; | ||
left: 42px; | ||
background-color: #f00; | ||
} | ||
|
||
.light-3 { | ||
top: 112px; | ||
left: 98px; | ||
background-color: #00f; | ||
} | ||
|
||
@keyframes moveTunnel { | ||
0% { | ||
transform: translateZ(-210px); | ||
} | ||
|
||
100% { | ||
transform: translateZ(-630px); | ||
} | ||
} | ||
|
||
@keyframes pulseLight { | ||
0% { | ||
transform: scale(1); | ||
} | ||
|
||
100% { | ||
transform: scale(1.4); | ||
} | ||
} | ||
|
||
@keyframes rotateLights { | ||
0% { | ||
transform: rotateY(0deg); | ||
} | ||
|
||
100% { | ||
transform: rotateY(360deg); | ||
} | ||
} |
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,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="alien-tunnel.css"> | ||
<title>Alien Tunnel</title> | ||
</head> | ||
|
||
<body> | ||
<div class="tunnel"> | ||
<div class="light light-1"></div> | ||
<div class="light light-2"></div> | ||
<div class="light light-3"></div> | ||
</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