-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (53 loc) · 1.43 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
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(37, 37, 37);
}
.button-container {
border: 2px solid black;
padding: 10px;
border-radius: 7px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
-ms-border-radius: 7px;
-o-border-radius: 7px;
box-shadow: inset 0 20px 4px -19px rgba(255, 255, 255, 0.7);
}
button {
cursor: pointer;
outline: none;
width: 120px;
height: 75px;
font-family: Barlow, sans-serif;
font-size: 25px;
color: white;
text-shadow: 0 2px 5px black;
background: linear-gradient(to top, #696969, #575757);
border: 2px solid black;
border-radius: 7px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
-ms-border-radius: 7px;
-o-border-radius: 7px;
box-shadow: inset 0 20px 4px -19px rgba(255, 255, 255, 0.4),
0 12px 12px 0 rgba(0, 0, 0, 0.3);
}
button:hover{
background: linear-gradient(to bottom, #696969, #575757);
}
button:active{
transform: translateY(3px);
-webkit-transform: translateY(3px);
-moz-transform: translateY(3px);
-ms-transform: translateY(3px);
-o-transform: translateY(3px);
box-shadow: inset 0 20px 4px -19px rgba(255, 255, 255, 0.4),
0 6px 6px 0 rgba(0, 0, 0, 0.3);
}