-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.css
96 lines (85 loc) · 1.62 KB
/
main.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
HTML, BODY
{ height: 100%;
background-color: #071432;
}
.right {
position: absolute;
right: 0px;
width: 300px;
padding: 10px;
}
#s-text {
font: 5em/1 Arial;
}
svg {
position: absolute;
width: 100%;
height: 100%;
}
.text-copy {
fill: none;
stroke: white;
stroke-dasharray: 7% 28%;
stroke-width: 5px;
animation: stroke-offset 8s infinite;
}
.text-copy:nth-child(1) {
stroke: #591058;
stroke-dashoffset: 7%;
}
.text-copy:nth-child(2) {
stroke: #946FBF;
stroke-dashoffset: 14%;
}
.text-copy:nth-child(3) {
stroke: #CCCCCC;
stroke-dashoffset: 21%;
}
.text-copy:nth-child(4) {
stroke: #6CBCCC;
stroke-dashoffset: 28%;
}
.text-copy:nth-child(5) {
stroke: #7285D6;
stroke-dashoffset: 35%;
}
@keyframes stroke-offset {
20% {
stroke-dashoffset: 35%;
stroke-dasharray: 0 87.5%;
} }
.button {
position: fixed;
top: 80%;
left: 40%;
background-color: #FFFFFF;
border: none;
font-size: 28px;
color: #071432;
padding: 10px;
width: 300px;
text-align: center;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
text-decoration: none;
overflow: hidden;
cursor: pointer;
}
.button:after {
content: "";
background: #f1f1f1;
display: block;
position: absolute;
padding-top: 300%;
padding-left: 350%;
margin-left: -20px !important;
margin-top: -120%;
opacity: 0;
transition: all 0.8s
}
.button:active:after {
padding: 0;
margin: 0;
opacity: 1;
transition: 0s
}