-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
49 lines (44 loc) · 1.15 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin: 0;
background: #1B2430;
}
button {
background: #6D67E4;
color: #E8F3D6;
font-family: inherit;
letter-spacing: 1.5px;
padding: 0.6em 1.3em;
font-weight: 700;
font-size: 18px;
border: 3px solid #453C67;
border-radius: 0.4em;
-webkit-box-shadow: 0.1em 0.1em;
box-shadow: 0.1em 0.1em;
cursor: pointer;
margin: 1rem;
}
button:hover {
-webkit-transform: translate(-0.05em, -0.05em);
-ms-transform: translate(-0.05em, -0.05em);
transform: translate(-0.05em, -0.05em);
-webkit-box-shadow: 0.15em 0.15em;
box-shadow: 0.15em 0.15em;
}
button:active {
-webkit-transform: translate(0.05em, 0.05em);
-ms-transform: translate(0.05em, 0.05em);
transform: translate(0.05em, 0.05em);
-webkit-box-shadow: 0.05em 0.05em;
box-shadow: 0.05em 0.05em;
}