-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathletras.css
66 lines (60 loc) · 983 Bytes
/
letras.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
overflow-x: hidden;
min-height: 100vh;
}
.content-text {
position: fixed;
right: 555px;
bottom: 350px;
}
.content-text h1 {
position: absolute;
transform: translate(-50%, -50%);
font-size: 6em;
margin-right: 900px;
margin-top: 20px;
}
.content-text h1:nth-child(1) {
color: black;
-webkit-text-stroke: 4px #000000;
}
.content-text h1:nth-child(2) {
color: #ffda1a;
animation: animate-text 1.5s ease-in-out infinite;
}
/* ANIMATION DE JUGO PARA LETRAS */
@keyframes animate-text {
0%,
100% {
clip-path: polygon(
0 37%,
12% 37%,
25% 45%,
36% 52%,
57% 60%,
82% 53%,
100% 32%,
100% 100%,
0% 100%
);
}
50% {
clip-path: polygon(
0 55%,
17% 61%,
36% 64%,
51% 59%,
68% 45%,
84% 42%,
100% 43%,
100% 100%,
0% 100%
);
}
}