-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
106 lines (93 loc) · 1.84 KB
/
styles.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
body{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
background-color: aqua;
}
h1.h3{
color:rgb(0, 7, 219);
}
p{
color: blueviolet;
font-size: large;
font-weight: 800;
}
#gameboard{
width: 300px;
height: 300px;
background-color: black;
display: flex;
flex-wrap: wrap;
border: solid 1px black;
}
.square{
width: 100px;
height: 100px;
background-color: white;
border: solid 2px black;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
}
.circle{
width: 90px;
height: 90px;
border-radius: 50%;
border: 15px solid blue;
box-sizing: border-box;
}
.cross{
width: 90px;
height: 90px;
position: relative;
transform: rotate(45deg); //rotating 45 deg
}
.cross::after , .cross::before{
content: '';
position: absolute;
background-color: red;
}
.cross::before{
left: 50%;
width: 30%;
margin-left: -15%;
height: 100%;
}
.cross::after{
top: 50%;
height: 30%;
margin-top: -15%;
width: 100%;
}
/* Reset Button */
.custom-button a {
color: #ffffff;
text-decoration: none;
}
.custom-button {
background-color: #6200EE;
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 16px;
margin: 5px;
border-radius: 4px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
text-transform: uppercase;
cursor: pointer;
}
.custom-button:hover {
background-color: #3700B3;
}
.custom-button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(98, 0, 238, 0.4);
}
.custom-button:active {
background-color: #BB86FC;
}