-
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.
adding my Art to the project (#2436)
- Loading branch information
1 parent
fae1ff7
commit 4a84e33
Showing
7 changed files
with
347 additions
and
2 deletions.
There are no files selected for viewing
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,51 @@ | ||
<html> | ||
<head> | ||
<title>Matrix Animation</title> | ||
<link rel="stylesheet" type="text/css" href="style.css"> | ||
</head> | ||
<body> | ||
<div class="letter l00 t200"><div></div></div> | ||
<div class="letter l10 t500"><div></div></div> | ||
<div class="letter l20 t180"><div></div></div> | ||
<div class="letter l30 t700"><div></div></div> | ||
<div class="letter l40 t800"><div></div></div> | ||
<div class="letter l50 t900"><div></div></div> | ||
<div class="letter l60 t300"><div></div></div> | ||
<div class="letter l70 t400"><div></div></div> | ||
<div class="letter l80 t320"><div></div></div> | ||
<div class="letter l90 t190"><div></div></div> | ||
<div class="letter l100 t520"><div></div></div> | ||
<div class="letter l05 t380 big"><div></div></div> | ||
<div class="letter l15 t400 big"><div></div></div> | ||
<div class="letter l25 t600 big"><div></div></div> | ||
<div class="letter l35 t650 big"><div></div></div> | ||
<div class="letter l45 t290 big"><div></div></div> | ||
<div class="letter l55 t530 big"><div></div></div> | ||
<div class="letter l65 t420 big"><div></div></div> | ||
<div class="letter l75 t900 big"><div></div></div> | ||
<div class="letter l85 t200 big"><div></div></div> | ||
<div class="letter l95 t180 big"><div></div></div> | ||
|
||
<div class="letter l00 t200 d2"><div></div></div> | ||
<div class="letter l10 t500 d2"><div></div></div> | ||
<div class="letter l20 t180 d2"><div></div></div> | ||
<div class="letter l30 t700 d2"><div></div></div> | ||
<div class="letter l40 t800 d2"><div></div></div> | ||
<div class="letter l50 t900 d2"><div></div></div> | ||
<div class="letter l60 t300 d2"><div></div></div> | ||
<div class="letter l70 t400 d2"><div></div></div> | ||
<div class="letter l80 t320 d2"><div></div></div> | ||
<div class="letter l90 t190 d2"><div></div></div> | ||
<div class="letter l100 t520 d2"><div></div></div> | ||
<div class="letter l05 t380 big d2"><div></div></div> | ||
<div class="letter l15 t400 big d2"><div></div></div> | ||
<div class="letter l25 t600 big d2"><div></div></div> | ||
<div class="letter l35 t650 big d2"><div></div></div> | ||
<div class="letter l45 t290 big d2"><div></div></div> | ||
<div class="letter l55 t530 big d2"><div></div></div> | ||
<div class="letter l65 t420 big d2"><div></div></div> | ||
<div class="letter l75 t900 big d2"><div></div></div> | ||
<div class="letter l85 t200 big d2"><div></div></div> | ||
<div class="letter l95 t180 big d2"><div></div></div> | ||
</body> | ||
</html> |
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,116 @@ | ||
@property --timer { | ||
syntax: '<integer>'; | ||
inherits: false; | ||
initial-value: 1; | ||
} | ||
|
||
:root { background-color: black; overflow: hidden; font-family: monospace; } | ||
|
||
.l00 { left: calc(100% + 20px); } | ||
.l05 { left: 05%; } | ||
.l10 { left: 10%; } | ||
.l15 { left: 15%; } | ||
.l20 { left: 20%; } | ||
.l25 { left: 25%; } | ||
.l30 { left: 30%; } | ||
.l35 { left: 35%; } | ||
.l40 { left: 40%; } | ||
.l45 { left: 45%; } | ||
.l50 { left: 50%; } | ||
.l55 { left: 55%; } | ||
.l60 { left: 60%; } | ||
.l65 { left: 65%; } | ||
.l70 { left: 70%; } | ||
.l75 { left: 75%; } | ||
.l80 { left: 80%; } | ||
.l85 { left: 85%; } | ||
.l90 { left: 90%; } | ||
.l95 { left: 95%; } | ||
.l100 { left: calc(100% - 20px); } | ||
|
||
|
||
.t200 { top: -400px; } | ||
.t500 { top: -500px; } | ||
.t180 { top: -680px; } | ||
.t700 { top: -700px; } | ||
.t800 { top: -800px; } | ||
.t900 { top: -900px; } | ||
.t300 { top: -300px; } | ||
.t400 { top: -400px; } | ||
.t250 { top: -250px; } | ||
.t320 { top: -320px; } | ||
.t190 { top: -690px; } | ||
.t520 { top: -520px; } | ||
.t380 { top: -680px; } | ||
.t400 { top: -800px; } | ||
.t600 { top: -600px; } | ||
.t650 { top: -650px; } | ||
.t290 { top: -790px; } | ||
.t530 { top: -730px; } | ||
.t420 { top: -720px; } | ||
.t310 { top: -410px; } | ||
|
||
|
||
.big div { | ||
width: 40px!important; | ||
height: 300px!important; | ||
font-size: 24px!important; | ||
color: #008000!important; | ||
} | ||
|
||
.letter { | ||
position: absolute; | ||
background-color: black; | ||
counter-reset: timer-1 calc(var(--timer) + 9) timer-2 calc(var(--timer) + 8) timer-3 calc(var(--timer) + 7) timer-4 calc(var(--timer) + 6) timer-5 calc(var(--timer) + 5) timer-6 calc(var(--timer) + 4) timer-7 calc(var(--timer) + 3) timer-8 calc(var(--timer) + 2) timer-9 calc(var(--timer) + 1) timer-10 calc(var(--timer) + 0); | ||
animation: animate-letter 2s linear infinite running, animate-rotate 1s linear infinite running, animate-position 5s linear infinite running; | ||
} | ||
|
||
.d2{ | ||
animation-delay: 2.5s; | ||
} | ||
|
||
.letter div { | ||
width: 20px; | ||
height: 140px; | ||
font-size: 12px; | ||
color: #002e00; | ||
} | ||
|
||
.letter div:before { | ||
position: absolute; | ||
filter: brightness(2.5) blur(0.5px); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
content: counter(timer-1, lower-alpha) counter(timer-2, lower-alpha) counter(timer-3, lower-alpha) counter(timer-4, lower-alpha) counter(timer-5, lower-alpha) counter(timer-6, lower-alpha) counter(timer-7, lower-alpha) counter(timer-8, lower-alpha) counter(timer-9, lower-alpha) counter(timer-10, lower-alpha); | ||
writing-mode: vertical-rl; | ||
text-orientation: upright; | ||
} | ||
|
||
.letter div:after { | ||
position: absolute; | ||
content: counter(timer-1, lower-alpha); | ||
color: white; | ||
height: 100%; | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: end; | ||
background: linear-gradient(180deg, black, transparent); | ||
writing-mode: vertical-rl; | ||
text-orientation: upright; | ||
} | ||
|
||
@keyframes animate-letter { | ||
to { | ||
--timer: 16; | ||
} | ||
} | ||
|
||
@keyframes animate-position { | ||
to { | ||
top: calc(100% + 40px); | ||
} | ||
} | ||
|
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,25 @@ | ||
<!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="style.css" /> | ||
<title>Triangle</title> | ||
</head> | ||
<body> | ||
<div class="traffic-light"> | ||
<div class="container"> | ||
<div class="bubble"> | ||
<div class="red"></div> | ||
</div> | ||
<div class="bubble"> | ||
<div class="yellow"></div> | ||
</div> | ||
<div class="bubble"> | ||
<div class="green"></div> | ||
</div> | ||
</div> | ||
<div class="stand"></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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
} | ||
.traffic-light { | ||
display: flex; | ||
flex-flow: column; | ||
} | ||
.stand { | ||
height: 300px; | ||
width: 20px; | ||
background: #000; | ||
justify-content: center; | ||
align-items: center; | ||
position: relative; | ||
margin-top: -1px; | ||
top: 0; | ||
left: 40px; | ||
} | ||
|
||
.container { | ||
background: #5a5959; | ||
width: 100px; | ||
height: 300px; | ||
display: flex; | ||
flex-flow: column; | ||
justify-content: space-around; | ||
align-items: center; | ||
border-radius: 50px; | ||
} | ||
.bubble { | ||
width: 70px; | ||
height: 70px; | ||
border-radius: 50%; | ||
box-shadow: 0 0 10px #264653; | ||
} | ||
|
||
.red, | ||
.yellow, | ||
.green { | ||
height: 70px; | ||
width: 70px; | ||
border-radius: 50%; | ||
} | ||
.red { | ||
background: #300; | ||
animation: stop 8s linear infinite; | ||
} | ||
.yellow { | ||
background: #430; | ||
animation: ready 8s linear infinite; | ||
} | ||
.green { | ||
background: #030; | ||
animation: go 8s linear infinite; | ||
} | ||
|
||
@keyframes stop { | ||
0% { | ||
background: #300; | ||
} | ||
10% { | ||
background: #f00; | ||
} | ||
30% { | ||
background: #f00; | ||
} | ||
35% { | ||
background: #300; | ||
} | ||
65% { | ||
background: #300; | ||
} | ||
80% { | ||
background: #300; | ||
} | ||
100% { | ||
background: #300; | ||
} | ||
} | ||
|
||
@keyframes ready { | ||
0% { | ||
background: #430; | ||
} | ||
35% { | ||
background: #430; | ||
} | ||
45% { | ||
background: #fc0; | ||
} | ||
45% { | ||
background: #fc0; | ||
} | ||
65% { | ||
background: #fc0; | ||
} | ||
80% { | ||
background: #430; | ||
} | ||
100% { | ||
background: #430; | ||
} | ||
} | ||
|
||
@keyframes go { | ||
0% { | ||
background: #030; | ||
} | ||
55% { | ||
background: #030; | ||
} | ||
60% { | ||
background: #030; | ||
} | ||
70% { | ||
background: #030; | ||
} | ||
75% { | ||
background: #030; | ||
} | ||
80% { | ||
background: #0a0; | ||
} | ||
85% { | ||
background: #0a0; | ||
} | ||
95% { | ||
background: #0a0; | ||
} | ||
100% { | ||
background: #030; | ||
} | ||
} |
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