-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (48 loc) · 1.39 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
@import url('https://fonts.googleapis.com/css2?family=Comforter&family=Sedgwick+Ave&display=swap');
html {
box-sizing: border-box; /* prevents padding from stretching div out */
}
body {
margin:0px;
min-height: 100vh; /* VH = viewport height, stretches full hieght of screen */
display: flex;
justify-content: center;
align-items: center;
background-color: #777;
}
.button-container {
background-color: #333;
padding: 10px 20px;
border: 1px solid #000;
border-radius: 5px;
box-shadow: inset 0 20px 5px -16px #555;
box-shadow: inset 0 20px 4px -19px rgb(255 255 255 / 40%), 0px 2px 3px #000;
}
button {
font-family: Sedgwick Ave, cursive;
cursor: pointer;
outline: none;
width: 120px;
height: 75px;
font-size: 25px;
border: 1px solid #000;
background-color: #777;
color: #fff;
background: linear-gradient(to top, #696969, #575757);
border: 2px solid black;
border-radius: 7px;
/* box-shadow: inset 0 20px 4px -15px rgba(255,255,255, 0.4); */
box-shadow: inset 0 20px 4px -19px rgb(255 255 255 / 40%),
0px 1px 3px #000;
}
button:hover {
border: 2px solid black;
border-radius: 7px;
}
button:active {
transform: translateY(3px);
background: linear-gradient(to bottom, #696969, #575757);
/* box-shadow: 0px 3px 5px #000; */
box-shadow: inset 0 20px 4px -19px rgb(255 255 255 / 40%),
0px 0px 0px #000;
}