-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday-15.css
More file actions
45 lines (40 loc) · 1.07 KB
/
day-15.css
File metadata and controls
45 lines (40 loc) · 1.07 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
.button {
align-items: center;
background-color: #7011b9;
border: 2px solid #7011b9;
border-radius: 4px;
color: #fff;
cursor: pointer;
display: inline-flex;
font-size: 1.3rem;
justify-content: center;
margin: 5px;
min-width: 160px;
outline: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
transition: 0.3s;
vertical-align: middle;
white-space: nowrap;
}
.button:hover { background-color: #b213b4; border-color: #b213b4; color: #fff; }
.button--link { background-color: transparent; color: #b213b4; }
.ripple { overflow: hidden; position: relative; transform: translate3d(0, 0, 0); }
.ripple:after {
background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
background-repeat: no-repeat;
background-position: 50%;
content: "";
display: block;
height: 100%;
opacity: 0;
position: absolute;
top: 0;
left: 0;
pointer-events: none;
transform: scale(10, 10);
transition: transform .5s, opacity 1s;
width: 100%;
}
.ripple:active:after { opacity: 0.3; transform: scale(0, 0); transition: 0s; }