-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (42 loc) · 1.1 KB
/
Copy pathstyle.css
File metadata and controls
48 lines (42 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
body {
font-family: 'Arial', sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
margin: 0;
background: linear-gradient(to right, #3498db, #8e44ad); /* Gradient background */
}
.header {
background-color: #2c3e50; /* Dark background for the header */
padding: 20px;
margin-bottom: 20px;
text-align: center;
}
.header h1 {
color: #ecf0f1; /* Light text color for the header */
margin: 0;
font-size: 24px;
}
.board {
display: grid;
grid-template-columns: repeat(3, 100px);
gap: 5px;
}
.cell {
width: 100px;
height: 100px;
border: 2px solid #2c3e50; /* Dark border color */
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
cursor: pointer;
background: linear-gradient(to right, #3498db, #2980b9); /* Gradient background for cells */
color: #ecf0f1; /* Light text color for cells */
transition: background 0.3s;
}
.cell:hover {
background: linear-gradient(to right, #2980b9, #3498db); /* Hover effect with gradient */
}