Animate.css | A cross-browser library of CSS animations.
Animate.css is a library of ready-to-use, cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and attention-guiding hints.
animate.style
์ฌ์ดํธ์์ ๋ค์ํ ์ ๋๋ฉ์ด์ ํจ๊ณผ๋ฅผ ๋ฏธ๋ฆฌ ์ฌ์ฉํด๋ณด๊ณ ์ํ๋ ์ ๋๋ฉ์ด์ ์ ๋ด ํ๋ก์ ํธ์ ์ ์ฉํ ์ ์๋ค !
์ค์น
npm install animate.css --save
์ ์ฉ
์ ๋๋ฉ์ด์ ์ ์ฉ์ ์ํ js ํ์ผ์ import 'animate.css' ์ถ๊ฐ
<img className="animate__animated animate__pulse" />
์ด๋ฐ์์ผ๋ก className์ "animate__animated animate__์ํ๋ ์ ๋๋ฉ์ด์ ์ด๋ฆ" ์ผ๋ก ์ง์ ํด์ฃผ๋ฉด ์ ์ฉ์ด ๋๋ค.
๋๋ ์๋์ ๊ฐ์ด ์ง์ ๋ฃ์ด์ค์๋์๋ค !
animation: flipInY;
animation-duration: 2s;