-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (68 loc) · 1.56 KB
/
style.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
h1 {
text-align: center;
}
.container {
display: flex;
justify-content: center;
gap: 10px;
max-width: 600px;
margin: 0px auto;
}
#box1{
background-image: url(./images/crox-call-of-duty.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#box2{
background-image: url(./images/crox-fortnite.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#box3{
background-image: url(./images/crox-pubg.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#box4{
background-image: url(./images/crox-reaper.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.box {
height: 200px;
width: 150px;
display: flex;
justify-content: center;
align-items: center;
/* border: 1px solid violet; */
font-size: 40px;
cursor: pointer;
box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.2);
transition: 0.2s ease-in-out;
}
.box:hover {
background-color: violet;
color: white;
transform: scale(1.04);
box-shadow: 3px 5px 5px rgba(1, 1, 1, 0.3);
transition: 0.2s ease-in-out;
}
.info_box {
flex-grow: 1;
justify-content: center;
align-items: center;
border: 1px solid violet;
margin-top: 20px;
padding: 10px;
background-color: #000000;
color: #ffffff;
transition: 0.2s ease-in-out;
}
.info_box:hover{
transition: 0.2s ease-in-out;
transform: scale(1.04);
}
.msg {
text-align: center;
}
/* ------------------------ */