forked from panditsamik/Snake-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (51 loc) · 1.06 KB
/
style.css
File metadata and controls
56 lines (51 loc) · 1.06 KB
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
/* Write CSS Here */
body {
text-align: center;
background-color: rgb(90, 90, 226);
}
.main-heading {
background: darkseagreen;
margin-left: auto;
margin-right: auto;
display: block;
color: rgb(241, 30, 30);
font-family: "Young Serif", serif;
border: 3px solid black;
border-radius: 5px;
}
.reload {
border: 3px solid black;
border-radius: 5px;
padding: 2px;
font-family: "Young Serif", serif;
background-color: yellow;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
.animate-charcter
{
background-image: linear-gradient(
-225deg,
#231557 0%,
#44107a 29%,
#ff1361 67%,
#fff800 100%
);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
/* text-fill-color: transparent; */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 2s linear infinite;
display: inline-block;
font-size: 50px;
}
@keyframes textclip {
to {
background-position: 200% center;
}
}