File tree 1 file changed +54
-12
lines changed
1 file changed +54
-12
lines changed Original file line number Diff line number Diff line change 1
1
.App {
2
2
text-align : center;
3
+ font-family : 'Arial' , sans-serif;
4
+ background-color : # f7f7f7 ;
5
+ min-height : 100vh ;
6
+ display : flex;
7
+ flex-direction : column;
8
+ justify-content : center;
9
+ align-items : center;
3
10
}
4
11
5
- .board-holder {
12
+ h1 {
13
+ color : # 333 ;
14
+ margin-bottom : 20px ;
15
+ font-size : 2.5em ;
16
+ }
17
+
18
+ .board-holder {
6
19
display : grid;
7
20
grid-template-columns : repeat (3 , 1fr );
21
+ gap : 10px ;
22
+ width : 300px ;
8
23
}
9
- .box {
10
- border : 1px solid gray;
11
- margin : 2px ;
24
+
25
+ .box {
26
+ border : 2px solid # 444 ;
27
+ background-color : # fff ;
28
+ border-radius : 5px ;
12
29
padding : 25px ;
13
30
cursor : pointer;
14
- height : 50px ;
15
- }
16
- .board-value {
17
- position : relative;
18
- top : 50% ;
19
- left : 50% ;
20
- transform : translate (-50% , -50% );
21
- }
31
+ height : 100px ;
32
+ display : flex;
33
+ justify-content : center;
34
+ align-items : center;
35
+ transition : background-color 0.3s , box-shadow 0.3s ;
36
+ }
37
+
38
+ .box : hover {
39
+ background-color : # f0f0f0 ;
40
+ box-shadow : 0px 0px 10px rgba (0 , 0 , 0 , 0.1 );
41
+ }
42
+
43
+ .board-value {
44
+ font-size : 2em ;
45
+ color : # 333 ;
46
+ }
47
+
48
+ button {
49
+ margin-top : 20px ;
50
+ padding : 10px 20px ;
51
+ background-color : # 007bff ;
52
+ color : white;
53
+ border : none;
54
+ border-radius : 5px ;
55
+ cursor : pointer;
56
+ font-size : 1em ;
57
+ transition : background-color 0.3s , box-shadow 0.3s ;
58
+ }
59
+
60
+ button : hover {
61
+ background-color : # 0056b3 ;
62
+ box-shadow : 0px 0px 10px rgba (0 , 0 , 0 , 0.2 );
63
+ }
You can’t perform that action at this time.
0 commit comments