-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
49 lines (49 loc) · 861 Bytes
/
style.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
*{
margin:0;
padding: 0;
box-sizing: border-box;
font-family: 'Mochiy Pop One', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #252839;
position: relative;
margin-top: 90px;
padding-top: 30px;
}
ul{
position: relative;
display: flex;
flex-direction: column;
gap: 30px;
}
li{
position: relative;
list-style: none;
}
a{
font-size: 4em;
text-decoration: none;
letter-spacing: 2px;
line-height: 1em;
text-transform: uppercase;
color: transparent;
-webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}
a::before{
content: attr(data-text);
position: absolute;
color: var(--clr);
width: 0;
overflow: hidden;
transition: 1.2s;
border-right: 8px solid var(--clr);
-webkit-text-stroke: 1px var(--clr);
}
a:hover::before{
width: 100%;
filter: drop-shadow(0 0 25px var(--clr))
}