Código CSS 1
selector path{
fill: rgba(255 255 255 / .2);
stroke: white;
stroke-width: 1px;
stroke-dasharray: 300;
stroke-dashoffset: 300;
animation: textAnimation 4s forwards
}
@keyframes textAnimation{
80{
fill: rgba(255 255 255 / .2);
}100%{
fill: rgba(255 255 255 / 1);
stroke-dashoffset: 0;
}
}
Código CSS Hover
selector path{
fill: rgba(255 255 255 / .2);
stroke: white;
stroke-width: 1px;
stroke-dasharray: 300;
stroke-dashoffset: 300;
}
selector svg:hover path{
animation: textAnimation 4s forwards
}
@keyframes textAnimation{
80{
fill: rgba(255 255 255 / .2);
}100%{
fill: rgba(255 255 255 / 1);
stroke-dashoffset: 0;
}
}
Código CSS Scroll GSAP
selector path{
fill: rgba(255 255 255 / .2);
stroke: white;
stroke-width: 1px;
stroke-dasharray: 300;
stroke-dashoffset: 300;
}
Código JS Scroll GSAP