{"id":18762,"date":"2026-07-21T11:36:35","date_gmt":"2026-07-21T11:36:35","guid":{"rendered":"https:\/\/withcode.tech\/media\/?p=18762"},"modified":"2026-07-21T11:36:35","modified_gmt":"2026-07-21T11:36:35","slug":"css-keyframes-animation","status":"publish","type":"post","link":"https:\/\/withcode.tech\/media\/css-keyframes-animation\/","title":{"rendered":"CSS @keyframes\u306e\u4f7f\u3044\u65b9\uff5c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u308a\u65b9\u3092\u30b3\u30d4\u30da\u4f8b\u3067\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Web\u30da\u30fc\u30b8\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u52a0\u3048\u305f\u3044\u2014\u2014\u305d\u3046\u601d\u3063\u3066\u8abf\u3079\u308b\u3068\u5fc5\u305a\u767b\u5834\u3059\u308b\u306e\u304c <code>@keyframes<\/code> \u3068 <code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\u3057\u304b\u3057\u300c\u66f8\u304d\u65b9\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u300d\u300c\u4f55\u500b\u3082\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u3063\u3066\u899a\u3048\u3089\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u58f0\u306f\u521d\u5fc3\u8005\u3060\u3051\u3067\u306a\u304f\u3001\u4e2d\u7d1a\u8005\u306b\u3082\u591a\u304f\u805e\u304b\u308c\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001JavaScript\u3092\u4e00\u5207\u66f8\u304b\u305a\u306b\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u56de\u8ee2\u30fb\u30b9\u30e9\u30a4\u30c9\u3068\u3044\u3063\u305f\u52d5\u304d\u3092\u5b9f\u73fe\u3067\u304d\u308b\u5f37\u529b\u306a\u4ed5\u7d44\u307f\u3067\u3059\u3002\u6b63\u3057\u3044\u69cb\u6587\u3068\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5f79\u5272\u3092\u7406\u89e3\u3059\u308c\u3070\u3001\u30b3\u30d4\u30da\u3060\u3051\u306b\u983c\u3089\u305a\u81ea\u5206\u3067\u601d\u3044\u901a\u308a\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7d44\u3081\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f <code>@keyframes<\/code> \u306e\u57fa\u672c\u69cb\u6587\u304b\u3089 <code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u51688\u5024\u3001\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u5b9f\u7528\u30d1\u30bf\u30fc\u30f3\u3001\u30eb\u30fc\u30d7\u30fb\u5f80\u5fa9\u306e\u5236\u5fa1\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u307e\u3067\u3001\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u8aad\u307f\u7d42\u3048\u305f\u3068\u304d\u306b\u306f\u300c\u81ea\u5206\u3067\u30bc\u30ed\u304b\u3089\u66f8\u3051\u308b\u300d\u72b6\u614b\u3092\u76ee\u6307\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u307e\u305a\u6700\u521d\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3067\u5b66\u3079\u308b\u3053\u3068\u3092\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<ul class=\"wp-block-list\">\n<li><code>@keyframes<\/code> \u3068 <code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5f79\u5272\u3068\u95a2\u4fc2\u6027\u3092\u7406\u89e3\u3067\u304d\u308b<\/li>\n<li><code>animation<\/code> \u306e8\u3064\u306e\u30b5\u30d6\u30d7\u30ed\u30d1\u30c6\u30a3\uff08name \/ duration \/ timing-function \/ delay \/ iteration-count \/ direction \/ fill-mode \/ play-state\uff09\u3092\u6b63\u78ba\u306b\u4f7f\u3044\u3053\u306a\u305b\u308b<\/li>\n<li>\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u30b9\u30d4\u30ca\u30fc\u30fb\u30d0\u30a6\u30f3\u30c9\u306a\u3069\u5b9f\u7528\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30b3\u30d4\u30da\u3067\u5373\u4f7f\u3048\u308b<\/li>\n<li>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306b\u914d\u616e\u3057\u305f <code>prefers-reduced-motion<\/code> \u306e\u66f8\u304d\u65b9\u3092\u7fd2\u5f97\u3067\u304d\u308b<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\">@keyframes\u3068\u306f\uff1fanimation\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306e\u95a2\u4fc2<\/h2>\n<p class=\"wp-block-paragraph\"><code>@keyframes<\/code> \u306f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u300c\u30b3\u30de\u5272\u308a\u300d\u3092\u5b9a\u7fa9\u3059\u308bCSS\u306e\u30a2\u30c3\u30c8\u898f\u5247\uff08at-rule\uff09\u3067\u3059\u3002\u6620\u753b\u306e\u30d5\u30a3\u30eb\u30e0\u306b\u4f8b\u3048\u308b\u306a\u3089\u3001\u5404\u30b3\u30de\u306b\u3069\u3093\u306a\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u304b\u3092\u8a18\u8ff0\u3059\u308b\u3082\u306e\u3060\u3068\u8003\u3048\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3057\u3087\u3046\u3002<code>@keyframes<\/code> \u5358\u4f53\u3067\u306f\u4f55\u3082\u52d5\u304b\u305a\u3001\u3042\u304f\u307e\u3067\u300c\u52d5\u304d\u65b9\u306e\u8a2d\u8a08\u56f3\u300d\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u305d\u306e\u8a2d\u8a08\u56f3\u3092\u5b9f\u969b\u306b\u8981\u7d20\u306b\u9069\u7528\u3059\u308b\u306e\u304c <code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002<code>animation-name<\/code> \u3067\u4f7f\u3044\u305f\u3044 <code>@keyframes<\/code> \u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3001<code>animation-duration<\/code> \u3067\u518d\u751f\u6642\u9593\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u521d\u3081\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304d\u51fa\u3057\u307e\u3059\u3002\u3064\u307e\u308a <code>@keyframes<\/code> \u3068 <code>animation<\/code> \u306f\u30bb\u30c3\u30c8\u3067\u4f7f\u3046\u3082\u306e\u3068\u899a\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 class=\"wp-block-heading\">transition\u3068\u306e\u9055\u3044<\/h3>\n<p class=\"wp-block-paragraph\">CSS\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u73fe\u3059\u308b\u65b9\u6cd5\u306b\u306f <code>transition<\/code> \u3068 <code>animation<\/code>\uff08+ <code>@keyframes<\/code>\uff09\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002\u6df7\u540c\u3057\u3084\u3059\u3044\u306e\u3067\u3001\u9055\u3044\u3092\u6574\u7406\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\"><code>transition<\/code> \u306f\u300c\u72b6\u614b\u304c\u5909\u5316\u3057\u305f\u3068\u304d\uff08\u30db\u30d0\u30fc\u30fb\u30af\u30ea\u30c3\u30af\u306a\u3069\uff09\u306b\u3001\u5909\u5316\u524d\u304b\u3089\u5909\u5316\u5f8c\u3078\u6ed1\u3089\u304b\u306b\u79fb\u884c\u3059\u308b\u300d\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002\u30c8\u30ea\u30ac\u30fc\u3068\u306a\u308b\u72b6\u614b\u5909\u5316\u304c\u5fc5\u8981\u3067\u3001\u4e2d\u9593\u306e\u30b3\u30de\u3092\u81ea\u5206\u3067\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u4e00\u65b9 <code>animation<\/code> \u306f\u3001\u30da\u30fc\u30b8\u8aad\u307f\u8fbc\u307f\u76f4\u5f8c\u304b\u3089\u81ea\u52d5\u7684\u306b\u52d5\u304b\u3059\u3053\u3068\u3082\u3001\u8907\u6570\u306e\u4e2d\u9593\u30b9\u30c6\u30c3\u30d7\u3092\u81ea\u7531\u306b\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3082\u3001\u30eb\u30fc\u30d7\u518d\u751f\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3088\u308a\u8907\u96d1\u3067\u81ea\u5f8b\u7684\u306a\u52d5\u304d\u3092\u4f5c\u308b\u306a\u3089 <code>@keyframes<\/code> + <code>animation<\/code> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>transition<\/th><th>animation + @keyframes<\/th><\/tr><\/thead><tbody>\n<tr><td>\u30c8\u30ea\u30ac\u30fc<\/td><td>\u72b6\u614b\u5909\u5316\uff08hover\u7b49\uff09\u304c\u5fc5\u8981<\/td><td>\u4e0d\u8981\uff08\u81ea\u52d5\u518d\u751f\u53ef\u80fd\uff09<\/td><\/tr>\n<tr><td>\u4e2d\u9593\u30b9\u30c6\u30c3\u30d7<\/td><td>\u5b9a\u7fa9\u4e0d\u53ef\uff082\u70b9\u9593\u306e\u307f\uff09<\/td><td>\u81ea\u7531\u306b\u8907\u6570\u5b9a\u7fa9\u53ef\u80fd<\/td><\/tr>\n<tr><td>\u30eb\u30fc\u30d7<\/td><td>\u4e0d\u53ef<\/td><td>\u53ef\u80fd\uff08infinite\uff09<\/td><\/tr>\n<tr><td>\u9006\u518d\u751f\u30fb\u5f80\u5fa9<\/td><td>\u4e0d\u53ef<\/td><td>\u53ef\u80fd\uff08alternate\u7b49\uff09<\/td><\/tr>\n<tr><td>\u7528\u9014<\/td><td>\u30db\u30d0\u30fc\u30a8\u30d5\u30a7\u30af\u30c8\u7b49\u30b7\u30f3\u30d7\u30eb\u306a\u5909\u5316<\/td><td>\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30fb\u6f14\u51fa\u30fb\u8907\u96d1\u306a\u52d5\u304d<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n<p class=\"wp-block-paragraph\">\u30b7\u30f3\u30d7\u30eb\u306a\u30db\u30d0\u30fc\u30a8\u30d5\u30a7\u30af\u30c8\u306a\u3089 <code>transition<\/code>\u3001\u30da\u30fc\u30b8\u30ed\u30fc\u30c9\u6642\u306b\u52d5\u304f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3084\u7e70\u308a\u8fd4\u3057\u306e\u3042\u308b\u8868\u73fe\u306b\u306f <code>@keyframes<\/code> + <code>animation<\/code> \u3092\u9078\u3076\u306e\u304c\u57fa\u672c\u65b9\u91dd\u3067\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">@keyframes\u306e\u57fa\u672c\u69cb\u6587<\/h2>\n<p class=\"wp-block-paragraph\"><code>@keyframes<\/code> \u306e\u69cb\u6587\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<code>@keyframes<\/code> \u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u5f8c\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\uff08\u4efb\u610f\u306e\u8b58\u5225\u5b50\uff09\u3092\u66f8\u304d\u3001\u6ce2\u62ec\u5f27\u306e\u4e2d\u306b\u300c\u3069\u306e\u6642\u70b9\u3067\u3069\u3093\u306a\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u304b\u300d\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">from \/ to \u3092\u4f7f\u3046\u66f8\u304d\u65b9<\/h3>\n<p class=\"wp-block-paragraph\">\u6700\u3082\u57fa\u672c\u7684\u306a\u306e\u306f <code>from<\/code>\uff08\u958b\u59cb\uff09\u3068 <code>to<\/code>\uff08\u7d42\u4e86\uff09\u3092\u4f7f\u3046\u66f8\u304d\u65b9\u3067\u3059\u30022\u70b9\u9593\u306e\u5909\u5316\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u6e08\u3080\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002<code>from<\/code> \u306f <code>0%<\/code>\u3001<code>to<\/code> \u306f <code>100%<\/code> \u306e\u5225\u540d\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes fade-in {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 1;\n  }\n}\n\n.box {\n  animation-name: fade-in;\n  animation-duration: 1s;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001<code>fade-in<\/code> \u3068\u3044\u3046\u540d\u524d\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u5b9a\u7fa9\u3057\u3001\u900f\u660e\uff08<code>opacity: 0<\/code>\uff09\u304b\u3089\u4e0d\u900f\u660e\uff08<code>opacity: 1<\/code>\uff09\u306b\u5909\u5316\u3059\u308b1\u79d2\u9593\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092 <code>.box<\/code> \u306b\u9069\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u30d1\u30fc\u30bb\u30f3\u30c8\uff080% \u301c 100%\uff09\u3092\u4f7f\u3046\u66f8\u304d\u65b9<\/h3>\n<p class=\"wp-block-paragraph\">3\u70b9\u4ee5\u4e0a\u306e\u4e2d\u9593\u30b9\u30c6\u30c3\u30d7\u3092\u5b9a\u7fa9\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30d1\u30fc\u30bb\u30f3\u30c8\u5024\u3092\u4f7f\u3044\u307e\u3059\u30020%\u304c\u958b\u59cb\u3001100%\u304c\u7d42\u4e86\u3092\u8868\u3057\u3001\u305d\u306e\u9593\u306b\u4efb\u610f\u306e\u30d1\u30fc\u30bb\u30f3\u30c8\u5024\u3067\u30b9\u30c6\u30c3\u30d7\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes bounce-color {\n  0% {\n    transform: translateY(0);\n    background-color: #d16176;\n  }\n  50% {\n    transform: translateY(-40px);\n    background-color: #EFBDB7;\n  }\n  100% {\n    transform: translateY(0);\n    background-color: #d16176;\n  }\n}\n\n.ball {\n  animation-name: bounce-color;\n  animation-duration: 0.8s;\n  animation-iteration-count: infinite;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u30d1\u30fc\u30bb\u30f3\u30c8\u5024\u306f\u6607\u9806\u3067\u66f8\u304f\u306e\u304c\u6163\u4f8b\u3067\u3059\u304c\u3001\u4ed5\u69d8\u4e0a\u306f\u9806\u4e0d\u540c\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u53ef\u8aad\u6027\u306e\u305f\u3081\u306b\u6607\u9806\u3067\u66f8\u304f\u3053\u3068\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u8907\u6570\u30b9\u30c6\u30c3\u30d7\u3067\u7d30\u304b\u304f\u5236\u5fa1\u3059\u308b<\/h3>\n<p class=\"wp-block-paragraph\">\u3088\u308a\u7cbe\u5bc6\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u5834\u5408\u306f\u3001\u7d30\u304b\u304f\u30b9\u30c6\u30c3\u30d7\u3092\u523b\u307f\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u3057\u306a\u304c\u3089\u308f\u305a\u304b\u306b\u884c\u304d\u904e\u304e\u3066\u623b\u308b\u3088\u3046\u306a\u300c\u30d0\u30cd\u611f\u300d\u306e\u3042\u308b\u52d5\u304d\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes slide-scale {\n  0%   { transform: translateX(-60px) scale(0.8); opacity: 0; }\n  40%  { transform: translateX(10px)  scale(1.05); opacity: 1; }\n  70%  { transform: translateX(-5px)  scale(0.98); }\n  100% { transform: translateX(0)     scale(1); }\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u8907\u6570\u306e\u30d1\u30fc\u30bb\u30f3\u30c8\u5024\u306b\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u30ab\u30f3\u30de\u3067\u533a\u5207\u3063\u3066\u66f8\u3051\u307e\u3059\uff08\u4f8b\uff1a<code>0%, 100% { opacity: 0; }<\/code>\uff09\u3002\u3053\u308c\u3092\u4f7f\u3046\u3068\u30b3\u30fc\u30c9\u3092\u3059\u3063\u304d\u308a\u307e\u3068\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\u306e\u30eb\u30fc\u30eb<\/h3>\n<p class=\"wp-block-paragraph\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u540d\u306f\u82f1\u6570\u5b57\u30fb\u30cf\u30a4\u30d5\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u304c\u4f7f\u3048\u307e\u3059\u3002\u6570\u5b57\u59cb\u307e\u308a\u306fNG\u3002\u65e2\u5b58\u306eCSS\u30ad\u30fc\u30ef\u30fc\u30c9\uff08<code>none<\/code>\u3001<code>initial<\/code>\u3001<code>inherit<\/code> \u7b49\uff09\u3068\u540c\u3058\u540d\u524d\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u540d\u524d\u306f\u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3057\u307e\u3059\uff08<code>FadeIn<\/code> \u3068 <code>fadein<\/code> \u306f\u5225\u7269\uff09\u3002\u30c1\u30fc\u30e0\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u306f\u30b1\u30d0\u30d6\u30b1\u30fc\u30b9\uff08<code>fade-in<\/code>\uff09\u306b\u7d71\u4e00\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5404\u5024\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<p class=\"wp-block-paragraph\"><code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u3067\u30018\u3064\u306e\u30b5\u30d6\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4e00\u62ec\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u3067\u66f8\u304f\u3068\u304d\u306e\u9806\u5e8f\u306f\u300cname \u2192 duration \u2192 timing-function \u2192 delay \u2192 iteration-count \u2192 direction \u2192 fill-mode \u2192 play-state\u300d\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\uff08duration \u3068 delay \u306f\u9806\u5e8f\u3092\u5b88\u3089\u306a\u3044\u3068\u30d6\u30e9\u30a6\u30b6\u304c\u6b63\u3057\u304f\u89e3\u91c8\u3057\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u7279\u306b\u6ce8\u610f\uff09\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\uff08\u63a8\u5968\uff09 *\/\n.element {\n  animation: slide-in 0.6s ease-out 0.2s 1 normal forwards running;\n  \/*         name      dur   timing  delay count direction fill-mode play-state *\/\n}\n\n\/* \u500b\u5225\u6307\u5b9a\uff08\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u660e\u793a\u3057\u305f\u3044\u5834\u5408\uff09 *\/\n.element {\n  animation-name:            slide-in;\n  animation-duration:        0.6s;\n  animation-timing-function: ease-out;\n  animation-delay:           0.2s;\n  animation-iteration-count: 1;\n  animation-direction:       normal;\n  animation-fill-mode:       forwards;\n  animation-play-state:      running;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">8\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u305d\u308c\u305e\u308c\u306e\u5f79\u5272\u30fb\u4f7f\u3048\u308b\u5024\u30fb\u521d\u671f\u5024\u3092\u4ee5\u4e0b\u306e\u8868\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3092\u624b\u5143\u306b\u7f6e\u3044\u3066\u304a\u304f\u3060\u3051\u3067\u3001\u8ff7\u3063\u305f\u3068\u304d\u306b\u7d20\u65e9\u304f\u5f15\u3051\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th><th>\u5f79\u5272<\/th><th>\u4e3b\u306a\u5024\u306e\u4f8b<\/th><th>\u521d\u671f\u5024<\/th><\/tr><\/thead><tbody>\n<tr><td><code>animation-name<\/code><\/td><td>\u4f7f\u7528\u3059\u308b@keyframes\u306e\u540d\u524d\u3092\u6307\u5b9a<\/td><td>\u4efb\u610f\u306e\u8b58\u5225\u5b50 \/ <code>none<\/code><\/td><td><code>none<\/code><\/td><\/tr>\n<tr><td><code>animation-duration<\/code><\/td><td>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f31\u56de\u5206\u306e\u518d\u751f\u6642\u9593<\/td><td><code>0.5s<\/code> \/ <code>300ms<\/code><\/td><td><code>0s<\/code><\/td><\/tr>\n<tr><td><code>animation-timing-function<\/code><\/td><td>\u901f\u5ea6\u5909\u5316\uff08\u30a4\u30fc\u30b8\u30f3\u30b0\uff09\u306e\u66f2\u7dda<\/td><td><code>ease<\/code> \/ <code>linear<\/code> \/ <code>cubic-bezier()<\/code> \/ <code>steps()<\/code><\/td><td><code>ease<\/code><\/td><\/tr>\n<tr><td><code>animation-delay<\/code><\/td><td>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u958b\u59cb\u307e\u3067\u306e\u5f85\u6a5f\u6642\u9593\uff08\u8ca0\u5024\u3082\u53ef\uff09<\/td><td><code>0.3s<\/code> \/ <code>-0.5s<\/code><\/td><td><code>0s<\/code><\/td><\/tr>\n<tr><td><code>animation-iteration-count<\/code><\/td><td>\u518d\u751f\u56de\u6570<\/td><td>\u6574\u6570 \/ <code>infinite<\/code><\/td><td><code>1<\/code><\/td><\/tr>\n<tr><td><code>animation-direction<\/code><\/td><td>\u518d\u751f\u65b9\u5411<\/td><td><code>normal<\/code> \/ <code>reverse<\/code> \/ <code>alternate<\/code> \/ <code>alternate-reverse<\/code><\/td><td><code>normal<\/code><\/td><\/tr>\n<tr><td><code>animation-fill-mode<\/code><\/td><td>\u518d\u751f\u524d\u5f8c\u306e\u30b9\u30bf\u30a4\u30eb\u4fdd\u6301<\/td><td><code>none<\/code> \/ <code>forwards<\/code> \/ <code>backwards<\/code> \/ <code>both<\/code><\/td><td><code>none<\/code><\/td><\/tr>\n<tr><td><code>animation-play-state<\/code><\/td><td>\u518d\u751f\u30fb\u4e00\u6642\u505c\u6b62\u306e\u5207\u308a\u66ff\u3048<\/td><td><code>running<\/code> \/ <code>paused<\/code><\/td><td><code>running<\/code><\/td><\/tr>\n<\/tbody><\/table><\/figure>\n<h3 class=\"wp-block-heading\">animation-duration\u3068animation-delay\u306e\u6ce8\u610f\u70b9<\/h3>\n<p class=\"wp-block-paragraph\">\u30b7\u30e7\u30fc\u30c8\u30cf\u30f3\u30c9\u3067\u6642\u9593\u5024\u304c2\u3064\u767b\u5834\u3057\u305f\u5834\u5408\u3001\u30d6\u30e9\u30a6\u30b6\u306f\u300c\u6700\u521d\u306e\u6642\u9593\u5024 = duration\u30012\u756a\u76ee\u306e\u6642\u9593\u5024 = delay\u300d\u3068\u89e3\u91c8\u3057\u307e\u3059\u3002<code>animation: fade 0.5s 1s<\/code> \u3068\u66f8\u3044\u305f\u3089\u300c0.5\u79d2\u3067\u518d\u751f\u30011\u79d2\u5f8c\u306b\u958b\u59cb\u300d\u3067\u3059\u3002\u610f\u56f3\u3068\u9006\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p class=\"wp-block-paragraph\"><code>animation-delay<\/code> \u306b\u8ca0\u306e\u5024\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3059\u3067\u306b\u6307\u5b9a\u3057\u305f\u6642\u9593\u5206\u3060\u3051\u7d4c\u904e\u3057\u305f\u72b6\u614b\u304b\u3089\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070 <code>animation-delay: -0.5s<\/code> \u3068\u3059\u308b\u3068\u30010.5\u79d2\u7d4c\u904e\u3057\u305f\u6642\u70b9\u306e\u30b3\u30de\u304b\u3089\u518d\u751f\u304c\u59cb\u307e\u308a\u307e\u3059\u3002\u8907\u6570\u8981\u7d20\u3092\u5c11\u3057\u305a\u3064\u305a\u3089\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u3068\u304d\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u5b9f\u7528\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u96c6<\/h2>\n<p class=\"wp-block-paragraph\">\u3053\u3053\u304b\u3089\u306f\u5b9f\u969b\u306e\u958b\u767a\u3067\u983b\u7e41\u306b\u4f7f\u308f\u308c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30d1\u30bf\u30fc\u30f3\u30925\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002\u305d\u306e\u307e\u307e\u30b3\u30d4\u30da\u3057\u3066\u4f7f\u3048\u307e\u3059\u304c\u3001\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u610f\u5473\u3082\u78ba\u8a8d\u3057\u306a\u304c\u3089\u8aad\u307f\u9032\u3081\u3066\u304f\u3060\u3055\u3044\u3002\u81ea\u5206\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u304c\u76ee\u6a19\u3067\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3<\/h3>\n<p class=\"wp-block-paragraph\">\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u8981\u7d20\u304c\u900f\u660e\u306a\u72b6\u614b\u304b\u3089\u4e0d\u900f\u660e\u306b\u30d5\u30a7\u30fc\u30c9\u3057\u306a\u304c\u3089\u8868\u308c\u307e\u3059\u3002<code>animation-fill-mode: forwards<\/code> \u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u3082 <code>to<\/code>\uff08\u4e0d\u900f\u660e\uff09\u306e\u72b6\u614b\u3092\u7dad\u6301\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u5fd8\u308c\u308b\u3068\u518d\u751f\u5f8c\u306b\u5143\u306e\u72b6\u614b\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes fade-in {\n  from { opacity: 0; }\n  to   { opacity: 1; }\n}\n\n.fade-in-element {\n  animation: fade-in 0.8s ease-out forwards;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u70b9\u6ec5\uff08\u30d6\u30ea\u30f3\u30af\uff09<\/h3>\n<p class=\"wp-block-paragraph\">\u6ce8\u610f\u3092\u5f15\u304d\u305f\u3044UI\u8981\u7d20\uff08\u30d0\u30c3\u30b8\u30fb\u901a\u77e5\u30a2\u30a4\u30b3\u30f3\u30fb\u30ab\u30fc\u30bd\u30eb\uff09\u306b\u4f7f\u3048\u307e\u3059\u3002<code>0%<\/code> \u3068 <code>100%<\/code> \u306b\u540c\u3058\u30b9\u30bf\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3001<code>50%<\/code> \u3067\u6d88\u3048\u308b\u3053\u3068\u3067\u81ea\u7136\u306a\u70b9\u6ec5\u3092\u4f5c\u308a\u307e\u3059\u3002<code>linear<\/code> \u3092\u4f7f\u3046\u3053\u3068\u3067\u30a4\u30fc\u30b8\u30f3\u30b0\u306a\u3057\u306e\u30b7\u30e3\u30fc\u30d7\u306a\u70b9\u6ec5\u306b\u306a\u308a\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u9762\u3067\u306f\u904e\u5ea6\u306a\u70b9\u6ec5\u306f\u907f\u3051\u3001\u5f8c\u8ff0\u306e <code>prefers-reduced-motion<\/code> \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes blink {\n  0%, 100% { opacity: 1; }\n  50%       { opacity: 0; }\n}\n\n.blink-text {\n  animation: blink 1.2s linear infinite;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u304f\u308b\u304f\u308b\u56de\u8ee2\u30b9\u30d4\u30ca\u30fc<\/h3>\n<p class=\"wp-block-paragraph\">\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u4e2d\u306e\u5f85\u6a5f\u8868\u793a\u3068\u3057\u3066\u6700\u3082\u3088\u304f\u898b\u304b\u3051\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<code>border-top-color<\/code> \u3060\u3051\u8272\u3092\u5909\u3048\u305f\u5186\u3092 <code>rotate(360deg)<\/code> \u3067\u56de\u8ee2\u3055\u305b\u307e\u3059\u3002<code>linear<\/code> \u3092\u4f7f\u3046\u3053\u3068\u3067\u4e00\u5b9a\u901f\u5ea6\u306e\u6ed1\u3089\u304b\u306a\u56de\u8ee2\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes spin {\n  from { transform: rotate(0deg); }\n  to   { transform: rotate(360deg); }\n}\n\n.spinner {\n  width: 40px;\n  height: 40px;\n  border: 4px solid #EFBDB7;\n  border-top-color: #d16176;\n  border-radius: 50%;\n  animation: spin 0.8s linear infinite;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u30d0\u30a6\u30f3\u30c9\uff08\u5f3e\u3080\u52d5\u304d\uff09<\/h3>\n<p class=\"wp-block-paragraph\">\u30dc\u30fc\u30eb\u304c\u5730\u9762\u306b\u5f3e\u3080\u3088\u3046\u306a\u52d5\u304d\u3067\u3059\u3002\u30dd\u30a4\u30f3\u30c8\u306f <code>animation-timing-function<\/code> \u3092\u5404\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306e\u5185\u5074\u306b\u66f8\u3044\u3066\u3044\u308b\u70b9\u3067\u3059\u30020%\u219250%\u306e\u4e0a\u6607\u306f <code>ease-in<\/code>\uff08\u52a0\u901f\u3057\u306a\u304c\u3089\uff09\u300150%\u2192100%\u306e\u843d\u4e0b\u306f <code>ease-out<\/code>\uff08\u6e1b\u901f\u3057\u306a\u304c\u3089\uff09\u306b\u3059\u308b\u3053\u3068\u3067\u81ea\u7136\u306a\u91cd\u529b\u611f\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes bounce {\n  0%, 100% {\n    transform: translateY(0);\n    animation-timing-function: ease-in;\n  }\n  50% {\n    transform: translateY(-30px);\n    animation-timing-function: ease-out;\n  }\n}\n\n.bounce-ball {\n  animation: bounce 0.6s infinite;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u5de6\u304b\u3089\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3<\/h3>\n<p class=\"wp-block-paragraph\">\u30ab\u30fc\u30c9\u30fb\u30ea\u30b9\u30c8\u30fb\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u8868\u793a\u306b\u4f7f\u3048\u307e\u3059\u3002<code>translateX<\/code> \u3067\u5de6\u304b\u3089\u30b9\u30e9\u30a4\u30c9\u3057\u3064\u3064 <code>opacity<\/code> \u3067\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3092\u91cd\u306d\u308b\u3053\u3068\u3067\u6d17\u7df4\u3055\u308c\u305f\u52d5\u304d\u306b\u306a\u308a\u307e\u3059\u3002<code>nth-child<\/code> \u3068 <code>animation-delay<\/code> \u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u8907\u6570\u8981\u7d20\u3092\u9806\u756a\u306b\u767b\u5834\u3055\u305b\u308b\u30b9\u30bf\u30c3\u30ac\u30fc\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u3082\u5fdc\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes slide-in-left {\n  from {\n    transform: translateX(-60px);\n    opacity: 0;\n  }\n  to {\n    transform: translateX(0);\n    opacity: 1;\n  }\n}\n\n.slide-in {\n  animation: slide-in-left 0.5s ease-out forwards;\n}\n\n\/* \u8907\u6570\u8981\u7d20\u3092\u9806\u756a\u306b\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u3055\u305b\u308b\u5834\u5408 *\/\n.slide-in:nth-child(1) { animation-delay: 0s;    }\n.slide-in:nth-child(2) { animation-delay: 0.1s;  }\n.slide-in:nth-child(3) { animation-delay: 0.2s;  }<\/code><\/pre><\/div>\n<h2 class=\"wp-block-heading\">\u30eb\u30fc\u30d7\u3068\u5f80\u5fa9\u306e\u5236\u5fa1<\/h2>\n<p class=\"wp-block-paragraph\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f55\u5ea6\u3082\u7e70\u308a\u8fd4\u3057\u305f\u3044\u5834\u5408\u3084\u3001\u884c\u304d\u6765\u3055\u305b\u305f\u3044\u5834\u5408\u306b\u306f <code>animation-iteration-count<\/code> \u3068 <code>animation-direction<\/code> \u3092\u4f7f\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u518d\u751f\u7d42\u4e86\u5f8c\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u4fdd\u6301\u3059\u308b\u306b\u306f <code>animation-fill-mode<\/code> \u304c\u6b20\u304b\u305b\u307e\u305b\u3093\u3002\u3053\u306e3\u3064\u3092\u30bb\u30c3\u30c8\u3067\u7406\u89e3\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3 class=\"wp-block-heading\">iteration-count\u3068direction\u3067\u5f80\u5fa9\u30eb\u30fc\u30d7\u3092\u4f5c\u308b<\/h3>\n<p class=\"wp-block-paragraph\"><code>animation-iteration-count: infinite<\/code> \u306f\u7121\u9650\u30eb\u30fc\u30d7\u3067\u3059\u3002\u6574\u6570\u3092\u6307\u5b9a\u3059\u308b\u3068\u518d\u751f\u56de\u6570\u3092\u5236\u9650\u3067\u304d\u307e\u3059\u3002<code>animation-direction: alternate<\/code> \u306f\u300c\u6b63\u65b9\u5411 \u2192 \u9006\u65b9\u5411 \u2192 \u6b63\u65b9\u5411 \u2192 \u2026\u300d\u3068\u5f80\u5fa9\u3055\u305b\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u3059\u3002<code>alternate-reverse<\/code> \u306b\u3059\u308b\u3068\u9006\u65b9\u5411\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u7121\u9650\u30eb\u30fc\u30d7 *\/\n.spinner {\n  animation: spin 1s linear infinite;\n}\n\n\/* 3\u56de\u3060\u3051\u518d\u751f *\/\n.pulse {\n  animation: pulse 0.5s ease 3;\n}\n\n\/* \u5f80\u5fa9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff08\u884c\u3063\u3066\u623b\u308b\uff09\u00d7\u7121\u9650\u30eb\u30fc\u30d7 *\/\n@keyframes slide-lr {\n  from { transform: translateX(0); }\n  to   { transform: translateX(100px); }\n}\n\n.slide-back-forth {\n  animation: slide-lr 0.8s ease-in-out infinite alternate;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\"><code>alternate<\/code> \u3092\u4f7f\u3046\u3068\u5f80\u5fa9\u304c\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u3064\u306a\u304c\u308b\u305f\u3081\u3001\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30d0\u30fc\u3084\u30d7\u30ed\u30b0\u30ec\u30b9\u8868\u793a\u306e\u3088\u3046\u306a\u300c\u884c\u3063\u3066\u623b\u308b\u300d\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u81ea\u7136\u306b\u4f5c\u308c\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">animation-fill-mode\u306e\u4f7f\u3044\u3069\u3053\u308d<\/h3>\n<p class=\"wp-block-paragraph\"><code>animation-fill-mode<\/code> \u306f\u300c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u518d\u751f\u524d\u5f8c\u306b\u3001\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3067\u5b9a\u7fa9\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u304b\u3069\u3046\u304b\u300d\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\u521d\u671f\u5024 <code>none<\/code> \u3060\u3068\u7d42\u4e86\u5f8c\u306b\u5143\u306e\u30b9\u30bf\u30a4\u30eb\u306b\u623b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3088\u304f\u4f7f\u3046\u5024\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>none<\/strong>\uff08\u521d\u671f\u5024\uff09\uff1a\u518d\u751f\u524d\u5f8c\u306f\u8981\u7d20\u306e\u5143\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u4f7f\u7528\u3002\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u306b\u623b\u308b\u3002<\/li>\n<li><strong>forwards<\/strong>\uff1a\u518d\u751f\u7d42\u4e86\u5f8c\u3001\u6700\u5f8c\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\uff08<code>to<\/code> \u307e\u305f\u306f <code>100%<\/code>\uff09\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7dad\u6301\u3059\u308b\u3002\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u5f8c\u306b\u6d88\u3048\u3066\u307b\u3057\u304f\u306a\u3044\u5834\u5408\u306b\u5fc5\u9808\u3002<\/li>\n<li><strong>backwards<\/strong>\uff1a<code>animation-delay<\/code> \u5f85\u6a5f\u4e2d\u3001\u6700\u521d\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\uff08<code>from<\/code> \u307e\u305f\u306f <code>0%<\/code>\uff09\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u3002\u9045\u5ef6\u4e2d\u306b\u8981\u7d20\u304c\u300c\u8df3\u3073\u51fa\u3066\u898b\u3048\u308b\u300d\u554f\u984c\u3092\u9632\u3050\u3002<\/li>\n<li><strong>both<\/strong>\uff1a<code>forwards<\/code> \u3068 <code>backwards<\/code> \u306e\u4e21\u65b9\u3092\u9069\u7528\u3002\u9045\u5ef6\u3042\u308a\u30fb\u7d42\u4e86\u5f8c\u7dad\u6301\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3053\u308c\u304c\u6700\u3082\u4fbf\u5229\u3002<\/li>\n<\/ul>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@keyframes drop-in {\n  from {\n    transform: translateY(-40px);\n    opacity: 0;\n  }\n  to {\n    transform: translateY(0);\n    opacity: 1;\n  }\n}\n\n\/* forwards: \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u306bto\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u4fdd\u6301 *\/\n.modal {\n  animation: drop-in 0.4s ease-out forwards;\n}\n\n\/* backwards: \u958b\u59cb\u524d\uff08delay\u4e2d\uff09\u306bfrom\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528 *\/\n.delayed-item {\n  animation: drop-in 0.4s ease-out 0.5s backwards;\n}\n\n\/* both: forwards\u3068backwards\u3092\u4e21\u65b9\u9069\u7528 *\/\n.delayed-modal {\n  animation: drop-in 0.4s ease-out 0.5s both;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\"><code>forwards<\/code> \u3092\u5fd8\u308c\u3066\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3057\u305f\u306e\u306b\u6d88\u3048\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u30df\u30b9\u306f\u521d\u5fc3\u8005\u306b\u975e\u5e38\u306b\u591a\u3044\u3067\u3059\u3002\u300c\u7d42\u4e86\u5f8c\u306b\u72b6\u614b\u3092\u7dad\u6301\u3057\u305f\u3044\u300d\u3068\u601d\u3063\u305f\u3089 <code>forwards<\/code> \u304b <code>both<\/code> \u3092\u6307\u5b9a\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2 class=\"wp-block-heading\">timing-function\u3068steps()<\/h2>\n<p class=\"wp-block-paragraph\"><code>animation-timing-function<\/code>\uff08\u30a4\u30fc\u30b8\u30f3\u30b0\uff09\u306f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u300c\u901f\u5ea6\u5909\u5316\u306e\u66f2\u7dda\u300d\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u540c\u3058\u6642\u9593\u30fb\u540c\u3058\u8ddd\u96e2\u3067\u3082\u3001\u30a4\u30fc\u30b8\u30f3\u30b0\u304c\u5909\u308f\u308b\u3060\u3051\u3067\u52d5\u304d\u306e\u5370\u8c61\u304c\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">ease\u7cfb\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u9055\u3044<\/h3>\n<p class=\"wp-block-paragraph\">CSS\u304c\u7528\u610f\u3057\u3066\u3044\u308b\u30ad\u30fc\u30ef\u30fc\u30c9\u306f5\u7a2e\u985e\u3067\u3059\u3002\u305d\u308c\u305e\u308c\u5185\u90e8\u7684\u306b\u306f <code>cubic-bezier()<\/code> \u306e\u7279\u5b9a\u5024\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>.box-ease        { animation-timing-function: ease; }         \/* \u521d\u671f\u5024\u3002\u958b\u59cb\u30fb\u7d42\u4e86\u304c\u3086\u308b\u3084\u304b *\/\n.box-ease-in     { animation-timing-function: ease-in; }      \/* \u958b\u59cb\u304c\u3086\u3063\u304f\u308a\u3001\u7d42\u4e86\u304c\u901f\u3044 *\/\n.box-ease-out    { animation-timing-function: ease-out; }     \/* \u958b\u59cb\u304c\u901f\u3044\u3001\u7d42\u4e86\u304c\u3086\u308b\u3084\u304b *\/\n.box-ease-in-out { animation-timing-function: ease-in-out; }  \/* \u4e21\u7aef\u304c\u3086\u308b\u3084\u304b *\/\n.box-linear      { animation-timing-function: linear; }       \/* \u4e00\u5b9a\u901f\u5ea6\uff08\u5909\u5316\u306a\u3057\uff09*\/<\/code><\/pre><\/div>\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30ad\u30fc\u30ef\u30fc\u30c9<\/th><th>\u5bfe\u5fdc\u3059\u308bcubic-bezier\u5024<\/th><th>\u5370\u8c61\u30fb\u7528\u9014<\/th><\/tr><\/thead><tbody>\n<tr><td><code>ease<\/code><\/td><td>cubic-bezier(0.25, 0.1, 0.25, 1)<\/td><td>\u81ea\u7136\u306a\u52d5\u304d\u3002\u6c4e\u7528<\/td><\/tr>\n<tr><td><code>ease-in<\/code><\/td><td>cubic-bezier(0.42, 0, 1, 1)<\/td><td>\u91cd\u3044\u611f\u3058\u3002\u9000\u5834\u30a2\u30cb\u30e1\u5411\u304d<\/td><\/tr>\n<tr><td><code>ease-out<\/code><\/td><td>cubic-bezier(0, 0, 0.58, 1)<\/td><td>\u8efd\u5feb\u306a\u611f\u3058\u3002\u767b\u5834\u30a2\u30cb\u30e1\u5411\u304d<\/td><\/tr>\n<tr><td><code>ease-in-out<\/code><\/td><td>cubic-bezier(0.42, 0, 0.58, 1)<\/td><td>\u4e21\u7aef\u304c\u6ed1\u3089\u304b\u3002\u5f80\u5fa9\u5411\u304d<\/td><\/tr>\n<tr><td><code>linear<\/code><\/td><td>cubic-bezier(0, 0, 1, 1)<\/td><td>\u4e00\u5b9a\u901f\u5ea6\u3002\u56de\u8ee2\u30fb\u9032\u884c\u30d0\u30fc\u5411\u304d<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n<h3 class=\"wp-block-heading\">cubic-bezier()\u3067\u72ec\u81ea\u30a4\u30fc\u30b8\u30f3\u30b0\u3092\u4f5c\u308b<\/h3>\n<p class=\"wp-block-paragraph\"><code>cubic-bezier(x1, y1, x2, y2)<\/code> \u3092\u4f7f\u3046\u3068\u3001\u65e2\u5b58\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u306f\u8868\u73fe\u3067\u304d\u306a\u3044\u72ec\u81ea\u306e\u30a4\u30fc\u30b8\u30f3\u30b0\u30ab\u30fc\u30d6\u3092\u4f5c\u308c\u307e\u3059\u3002y\u5024\u304c0\u301c1\u306e\u7bc4\u56f2\u5916\u306b\u306a\u308b\u3068\u30aa\u30fc\u30d0\u30fc\u30b7\u30e5\u30fc\u30c8\uff08\u76ee\u6a19\u3092\u8d85\u3048\u3066\u304b\u3089\u623b\u308b\uff09\u3059\u308b\u30d0\u30cd\u52b9\u679c\u3092\u4f5c\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* cubic-bezier(x1, y1, x2, y2) \u3067\u72ec\u81ea\u30ab\u30fc\u30d6\u3092\u5b9a\u7fa9 *\/\n.custom-ease {\n  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);\n  \/* \u30d0\u30cd\u306e\u3088\u3046\u306b\u30aa\u30fc\u30d0\u30fc\u30b7\u30e5\u30fc\u30c8\u3059\u308b\u30a4\u30fc\u30b8\u30f3\u30b0 *\/\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u30d6\u30e9\u30a6\u30b6\u306eDevTools\u3067\u3082 <code>cubic-bezier<\/code> \u30a8\u30c7\u30a3\u30bf\u304c\u4f7f\u3048\u307e\u3059\u3002Chrome\u306eDevTools \u2192 Styles\u30d1\u30cd\u30eb\u3067\u30a4\u30fc\u30b8\u30f3\u30b0\u5024\u306e\u5de6\u306b\u3042\u308b\u6ce2\u5f62\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30d3\u30b8\u30e5\u30a2\u30eb\u3067\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">steps()\u3067\u30b3\u30de\u9001\u308a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b<\/h3>\n<p class=\"wp-block-paragraph\"><code>steps(\u30b3\u30de\u6570, \u65b9\u5411)<\/code> \u306f\u6ed1\u3089\u304b\u306a\u88dc\u9593\u3092\u305b\u305a\u3001\u6307\u5b9a\u3057\u305f\u30b3\u30de\u6570\u3067\u77ac\u9593\u7684\u306b\u5207\u308a\u66ff\u3048\u308b\u30a4\u30fc\u30b8\u30f3\u30b0\u3067\u3059\u3002\u30bf\u30a4\u30d4\u30f3\u30b0\u30a8\u30d5\u30a7\u30af\u30c8\u3084\u30b2\u30fc\u30e0\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u306e\u30b9\u30d7\u30e9\u30a4\u30c8\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">\u65b9\u5411\u306b\u306f <code>end<\/code>\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u3068 <code>start<\/code> \u304c\u3042\u308a\u307e\u3059\u3002<code>end<\/code> \u306f\u5404\u30b9\u30c6\u30c3\u30d7\u306e\u7d42\u308f\u308a\u306b\u30b9\u30bf\u30a4\u30eb\u304c\u5909\u308f\u308a\u3001<code>start<\/code> \u306f\u5404\u30b9\u30c6\u30c3\u30d7\u306e\u59cb\u307e\u308a\u306b\u5909\u308f\u308a\u307e\u3059\u3002\u30bf\u30a4\u30d4\u30f3\u30b0\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u306f <code>end<\/code> \u304c\u81ea\u7136\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u6587\u5b57\u30921\u6587\u5b57\u305a\u3064\u6253\u3061\u8fbc\u3080\u30bf\u30a4\u30d4\u30f3\u30b0\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3 *\/\n@keyframes typing {\n  from { width: 0; }\n  to   { width: 15ch; }\n}\n\n@keyframes blink-cursor {\n  50% { border-color: transparent; }\n}\n\n.typewriter {\n  font-family: monospace;\n  white-space: nowrap;\n  overflow: hidden;\n  border-right: 2px solid #d16176;\n  width: 15ch;\n  animation:\n    typing       3s steps(15, end) forwards,\n    blink-cursor 0.7s step-end infinite;\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">\u30b9\u30d7\u30e9\u30a4\u30c8\u30b7\u30fc\u30c8\u306e\u30b3\u30de\u9001\u308a\u306b\u3082 <code>steps()<\/code> \u304c\u6d3b\u8e8d\u3057\u307e\u3059\u3002<code>background-position<\/code> \u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u3001\u30b3\u30de\u6570\u3092 <code>steps()<\/code> \u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u30b9\u30d7\u30e9\u30a4\u30c8\u30b7\u30fc\u30c8\u3092\u4f7f\u3063\u305f\u30b3\u30de\u9001\u308a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3 *\/\n@keyframes walk {\n  from { background-position: 0 0; }\n  to   { background-position: -640px 0; } \/* 8\u30b3\u30de \u00d7 80px *\/\n}\n\n.character {\n  width: 80px;\n  height: 100px;\n  background-image: url(&#x27;sprite.png&#x27;);\n  animation: walk 0.8s steps(8, end) infinite;\n}<\/code><\/pre><\/div>\n<h2 class=\"wp-block-heading\">\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u914d\u616e\uff1aprefers-reduced-motion\u3067\u30a2\u30cb\u30e1\u3092\u6291\u5236\u3059\u308b<\/h2>\n<p class=\"wp-block-paragraph\">\u524d\u5ead\u969c\u5bb3\uff08\u3081\u307e\u3044\u30fb\u4e57\u308a\u7269\u9154\u3044\uff09\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u3084\u3001\u767a\u4f5c\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u753b\u9762\u4e0a\u306e\u904e\u5ea6\u306a\u52d5\u304d\u306b\u3088\u3063\u3066\u4f53\u8abf\u4e0d\u826f\u3092\u5f15\u304d\u8d77\u3053\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002OS\u30ec\u30d9\u30eb\u3067\u300c\u8996\u5dee\u52b9\u679c\u3092\u6e1b\u3089\u3059\u300d\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6291\u5236\u3059\u308b\u914d\u616e\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p class=\"wp-block-paragraph\">CSS \u3067\u306f <code>prefers-reduced-motion<\/code> \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u4f7f\u3063\u3066\u3053\u308c\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002macOS\u306a\u3089\u300c\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a \u2192 \u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3 \u2192 \u8996\u5dee\u52b9\u679c\u3092\u6e1b\u3089\u3059\u300d\u3001Windows\u306a\u3089\u300c\u8a2d\u5b9a \u2192 \u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3 \u2192 \u8996\u899a\u52b9\u679c \u2192 \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3057\u306a\u3044\u300d\u3092\u30aa\u30f3\u306b\u3059\u308b\u3068\u3053\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u304c <code>reduce<\/code> \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u500b\u5225\u8981\u7d20\u3054\u3068\u306b\u5bfe\u5fdc\u3059\u308b\u66f8\u304d\u65b9<\/h3>\n<p class=\"wp-block-paragraph\">\u7279\u5b9a\u306e\u8981\u7d20\u306b\u5bfe\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u306b\u3057\u3001\u4ee3\u308f\u308a\u306b\u6700\u7d42\u72b6\u614b\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u76f4\u63a5\u9069\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u304c\u6700\u3082\u4e01\u5be7\u306a\u5b9f\u88c5\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u901a\u5e38\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5b9a\u7fa9 *\/\n@keyframes fade-in {\n  from { opacity: 0; transform: translateY(10px); }\n  to   { opacity: 1; transform: translateY(0); }\n}\n\n.hero-title {\n  animation: fade-in 0.8s ease-out forwards;\n}\n\n\/* prefers-reduced-motion: reduce \u304c\u6709\u52b9\u306a\u74b0\u5883\u3067\u306f\u52d5\u304d\u3092\u6291\u5236 *\/\n@media (prefers-reduced-motion: reduce) {\n  .hero-title {\n    animation: none;  \/* \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u30aa\u30d5 *\/\n    opacity: 1;       \/* \u6700\u7d42\u72b6\u614b\u3092\u76f4\u63a5\u9069\u7528 *\/\n    transform: none;\n  }\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u5168\u8981\u7d20\u306b\u4e00\u62ec\u3067\u9069\u7528\u3059\u308b\u66f8\u304d\u65b9<\/h3>\n<p class=\"wp-block-paragraph\">\u624b\u8efd\u306b\u5168\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30e6\u30cb\u30d0\u30fc\u30b5\u30eb\u30bb\u30ec\u30af\u30bf\u3067 <code>animation-duration<\/code> \u3092\u6975\u3081\u3066\u77ed\u304f\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\u5b8c\u5168\u306b <code>none<\/code> \u306b\u3059\u308b\u3068JavaScript\u304c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u30a4\u30d9\u30f3\u30c8\uff08<code>animationend<\/code>\uff09\u3092\u691c\u77e5\u3067\u304d\u306a\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001<code>0.01ms<\/code> \u306b\u3059\u308b\u306e\u304c\u3088\u3044\u5b9f\u8df5\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* \u5fc5\u8981\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u6b8b\u3057\u3064\u3064\u3001\u904e\u5ea6\u306a\u52d5\u304d\u3060\u3051\u6291\u5236\u3059\u308b\u624b\u6cd5 *\/\n@media (prefers-reduced-motion: reduce) {\n  *,\n  *::before,\n  *::after {\n    animation-duration: 0.01ms !important;\n    animation-iteration-count: 1 !important;\n    transition-duration: 0.01ms !important;\n    scroll-behavior: auto !important;\n  }\n}<\/code><\/pre><\/div>\n<p class=\"wp-block-paragraph\">WCAG 2.1\u306e\u9054\u6210\u57fa\u6e96 2.3.3\u300c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3067\u306f\u3001\u30a4\u30f3\u30bf\u30e9\u30af\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u5f15\u304d\u8d77\u3053\u3055\u308c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u8981\u6c42\u3055\u308c\u3066\u3044\u307e\u3059\uff08AAA\uff09\u3002\u5fc5\u9808\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u54c1\u8cea\u306e\u9ad8\u3044Web\u30b5\u30a4\u30c8\u3092\u4f5c\u308b\u4e0a\u3067\u5bfe\u5fdc\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304b\u306a\u3044\u3068\u304d\u306e\u539f\u56e0\u3068\u5bfe\u51e6<\/h2>\n<p class=\"wp-block-paragraph\">\u305b\u3063\u304b\u304fCSS\u3092\u66f8\u3044\u305f\u306e\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304b\u306a\u3044\u2014\u2014\u305d\u3093\u306a\u3068\u304d\u306b\u771f\u3063\u5148\u306b\u78ba\u8a8d\u3059\u3079\u304d\u30dd\u30a4\u30f3\u30c8\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u307b\u3068\u3093\u3069\u306e\u30c8\u30e9\u30d6\u30eb\u306f\u3053\u3053\u306b\u96c6\u7d04\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u539f\u56e01\uff1aanimation-duration\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\uff08\u307e\u305f\u306f0s\uff09<\/h3>\n<p class=\"wp-block-paragraph\"><code>animation-duration<\/code> \u306e\u521d\u671f\u5024\u306f <code>0s<\/code> \u3067\u3059\u3002\u3064\u307e\u308a\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3044\u3068\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u4e00\u77ac\u3067\u7d42\u308f\u308a\u3001\u4f55\u3082\u52d5\u3044\u3066\u3044\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<code>animation-name<\/code> \u3060\u3051\u66f8\u3044\u3066 duration \u3092\u5fd8\u308c\u308b\u306e\u306f\u6700\u3082\u3088\u304f\u3042\u308b\u30df\u30b9\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* animation-duration \u304c\u672a\u6307\u5b9a\uff080s\uff09\u306e\u307e\u307e\u3060\u3068\u4f55\u3082\u52d5\u304b\u306a\u3044 *\/\n.broken {\n  animation-name: fade-in; \/* duration \u304c\u306a\u3044\u306e\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3057\u306a\u3044 *\/\n}\n\n\/* \u4fee\u6b63\uff1aduration \u3092\u5fc5\u305a\u6307\u5b9a\u3059\u308b *\/\n.fixed {\n  animation: fade-in 0.8s ease-out forwards;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u539f\u56e02\uff1a@keyframes\u306e\u540d\u524d\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044<\/h3>\n<p class=\"wp-block-paragraph\"><code>animation-name<\/code> \u306b\u6307\u5b9a\u3057\u305f\u540d\u524d\u3068 <code>@keyframes<\/code> \u306e\u540d\u524d\u304c\u4e00\u6587\u5b57\u3067\u3082\u9055\u3046\u3068\u52d5\u304d\u307e\u305b\u3093\u3002\u7279\u306b\u30b9\u30da\u30eb\u30df\u30b9\u30fb\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306e\u9055\u3044\u30fb\u30cf\u30a4\u30d5\u30f3\u3068\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u306e\u6df7\u5728\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d6\u30e9\u30a6\u30b6\u306eDevTools\uff08Styles \/ Computed \u30bf\u30d6\uff09\u3067 <code>animation-name<\/code> \u304c\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h3 class=\"wp-block-heading\">\u539f\u56e03\uff1atransform\u306e\u7af6\u5408<\/h3>\n<p class=\"wp-block-paragraph\">\u30d9\u30fc\u30b9\u30b9\u30bf\u30a4\u30eb\u3067 <code>transform<\/code> \u3092\u4f7f\u3063\u3066\u3044\u308b\u8981\u7d20\u306b\u3001<code>transform<\/code> \u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u308b\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u3092\u9069\u7528\u3059\u308b\u3068\u3001\u4e0a\u66f8\u304d\u7af6\u5408\u304c\u8d77\u304d\u307e\u3059\u3002\u8981\u7d20\u81ea\u4f53\u306e\u4f4d\u7f6e\u8abf\u6574\u3068\u56de\u8ee2\u30fb\u62e1\u7e2e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u8981\u7d20\u3092\u5206\u3051\u3066\u7ba1\u7406\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* transform\u3092\u4f7f\u3046\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4e2d\u306btransform\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3068\u30b3\u30f3\u30d5\u30ea\u30af\u30c8 *\/\n.element {\n  transform: translateX(50px); \/* \u2190 \u30d9\u30fc\u30b9\u306etransform\u304c\u65e2\u306b\u3042\u308b *\/\n  animation: spin 1s linear infinite; \/* spin\u3067transform: rotate\u3092\u4f7f\u3063\u3066\u3044\u308b *\/\n}\n\n\/* \u4fee\u6b63\uff1a\u30e9\u30c3\u30d1\u30fc\u8981\u7d20\u3067\u5f79\u5272\u3092\u5206\u96e2\u3059\u308b *\/\n.wrapper {\n  transform: translateX(50px); \/* \u4f4d\u7f6e\u8abf\u6574\u306f\u30e9\u30c3\u30d1\u30fc\u306b *\/\n}\n.wrapper .inner {\n  animation: spin 1s linear infinite; \/* \u56de\u8ee2\u306f\u5b50\u8981\u7d20\u306b *\/\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u539f\u56e04\uff1aanimation-fill-mode\u3092\u5fd8\u308c\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5f8c\u306b\u623b\u308b<\/h3>\n<p class=\"wp-block-paragraph\">\u8981\u7d20\u306b\u521d\u671f\u30b9\u30bf\u30a4\u30eb\uff08<code>opacity: 0<\/code> \u306a\u3069\uff09\u3092\u8a2d\u5b9a\u3057\u3066\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3055\u305b\u3066\u3082\u3001<code>animation-fill-mode: forwards<\/code> \u3092\u6307\u5b9a\u3057\u306a\u3044\u3068\u518d\u751f\u5f8c\u306b\u521d\u671f\u72b6\u614b\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* animation-fill-mode\u5fd8\u308c\uff1a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5f8c\u306b\u5143\u306b\u623b\u308b *\/\n.fade-problem {\n  opacity: 0; \/* \u521d\u671f\u72b6\u614b\u304c\u900f\u660e *\/\n  animation: fade-in 0.8s ease-out; \/* forwards\u304c\u306a\u3044\uff01 *\/\n}\n\/* \u2192 0.8\u79d2\u5f8c\u306bopacity:0\u306b\u623b\u3063\u3066\u3057\u307e\u3046 *\/\n\n\/* \u4fee\u6b63 *\/\n.fade-fixed {\n  opacity: 0;\n  animation: fade-in 0.8s ease-out forwards;\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u539f\u56e05\uff1a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u306a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u3044\u308b<\/h3>\n<p class=\"wp-block-paragraph\">\u3059\u3079\u3066\u306eCSS\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u53ef\u80fd\u306a\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<code>display<\/code>\uff08block\/none\uff09\u3084 <code>visibility<\/code> \u306e\u5207\u308a\u66ff\u3048\u306f\u4e2d\u9593\u5024\u3092\u88dc\u9593\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u601d\u3063\u305f\u3088\u3046\u306b\u52d5\u304d\u307e\u305b\u3093\u3002\u900f\u660e\u5ea6\u3067\u898b\u3048\u96a0\u308a\u3092\u8868\u73fe\u3059\u308b\u304b\u3001<code>visibility<\/code>\uff08\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u53ef\u80fd\uff09\u3068 <code>opacity<\/code> \u3092\u7d44\u307f\u5408\u308f\u305b\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/* display\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u3088\u3046\u3068\u3057\u3066\u3082\u30d6\u30e9\u30a6\u30b6\u306f\u88dc\u9593\u3067\u304d\u306a\u3044 *\/\n@keyframes show-hide {\n  from { display: none; }   \/* NG\uff1adisplay \u306f\u88dc\u9593\u4e0d\u53ef *\/\n  to   { display: block; }\n}\n\n\/* \u4fee\u6b63\uff1aopacity\u3068visibility\u3092\u4f7f\u3046 *\/\n@keyframes show-element {\n  from {\n    opacity: 0;\n    visibility: hidden;\n  }\n  to {\n    opacity: 1;\n    visibility: visible;\n  }\n}<\/code><\/pre><\/div>\n<h3 class=\"wp-block-heading\">\u539f\u56e06\uff1a!important\u306b\u3088\u308b\u4e0a\u66f8\u304d<\/h3>\n<p class=\"wp-block-paragraph\">\u4ed6\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c <code>!important<\/code> \u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3044\u308b\u3068\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5909\u5316\u304c\u898b\u305f\u76ee\u306b\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002DevTools\u306e Computed \u30bf\u30d6\u3067\u5b9f\u969b\u306b\u9069\u7528\u3055\u308c\u3066\u3044\u308b\u30b9\u30bf\u30a4\u30eb\u3092\u78ba\u8a8d\u3057\u3001\u7af6\u5408\u3092\u89e3\u6d88\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 class=\"wp-block-heading\">DevTools\u3092\u6d3b\u7528\u3057\u305f\u30c7\u30d0\u30c3\u30b0\u624b\u9806<\/h3>\n<ul class=\"wp-block-list\">\n<li>Chrome\u306eDevTools \u2192 \u300cAnimations\u300d\u30d1\u30cd\u30eb\uff08More tools \u304b\u3089\u958b\u304f\uff09\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u518d\u751f\u30fb\u4e00\u6642\u505c\u6b62\u30fb\u30b9\u30ed\u30fc\u518d\u751f\u304c\u53ef\u80fd<\/li>\n<li>Styles \u30d1\u30cd\u30eb\u3067 <code>animation<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u53d6\u308a\u6d88\u3057\u7dda\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u3001\u3088\u308a\u5f37\u3044\u30bb\u30ec\u30af\u30bf\u306b\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3044\u308b\u8a3c\u62e0<\/li>\n<li>Elements \u30d1\u30cd\u30eb\u3067\u8981\u7d20\u3092\u9078\u629e\u3057\u3001Computed \u30bf\u30d6\u304b\u3089\u5b9f\u969b\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u95a2\u9023\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<li>\u30b3\u30f3\u30bd\u30fc\u30eb\u306b <code>getComputedStyle(element).animationName<\/code> \u3092\u6253\u3061\u8fbc\u3093\u3067\u540d\u524d\u304c\u6b63\u3057\u304f\u53d6\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ul>\n\n\n<!-- withmedia-faq -->\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09<\/h2>\n\n<h3 class=\"wp-block-heading\">@keyframes\u3068animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3069\u3061\u3089\u304b\u4e00\u65b9\u3060\u3051\u3067\u52d5\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">@keyframes\u3068animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u305a\u30bb\u30c3\u30c8\u3067\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002@keyframes\u306f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u300c\u8a2d\u8a08\u56f3\uff08\u30b3\u30de\u5272\u308a\uff09\u300d\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3001\u5358\u4f53\u3067\u306f\u4f55\u3082\u52d5\u304d\u307e\u305b\u3093\u3002animation-name\u30d7\u30ed\u30d1\u30c6\u30a3\u3067@keyframes\u306e\u540d\u524d\u3092\u53c2\u7167\u3057\u3001animation-duration\u3067\u518d\u751f\u6642\u9593\u3092\u6307\u5b9a\u3057\u3066\u521d\u3081\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304d\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">css animation \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u7d42\u308f\u3063\u305f\u3042\u3068\u5143\u306e\u72b6\u614b\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">animation-fill-mode\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\uff08\u521d\u671f\u5024\u306enone\uff09\u305f\u3081\u3067\u3059\u3002\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u306b\u6700\u5f8c\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7dad\u6301\u3057\u305f\u3044\u5834\u5408\u306f\u300canimation-fill-mode: forwards\u300d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9045\u5ef6\uff08animation-delay\uff09\u304c\u3042\u308b\u5834\u5408\u306b\u958b\u59cb\u524d\u3082\u6700\u521d\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3057\u305f\u3044\u306a\u3089\u300cbackwards\u300d\u3092\u3001\u4e21\u65b9\u306e\u52b9\u679c\u304c\u5fc5\u8981\u306a\u3089\u300cboth\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">@keyframes \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u9650\u30eb\u30fc\u30d7\u3055\u305b\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">animation-iteration-count\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u300cinfinite\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300canimation: spin 1s linear infinite;\u300d\u3068\u66f8\u3051\u3070\u6c38\u9060\u306b\u56de\u8ee2\u3057\u7d9a\u3051\u307e\u3059\u3002\u5f80\u5fa9\u30eb\u30fc\u30d7\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3055\u3089\u306b\u300canimation-direction: alternate\u300d\u3092\u52a0\u3048\u308b\u3068\u3001\u6b63\u65b9\u5411\u3068\u9006\u65b9\u5411\u3092\u4ea4\u4e92\u306b\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\u56de\u6570\u3092\u5236\u9650\u3057\u305f\u3044\u5834\u5408\u306finfinite\u306e\u4ee3\u308f\u308a\u306b\u6574\u6570\uff08\u4f8b\uff1a3\uff09\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">css animation \u306e timing-function\uff08\u30a4\u30fc\u30b8\u30f3\u30b0\uff09\u306f\u3069\u308c\u3092\u9078\u3079\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">\u7528\u9014\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002\u8981\u7d20\u304c\u300c\u767b\u5834\u3059\u308b\u300d\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff08\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\uff09\u306b\u306fease-out\u304c\u81ea\u7136\u3067\u8efd\u5feb\u306a\u5370\u8c61\u306b\u306a\u308a\u307e\u3059\u3002\u8981\u7d20\u304c\u300c\u9000\u5834\u3059\u308b\u300d\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u306fease-in\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u56de\u8ee2\u3084\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u306a\u3069\u4e00\u5b9a\u901f\u5ea6\u304c\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u306flinear\u3092\u9078\u3073\u307e\u3059\u3002\u6c4e\u7528\u7684\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306eease\u3067\u554f\u984c\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u307e\u305f\u3001cubic-bezier()\u3067\u72ec\u81ea\u30ab\u30fc\u30d6\u3092\u4f5c\u3063\u305f\u308a\u3001steps()\u3067\u30b3\u30de\u9001\u308a\u3092\u8868\u73fe\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n<h3 class=\"wp-block-heading\">prefers-reduced-motion\u3092\u4f7f\u3063\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u306f\u306a\u305c\u5fc5\u8981\u3067\u3059\u304b\uff1f<\/h3>\n\n<p class=\"wp-block-paragraph\">\u524d\u5ead\u969c\u5bb3\u3084\u5149\u611f\u53d7\u6027\u767a\u4f5c\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u753b\u9762\u4e0a\u306e\u6fc0\u3057\u3044\u52d5\u304d\u306b\u3088\u3063\u3066\u4f53\u8abf\u4e0d\u826f\uff08\u3081\u307e\u3044\u30fb\u5410\u304d\u6c17\u30fb\u767a\u4f5c\uff09\u3092\u5f15\u304d\u8d77\u3053\u3059\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002OS\u306e\u300c\u8996\u5dee\u52b9\u679c\u3092\u6e1b\u3089\u3059\u300d\u8a2d\u5b9a\u3092\u30aa\u30f3\u306b\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u306f\u3001prefers-reduced-motion\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u4f7f\u3063\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u5316\u307e\u305f\u306f\u7c21\u7565\u5316\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306fWCAG 2.1\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u8a00\u53ca\u3055\u308c\u3066\u304a\u308a\u3001\u3088\u308a\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5feb\u9069\u306b\u4f7f\u3048\u308bWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u914d\u616e\u3067\u3059\u3002<\/p>\n\n\n\n<!-- withmedia-faq-schema -->\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"@keyframes\u3068animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3069\u3061\u3089\u304b\u4e00\u65b9\u3060\u3051\u3067\u52d5\u304d\u307e\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"@keyframes\u3068animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5fc5\u305a\u30bb\u30c3\u30c8\u3067\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002@keyframes\u306f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u300c\u8a2d\u8a08\u56f3\uff08\u30b3\u30de\u5272\u308a\uff09\u300d\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3001\u5358\u4f53\u3067\u306f\u4f55\u3082\u52d5\u304d\u307e\u305b\u3093\u3002animation-name\u30d7\u30ed\u30d1\u30c6\u30a3\u3067@keyframes\u306e\u540d\u524d\u3092\u53c2\u7167\u3057\u3001animation-duration\u3067\u518d\u751f\u6642\u9593\u3092\u6307\u5b9a\u3057\u3066\u521d\u3081\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304d\u51fa\u3057\u307e\u3059\u3002\"}}, {\"@type\": \"Question\", \"name\": \"css animation \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u7d42\u308f\u3063\u305f\u3042\u3068\u5143\u306e\u72b6\u614b\u306b\u623b\u3063\u3066\u3057\u307e\u3046\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"animation-fill-mode\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\uff08\u521d\u671f\u5024\u306enone\uff09\u305f\u3081\u3067\u3059\u3002\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u306b\u6700\u5f8c\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u7dad\u6301\u3057\u305f\u3044\u5834\u5408\u306f\u300canimation-fill-mode: forwards\u300d\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9045\u5ef6\uff08animation-delay\uff09\u304c\u3042\u308b\u5834\u5408\u306b\u958b\u59cb\u524d\u3082\u6700\u521d\u306e\u30ad\u30fc\u30d5\u30ec\u30fc\u30e0\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3057\u305f\u3044\u306a\u3089\u300cbackwards\u300d\u3092\u3001\u4e21\u65b9\u306e\u52b9\u679c\u304c\u5fc5\u8981\u306a\u3089\u300cboth\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002\"}}, {\"@type\": \"Question\", \"name\": \"@keyframes \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u9650\u30eb\u30fc\u30d7\u3055\u305b\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"animation-iteration-count\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u300cinfinite\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u300canimation: spin 1s linear infinite;\u300d\u3068\u66f8\u3051\u3070\u6c38\u9060\u306b\u56de\u8ee2\u3057\u7d9a\u3051\u307e\u3059\u3002\u5f80\u5fa9\u30eb\u30fc\u30d7\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3055\u3089\u306b\u300canimation-direction: alternate\u300d\u3092\u52a0\u3048\u308b\u3068\u3001\u6b63\u65b9\u5411\u3068\u9006\u65b9\u5411\u3092\u4ea4\u4e92\u306b\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\u56de\u6570\u3092\u5236\u9650\u3057\u305f\u3044\u5834\u5408\u306finfinite\u306e\u4ee3\u308f\u308a\u306b\u6574\u6570\uff08\u4f8b\uff1a3\uff09\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\"}}, {\"@type\": \"Question\", \"name\": \"css animation \u306e timing-function\uff08\u30a4\u30fc\u30b8\u30f3\u30b0\uff09\u306f\u3069\u308c\u3092\u9078\u3079\u3070\u3088\u3044\u3067\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u7528\u9014\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002\u8981\u7d20\u304c\u300c\u767b\u5834\u3059\u308b\u300d\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff08\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\uff09\u306b\u306fease-out\u304c\u81ea\u7136\u3067\u8efd\u5feb\u306a\u5370\u8c61\u306b\u306a\u308a\u307e\u3059\u3002\u8981\u7d20\u304c\u300c\u9000\u5834\u3059\u308b\u300d\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306b\u306fease-in\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u56de\u8ee2\u3084\u30d7\u30ed\u30b0\u30ec\u30b9\u30d0\u30fc\u306a\u3069\u4e00\u5b9a\u901f\u5ea6\u304c\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u306flinear\u3092\u9078\u3073\u307e\u3059\u3002\u6c4e\u7528\u7684\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306eease\u3067\u554f\u984c\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u307e\u305f\u3001cubic-bezier()\u3067\u72ec\u81ea\u30ab\u30fc\u30d6\u3092\u4f5c\u3063\u305f\u308a\u3001steps()\u3067\u30b3\u30de\u9001\u308a\u3092\u8868\u73fe\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\"}}, {\"@type\": \"Question\", \"name\": \"prefers-reduced-motion\u3092\u4f7f\u3063\u305f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u306f\u306a\u305c\u5fc5\u8981\u3067\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u524d\u5ead\u969c\u5bb3\u3084\u5149\u611f\u53d7\u6027\u767a\u4f5c\u306e\u30ea\u30b9\u30af\u304c\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u753b\u9762\u4e0a\u306e\u6fc0\u3057\u3044\u52d5\u304d\u306b\u3088\u3063\u3066\u4f53\u8abf\u4e0d\u826f\uff08\u3081\u307e\u3044\u30fb\u5410\u304d\u6c17\u30fb\u767a\u4f5c\uff09\u3092\u5f15\u304d\u8d77\u3053\u3059\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002OS\u306e\u300c\u8996\u5dee\u52b9\u679c\u3092\u6e1b\u3089\u3059\u300d\u8a2d\u5b9a\u3092\u30aa\u30f3\u306b\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u306f\u3001prefers-reduced-motion\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u4f7f\u3063\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u5316\u307e\u305f\u306f\u7c21\u7565\u5316\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306fWCAG 2.1\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u8a00\u53ca\u3055\u308c\u3066\u304a\u308a\u3001\u3088\u308a\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5feb\u9069\u306b\u4f7f\u3048\u308bWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u914d\u616e\u3067\u3059\u3002\"}}]}<\/script>\n\n\n\n\n<!-- withmedia-related -->\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/css-transition\/\">\u30102026\u5e74\u7248\u3011CSS transition\u306e\u4f7f\u3044\u65b9\uff5chover\u306e\u52d5\u304d\u3092\u306a\u3081\u3089\u304b\u306b<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/css-animation-rotation\/\">CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u56de\u8ee2\u3092\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/css-loading-animation\/\">CSS\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u96c6\uff5c\u30b3\u30d4\u30da\u3067\u5373\u4f7f\u3048\u308b\u5b9f\u88c5\u30b5\u30f3\u30d7\u30eb20<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/animation-pyon\/\">CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u300c\u307d\u3088\u3093\u300d\u52b9\u679c\u306e\u5b9f\u88c5\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/css-scroll\/\">CSS\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30102026\u5e74\u7248\u3011JavaScript\u4e0d\u8981<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">CSS\u30fbWeb\u30c7\u30b6\u30a4\u30f3\u5b9f\u88c5\u306e\u7dcf\u307e\u3068\u3081<\/h2>\n\n<p class=\"wp-block-paragraph\">CSS\u306e\u5b9f\u88c5\u30c6\u30af\u30cb\u30c3\u30af\u3092\u300c\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u88c5\u98fe\u30fb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u57fa\u790e\u30fb\u30c8\u30e9\u30d6\u30eb\u89e3\u6c7a\u300d\u306e\u76ee\u7684\u5225\u306b\u63a2\u305b\u308b\u7dcf\u307e\u3068\u3081\u30da\u30fc\u30b8\u3092\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u88c5\u3067\u8ff7\u3063\u305f\u3068\u304d\u306e\u7d22\u5f15\u3068\u3057\u3066\u3069\u3046\u305e\u3002<\/p>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/css-webdesign-technique-map\/\">\u3010CSS\u5b9f\u88c5\u30c6\u30af\u30cb\u30c3\u30af\u5b8c\u5168\u30de\u30c3\u30d7\u3011\u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308bWeb\u30c7\u30b6\u30a4\u30f3\u5b9f\u88c5\u30ac\u30a4\u30c9\u7dcf\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n\n\n<h2 class=\"wp-block-heading\">WithCode\u3092\u4f53\u9a13\u3067\u304d\u308b\u521d\u7d1a\u30b3\u30fc\u30b9\u516c\u958b\u4e2d\uff01<\/h2>\n\n<figure class=\"wp-block-image alignleft size-full\"><img decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/\u30d0\u30ca\u30fc_300\u00d7250_20240425.png\" alt=\"WithCode\u3092\u4f53\u9a13\u3067\u304d\u308b\u521d\u7d1a\u30b3\u30fc\u30b9\u516c\u958b\u4e2d\uff01\" class=\"wp-image-2650\"\/><\/figure>\n\n<h3 class=\"wp-block-heading\">\u521d\u7d1a\u30b3\u30fc\u30b9(\u00a549,800)\u304c\u5b8c\u5168\u7121\u6599\u306b\uff01<\/h3>\n\n<ul class=\"wp-block-list\">\n<li><strong>\u671f\u9593\uff1a1\u9031\u9593<\/strong><\/li>\n<li><strong>\u5b66\u7fd2\u5185\u5bb9\uff1a<\/strong><br><strong>\u30ed\u30fc\u30c9\u30de\u30c3\u30d7\/\u57fa\u790e\u77e5\u8b58\/\u74b0\u5883\u69cb\u7bc9\/HTML\/CSS\/LP\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u4f5c\u6210<\/strong><br><strong>\u2192 <span class=\"swl-marker mark_yellow\">\u6b63\u3057\u3044\u5b66\u7fd2\u65b9\u6cd5\u3067\u300c\u78ba\u304b\u306a\u6210\u9577\u300d\u3092\u5b9f\u611f\u3067\u304d\u308b\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\u3002<\/span><\/strong><\/li>\n<\/ul>\n\n<p>\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u304c\u4e3b\u6d41\u306b\u306a\u3063\u3066\u3044\u308b\u4eca\u3053\u305d\u3001\u81ea\u3089\u306e\u30b9\u30ad\u30eb\u3067\u7a3c\u3052\u308b\u4eba\u6750\u3092\u76ee\u6307\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n<p>\u672a\u7d4c\u9a13\u3067\u3082\u5fc3\u914d\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u521d\u7d1a\u30b3\u30fc\u30b9\u3092\u53d7\u8b1b\u3055\u308c\u308b\u65b9\u306e\u5927\u591a\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u7d4c\u9a13\u3067\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u3067\u3001\u60a9\u307f\u3084\u4e0d\u5b89\u3092\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\uff01<\/p>\n\n<div class=\"wp-block-buttons\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/withcode.tech\/reservation\/\" style=\"background-color:#ffbf00\"><strong>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u306b\u7533\u3057\u8fbc\u3080 \u2192<\/strong><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>CSS\u306e@keyframes\u3068animation\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u30018\u3064\u306e\u30b5\u30d6\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u3044\u65b9\u3001\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u30fb\u30b9\u30d4\u30ca\u30fc\u30fb\u30d0\u30a6\u30f3\u30c9\u306a\u3069\u5b9f\u7528\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u96c6\u3001\u30eb\u30fc\u30d7\u30fb\u5f80\u5fa9\u30fbfill-mode\u306e\u5236\u5fa1\u3001steps()\u3067\u306e\u30b3\u30de\u9001\u308a\u3001prefers-reduced-motion\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u307e\u3067\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":18,"featured_media":18768,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"swell_btn_cv_data":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":""},"categories":[361],"tags":[],"class_list":["post-18762","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/18762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/comments?post=18762"}],"version-history":[{"count":1,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/18762\/revisions"}],"predecessor-version":[{"id":18769,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/18762\/revisions\/18769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media\/18768"}],"wp:attachment":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media?parent=18762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/categories?post=18762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/tags?post=18762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}