We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca0c8a commit eddde5eCopy full SHA for eddde5e
Minesweeper/shubhamkashyap1601/style.css
@@ -0,0 +1,42 @@
1
+body {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ font-family: Arial, sans-serif;
6
+}
7
+
8
+.header {
9
10
+ justify-content: space-between;
11
+ width: 300px;
12
+ margin-bottom: 20px;
13
14
15
+.grid-container {
16
+ display: grid;
17
+ grid-template-columns: repeat(10, 30px);
18
+ grid-gap: 2px;
19
20
21
+.grid-item {
22
+ width: 30px;
23
+ height: 30px;
24
+ border: 1px solid #ccc;
25
+ text-align: center;
26
+ line-height: 30px;
27
+ cursor: pointer;
28
29
30
+.grid-item.revealed {
31
+ background-color: #ddd;
32
33
34
+.grid-item.mine {
35
+ background-color: #f00;
36
+ color: #fff;
37
38
39
+.grid-item.flag {
40
+ background-color: #00f;
41
42
0 commit comments