forked from programming-club-knit/Photo-Puzzle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (37 loc) · 724 Bytes
/
style.css
File metadata and controls
43 lines (37 loc) · 724 Bytes
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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, sans-serif;
background: linear-gradient(135deg, #2980b9, #6dd5fa);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
text-align: center;
color: #fff;
}
#game-board {
width: 300px;
height: 300px;
display: grid;
grid-template-columns: repeat(3, 1fr);
border: 3px solid #fff;
border-radius: 12px;
overflow: hidden;
}
.tile {
background-image: url("https://picsum.photos/600");
background-size: 300px 300px;
cursor: pointer;
}
.tile.empty {
background: rgba(0,0,0,0.3);
cursor: default;
}
.hidden {
display: none;
}