-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCard.css
64 lines (55 loc) · 1.01 KB
/
Card.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
60
61
62
63
64
/* From Uiverse.io by Yaya12085 */
button {
background: transparent;
position: relative;
padding: 5px 15px;
display: flex;
align-items: center;
font-size: 17px;
font-weight: 600;
text-decoration: none;
cursor: pointer;
border: 1px solid #0163E0;
border-radius: 25px;
outline: none;
overflow: hidden;
color: #0163E0;
transition: color 0.3s 0.1s ease-out;
text-align: center;
}
button svg {
fill: #0163E0;
height: 25px;
width: 25px;
}
button span {
margin: 10px;
}
button::before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
content: '';
border-radius: 50%;
display: block;
width: 20em;
height: 20em;
left: -5em;
text-align: center;
transition: box-shadow 0.5s ease-out;
z-index: -1;
}
button:hover {
color: #fff;
border: 1px solid #0163E0;
}
button:hover svg {
fill: currentColor;
}
button:hover::before {
box-shadow: inset 0 0 0 10em #0163E0;
}
/* GitHub */