1
+
2
+ body {
3
+ -webkit-perspective : 500px ;
4
+ perspective : 500px ;
5
+ background : black;
6
+ }
7
+
8
+ p {
9
+ color : black;
10
+ width : 420px ;
11
+ height : 250px ;
12
+ font-family : 'Oswald' , sans-serif;
13
+ font-size : 9em ;
14
+ line-height : 1 ;
15
+ margin : 0 ;
16
+ padding : 0 ;
17
+ -webkit-transform : rotateX (25deg ) rotateY (20deg ) rotateZ (-3deg );
18
+ transform : rotateX (25deg ) rotateY (20deg ) rotateZ (-3deg );
19
+ position : absolute;
20
+ left : 50% ;
21
+ top : 50px ;
22
+ margin-left : -180px ;
23
+ -webkit-animation : anim 3s ;
24
+ -webkit-animation-timing-function : linear;
25
+ -webkit-animation-iteration-count : infinite;
26
+ animation : anim 3s ;
27
+ animation-timing-function : linear;
28
+ animation-iteration-count : infinite;
29
+ }
30
+
31
+ @-webkit-keyframes anim {
32
+ 0% {text-shadow : -6px 4px 0px red;}
33
+ 10% {text-shadow : 4px -6px 0px green;}
34
+ 20% {text-shadow : -9px 4px 0px blue;}
35
+ 30% {text-shadow : 4px -6px 0px yellow;}
36
+ 40% {text-shadow : -8px 4px 0px orange;}
37
+ 50% {text-shadow : 4px 5px 0px purple;}
38
+ 60% {text-shadow : -6px 4px 0px brown;}
39
+ 70% {text-shadow : 4px 7px 0px pink;}
40
+ 80% {text-shadow : -9px -4px 0px lime;}
41
+ 90% {text-shadow : 4px -6px 0px cyan;}
42
+ 100% {text-shadow : -9px 4px 0px teal;}
43
+ }
44
+
45
+ @keyframes anim {
46
+ 0% {text-shadow : -6px 4px 0px red;}
47
+ 10% {text-shadow : 4px -6px 0px green;}
48
+ 20% {text-shadow : -9px 4px 0px blue;}
49
+ 30% {text-shadow : 4px -6px 0px yellow;}
50
+ 40% {text-shadow : -8px 4px 0px orange;}
51
+ 50% {text-shadow : 4px 5px 0px purple;}
52
+ 60% {text-shadow : -6px 4px 0px brown;}
53
+ 70% {text-shadow : 4px 7px 0px pink;}
54
+ 80% {text-shadow : -9px -4px 0px lime;}
55
+ 90% {text-shadow : 4px -6px 0px cyan;}
56
+ 100% {text-shadow : -9px 4px 0px teal;}
57
+ }
58
+
0 commit comments