@keyframes

๐Ÿ“š ์ง€์‹ ์ฑ„์šฐ๊ธฐ/์›น (ํ”„๋ก ํŠธ์—”๋“œ, ๋ฐฑ์—”๋“œ)

[HTML&CSS] Animations

[HTML&CSS] Animations ( UPDATE 2023 - 05 - 31 ) Animation - 1 Animation ๋งˆ์šฐ์Šค๋ฅผ ์œ„๋กœ ์˜ฌ๋ฆฌ๊ฑฐ๋‚˜ transition ์—†์ด ์›ํ•˜๋Š” ๋งŒํผ ๊ณ„์† ์žฌ์ƒ๋˜๋Š” ์• ๋‹ˆ๋ฉ”์ด์…˜์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋‹ค. ์• ๋‹ˆ๋ฉ”์ด์…˜์„ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ๊ทœ์น™์€ @ketframes ๋ผ๊ณ  ์ ๊ณ , ๊ทธ ๋‹ค์Œ์— ์• ๋‹ˆ๋ฉ”์ด์…˜์˜ ์ด๋ฆ„์„ ์ •ํ•œ๋‹ค. A์—์„œ B๊นŒ์ง€ ์›€์ง์ด๋Š” ์• ๋‹ˆ๋ฉ”์ด์…˜ ๋งŒ๋“ค๊ธฐ @keyframes ์ด๋ฆ„{} ๋งŒ๋“  ํ›„ ์•ˆ์— A์ง€์  ๋ถ€ํ„ฐ B์ง€์ ๊นŒ์ง€์˜ ์• ๋‹ˆ๋ฉ”์ด์…˜์„ ์„ ํƒ from{A} to{B} @keyframes coinflip { from {transform: rotateX(0);} to {transform: rotateY(360deg);} } /* ์ด๋ ‡๊ฒŒ ๋‚ด ์—๋‹ˆ๋ฉ”์ด์…˜์„ ์„ค์ •ํ•˜๊ณ , ์• ๋‹ˆ๋ฉ”์ด์…˜์„ ์ค„ ์†์„ฑ์— ์ž‘์„ฑํ•˜..

์–‘์ฝฉ(Yangkong)
'@keyframes' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก