-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
51 lines (45 loc) · 1.11 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* copied from w3schools CSS3 Animations page */
@keyframes colorchange {
0% {background-color: red;}
25% {background-color: purple;}
50% {background-color: blue;}
100% {background-color: green;}
}
/* i made this one myself!! */
@keyframes bubble {
0% {transform: scale(0.1);}
33% {transform: scale(0.33);}
66% {transform: scale(0.66);}
100% {transform: scale(1);}
}
@keyframes swinging {
0% {transform: rotate(7deg);}
50% {transform: rotate(-7deg);}
100% {transform: rotate(7deg);}
}
body, html {
cursor: url('smalldoge.gif'), crosshair;
/* doge gif from
http://i2.wp.com/media.tenor.co/images/50e14e91d9d4af5a9f425d81f6147ccc/raw */
text-align: center;
height: 100%;
width: 100%;
font-family: "Comic Sans MS";
animation-name: colorchange;
animation-duration: 1s;
animation-iteration-count: infinite;
}
h1 {
color: white;
font-size: 4em;
animation-name: swinging;
animation-duration: 1s;
animation-iteration-count: infinite;
}
.dogeborder {
width: 10%;
height: auto;
animation-name: bubble;
animation-duration: 2s;
animation-iteration-count: infinite;
}