반응형
//effect2
$('.text2').each(function(){
$(this).html($(this).text().replace(/([^\x00-\x80]|\w)/g, "<span class='2_text'>$&</span>"));
});
<span class='2_text'> 이거는 안에서 뿌려주는거라서 클래스이름은 아무거나 적당히 만들면된다
See the Pen Text Animation with GSAP by uni (@agosto) on CodePen.
반응형