-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.css
More file actions
75 lines (72 loc) · 1.72 KB
/
output.css
File metadata and controls
75 lines (72 loc) · 1.72 KB
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
@import url("https://fonts.googleapis.com/css?family=Rubik:700&display=swap");
* {
box-sizing: border-box;
}
*::before, *::after {
box-sizing: border-box;
}
body {
font-family: "Rubik", sans-serif;
font-size: 1rem;
line-height: 1.5;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
min-height: 100vh;
background: #fff;
}
button {
position: relative;
display: inline-block;
cursor: pointer;
outline: none;
border: 0;
vertical-align: middle;
text-decoration: none;
font-size: inherit;
font-family: inherit;
}
button.learn-more {
font-weight: 600;
color: #FFE381;
text-transform: uppercase;
padding: 1em 1.5em;
background: #004E64;
border: 2px solid #FFE381;
border-radius: 0.75em;
transform-style: preserve-3d;
transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more::before {
position: absolute;
content: "";
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #00CECB;
border-radius: inherit;
box-shadow: 0 0 0 2px #FFE381, 0 0.625em 0 0 #EDFDF8;
transform: translate3d(0, 0.75em, -1em);
transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more:hover {
background: #007EA7;
transform: translate(0, 0.25em);
}
button.learn-more:hover::before {
box-shadow: 0 0 0 2px #FFE381, 0 0.5em 0 0 #EDFDF8;
transform: translate3d(0, 0.5em, -1em);
}
button.learn-more:active {
background: #007EA7;
transform: translate(0em, 0.75em);
}
button.learn-more:active::before {
box-shadow: 0 0 0 2px #FFE381, 0 0 #EDFDF8;
transform: translate3d(0, 0, -1em);
}
/*# sourceMappingURL=output.css.map */