Skip to content

Commit 0da0795

Browse files
committed
Add dandylion dancing
1 parent 042d298 commit 0da0795

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

hackathon-timer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ <h1>hackathon ends in</h1>
4141
<img src="https://31.media.tumblr.com/5a6c106c2846f0e5cc565b320b58e04b/tumblr_inline_mlgyw229Xl1qz4rgp.gif" alt="dancing">
4242
</div>
4343

44+
<img class="dandy-lion" src="static/dandylion.png" alt="dandy lion">
45+
4446
<script>
4547
setTimeout(function() {
4648
location.reload();

static/dandylion.png

4.92 KB
Loading

static/hackathon-timer.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,36 @@ body {
7474
}
7575
}
7676
}
77+
78+
.dandy-lion {
79+
position: absolute;
80+
height: 80px;
81+
bottom: 0;
82+
left: 120px;
83+
animation: bounce 3s, move 6s; // separated by a comma
84+
animation-iteration-count: infinite;
85+
}
86+
87+
@keyframes bounce{
88+
0% {
89+
left:120px;
90+
}
91+
50% {
92+
left:80%;
93+
}
94+
100% {
95+
left:120px;
96+
}
97+
}
98+
99+
@keyframes move {
100+
0% {
101+
bottom: 0px;
102+
}
103+
50% {
104+
bottom: 20%;
105+
}
106+
0% {
107+
bottom: 0px;
108+
}
109+
}

0 commit comments

Comments
 (0)