Skip to content

Commit

Permalink
Add dandylion dancing
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Apr 5, 2015
1 parent 042d298 commit 8213504
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hackathon-timer.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ <h1>hackathon ends in</h1>
<img src="https://31.media.tumblr.com/5a6c106c2846f0e5cc565b320b58e04b/tumblr_inline_mlgyw229Xl1qz4rgp.gif" alt="dancing">
</div>

<img class="dandy-lion" src="static/dandylion.png" alt="dandy lion">

<script>
setTimeout(function() {
location.reload();
Expand Down
Binary file added static/dandylion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions static/hackathon-timer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,36 @@ body {
}
}
}

.dandy-lion {
position: absolute;
height: 80px;
bottom: 0;
left: 120px;
animation: bounce 3s, move 6s; // separated by a comma
animation-iteration-count: infinite;
}

@keyframes bounce{
0% {
left:120px;
}
50% {
left:80%;
}
100% {
left:120px;
}
}

@keyframes move {
0% {
bottom: 0px;
}
50% {
bottom: 20%;
}
100% {
bottom: 0px;
}
}

0 comments on commit 8213504

Please sign in to comment.