-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
77 lines (66 loc) · 1.21 KB
/
index.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
65
66
67
68
69
70
71
72
73
74
75
76
77
/* From uiverse.io by @Ali-Tahmazi99 */
button {
display: inline-block;
cursor: pointer;
width: 110px;
height: 30px;
border-radius: 10px;
border: 1px solid #DE3163;
position: relative;
overflow: hidden;
transition: all 0.5s ease-in;
z-index: 1;
font-family: 'ark-pixel-12px-monospaced-latin';
}
button::before,
button::after {
content: '';
position: absolute;
top: 0;
width: 0;
height: 100%;
transform: skew(15deg);
transition: all 0.5s;
overflow: hidden;
z-index: -1;
}
button::before {
left: -10px;
background: #DE3163;
}
button::after {
color: #ffffff;
right: -10px;
background: #DE3163;
}
button[disabled]{
background: #DE3163;
}
button:hover::before,
button:hover::after {
width: 60%;
}
button:hover span {
color: #ffffff;
transition: 0.3s;
}
button:disabled span {
color: #ffffff;
transition: 0.3s;
}
button span {
color: #DE3163;
font-size: 18px;
transition: all 0.3s ease-in;
}
#root {
text-align: center;
}
.log {
background: beige;
border-radius: 3px;
}
@font-face {
font-family: 'ark-pixel-12px-monospaced-latin';
src: url('ark-pixel-12px-monospaced-latin.woff2');
}