-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (63 loc) · 1.21 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
* {
padding: 0px;
margin: 0px;
box-sizing: border-box;
font-family: sans-serif;
}
body {
width: 100%;
height: 100vh;
}
body .container {
display: flex;
}
body .container .play,
body .container .xbox {
width: 50%;
height: 100vh;
transition: width 0.7s ease;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
body .container .play {
background-image: url(images/playstation.jpg);
}
body .container .xbox {
background-image: url(images/xbox.webp);
}
body .container .play .blue,
body .container .xbox .black {
width: 100%;
height: 100%;
background-color: #6269f09d;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.9);
text-align: center;
}
body .container .xbox .black {
background-color: rgba(36, 36, 36, 0.5);
}
body .container h1 {
font-size: 50px;
margin-bottom: 50px;
}
body .container button {
padding: 25px 60px;
border: 5px solid white;
background-color: transparent;
color: white;
font-size: 20px;
font-weight: 600;
cursor: pointer;
}
body .container button:hover {
opacity: 0.8;
}
body .container .active {
width: 100%;
transition: width 0.7s ease;
}