Add easter egg

This commit is contained in:
Pablo Moyano 2020-03-14 22:50:46 +01:00
parent 9865c02a45
commit 49c45903ba
2 changed files with 16 additions and 1 deletions

View File

@ -71,6 +71,21 @@ a {
color: white color: white
} }
/* Rainbows */
@keyframes rainbow {
0% {background-color: hsla(0, 70%, 50%, 1);}
10% {background-color: hsla(30, 70%, 50%, 1);}
20% {background-color: hsla(60, 70%, 50%, 1);}
30% {background-color: hsla(90, 70%, 50%, 1);}
40% {background-color: hsla(120, 70%, 50%, 1);}
50% {background-color: hsla(150, 70%, 50%, 1);}
60% {background-color: hsla(180, 70%, 50%, 1);}
70% {background-color: hsla(210, 70%, 50%, 1);}
80% {background-color: hsla(240, 70%, 50%, 1);}
90% {background-color: hsla(270, 70%, 50%, 1);}
100% {background-color: hsla(0, 70%, 50%, 1);}
}
/*TOP NAVBAR*/ /*TOP NAVBAR*/
/**********************************************************************************/ /**********************************************************************************/

View File

@ -344,7 +344,7 @@
</div> </div>
<div class="button"> <div class="button">
<button disabled onclick="alert()" id="mapButton">Or just come in</button> <button onclick="document.getElementById('mapButton').style.animation = 'rainbow 1s linear infinite'" id="mapButton">Or just come in</button>
</div> </div>
</div> </div>