-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (82 loc) · 1.66 KB
/
style.css
File metadata and controls
83 lines (82 loc) · 1.66 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
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
*{
margin:0;
padding:0;
box-sizing:border-box;
}
.container{
display:flex;
align-items:center;
justify-content:center;
width:100vw;
height:100vh;
background-image:url(749.jpg);
background-size: cover;
background-repeat: no-repeat;
}
#board{
display:grid;
width:40vw;
height:85vh;
border:solid 6px rgb(68, 225, 68);
background-image: radial-gradient(#39FF14, #0B6623);
display:grid;
box-shadow:0 0 20px 20px lightgreen;
grid-template-columns: repeat(18,1fr);
grid-template-rows: repeat(18,1fr);
border-radius:5%;
}
.head{
background-color:#990000;
border-radius: 50%;
transform: scale(1.2);
box-shadow: 0 0 2px 2px rgb(170, 208, 113) inset ;
}
.body{
background-image:radial-gradient(#960018,#EA3C53);
border-radius: 50%;
}
.food{
background-color:#ffe135;
border-radius:25%;
animation:2s ease-out infinite spin;
}
#s_board{
display: flex;;
text-align:center;
position:absolute;
align-items: center;
justify-content: center;
right:8%;
top:10%;
width:20rem;
height:5rem;
/* border:solid 2px black; */
padding:1rem;
font-family: 'New Tegomin', serif;
font-weight:bolder;
font-size:3rem;
}
#hscore{
display: flex;;
text-align:center;
position:absolute;
align-items: center;
justify-content: center;
right:1%;
top:25%;
width:25rem;
height:5rem;
/* border:solid 2px black; */
padding:1rem;
font-family: 'New Tegomin', serif;
font-weight:bolder;
font-size:3rem;
}
@keyframes spin{
0%{
transform:scale(.8);
}
100%{
transform:scale(1.1);
}
}