-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation_style.css
117 lines (103 loc) · 2.67 KB
/
animation_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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
*, body{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
width: 100%;
height: 100vh;
font-family: 'Courier New', Courier, monospace;
background-image: url('./christmas-bg.jpg');
background-position: 0px;
background-size: cover;
background-repeat: no-repeat;
}
div.frame{
width: 100%;
height: 100%;
background: linear-gradient(260deg, rgb(83, 180, 236, 0.5), rgb(241, 156, 141, 0.5));
background-repeat: no-repeat;
}
div.content{
position: absolute;
width: calc(100vw * 0.5);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
word-wrap: break-word;
}
div.content div.textual-content{
margin: 20px;
padding: 10px;
background: rgba(255, 255, 255, 0.09);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(2.8px);
-webkit-backdrop-filter: blur(2.8px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
div.content div.textual-content p{
font-size: 5.5rem;
font-weight: bolder;
text-align: center;
color: white;
text-shadow: 3px 3px 3px pink;
cursor:none;
user-select: none;
-webkit-user-select: none;
}
div.button-control{
position: relative;
width: 50%;
margin: 0 auto 10px auto;
/*background-color: #53b4ec;*/
text-align: center;
}
div.button-control button.animate{
padding: 10px;
border: 3px solid #ffffff;
border-radius: 25px;
outline: 2px solid #07cc07f1;
background-color: #08e008e7;
font-family:'Times New Roman', Times, serif;
font-size: 25px;
color: rgb(22, 22, 22);
}
/*Animation*/
@keyframes highlighting {
0% {
color: #000000;
text-shadow: 3px 3px 3px #ffffff, -3px -3px 3px #f5e7e7;
};
25% {
color: #2e2e2e;
text-shadow: 3px 3px 3px #dad0d0, -3px -3px 3px #c2b3b3;
};
35% {
color: #757272;
text-shadow: 3px 3px 3px #a08b8b, -3px -3px 3px #f3d7df;
};
55% {
color: #2e2e2e;
text-shadow: 3px 3px 3px #c0b9b9, -3px -3px 3px #d4c2c2;
};
75% {
color: #2e2e2e;
text-shadow: 3px 3px 3px #ffffff, -3px -3px 3px #f85b5b;
};
90% {
color: #f3ebeb;
text-shadow: 3px 3px 3px #c0b9b9, -3px -3px 3px #c2b3b3;
};
100% {
color: #fdf9f9;
text-shadow: 3px 3px 3px #dad0d0, -3px -3px 3px #c2b3b3;
};
}
div.content div.textual-content p{
animation-name: highlighting;
animation-duration: 10s;
animation-delay: 0ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
}