내 사이트에 단락이 있으며, animate.css로 특정 단어를 펄스하고 싶습니다. animate.css를 내 사이트에 성공적으로 추가했지만 내 스팬 클래스에 추가하려고하면 작동하지 않습니다. 몇 가지 연구를했는데 디스플레이가 작동하지 않는 경우 animate.css가 작동하지 않기 때문에 스팬에 디스플레이를 추가해야하는 것처럼 보입니다. 내가 스팬 인라인 블록이 표시되지 않기 때문에 그것의 이해가 무엇에서텍스트에 스팬 (css) 애니메이션 추가하기
.animatespan {
display: -moz-inline-stack;
display: inline-block !important;
zoom: 1;
vertical-align: top;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" rel="stylesheet"/>
<h1>
Text that is not supposed to animate
<span style="color:#4ceb90" class="animated pulse animatespan">pulsing word</span>
Text that is not supposed to animate
<span style="color:#4ceb90" class="animated pulse animatespan">pulsing word</span>
Text that is not supposed to animate
<span style="color:#4ceb90" class="animated pulse animatespan">pulsing word.</span>
</h1>
당신이 읽어야 https://css-tricks.com/animate-to-an-inline-style/를 읽을 수 있습니다 – Sylwek