-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
60 lines (60 loc) · 1.1 KB
/
style.css
File metadata and controls
60 lines (60 loc) · 1.1 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
*{
margin:0;
padding:0;
}
body{
background-color: aqua;
text-align: center;
}
#welcome{
color:rgb(99, 97, 83);
font-size: 6vmin;
}
.new{
height: 6vmin;
width: 10vmin;
background-color: blue;
color: white;
border: none;
border-radius: 1rem;
margin: 4vmin;
}
.hide{
display: none;
}
.container{
height: 80vh; /* 80vh means 80% of viewport height */
display: flex;
justify-content: center;
align-items: center;
}
.game{
height: 60vmin; /* 60vmin means 60% of viewport's smaller dimension*/
width: 60vmin;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 2vmin;
}
.box{
height: 18vmin;
width: 18vmin;
background-color: chartreuse;
border-radius: 2rem;
border: none;
box-shadow: 0 0 1rem rgba(0,0,0.2);
font-size: 10vmin;
}
#reset{
height: 8vmin;
width: 15vmin;
background-color: green;
color: red;
font-size: 3vmin;
border: none;
border-radius: 1rem;
}
.msg_box{
margin: 4vmin;
}