<!--Эффект следа из текста-->
<!--https://mt-webdesign.ru/text-trail-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.4/gsap.min.js" integrity="sha512-3WGIRFCuTpZhqYujwLp5RtARPkOy3uRtc3RXB31bJ9/i6VH2C66Z0WBV6gHhdhbUIDKFx8yTkLfEjdQM5Wl+ZQ==" crossorigin="anonymous"></script>
<div class="cursor"></div>
<script>
document.addEventListener("mousemove", e => {
gsap.to(".text-trail", {
x: e.clientX,
y: e.clientY,
stagger: -0.02
});
});
</script>
<style>
.text-trail {
position: absolute;
pointer-events: none;
/*-webkit-text-stroke: 1px rgb(255 255 255 / 50%);*/
-webkit-text-stroke: 1px #dfe837;
}
</style>