{"id":8709,"date":"2025-04-22T09:09:00","date_gmt":"2025-04-22T00:09:00","guid":{"rendered":"https:\/\/fastcoding.jp\/blog\/?p=8709"},"modified":"2025-05-15T09:59:30","modified_gmt":"2025-05-15T00:59:30","slug":"css-scroll-fadein","status":"publish","type":"post","link":"https:\/\/fastcoding.jp\/blog\/all\/frontend\/css-scroll-fadein\/","title":{"rendered":"\u3010\u3053\u306e\u30c7\u30b6\u30a4\u30f3\u3001\u3069\u3046\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3059\u308b\uff1f \u3011#3\uff5cJS\u306a\u3057\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3002CSS\u3060\u3051\u3067\u3053\u3053\u307e\u3067\u3067\u304d\u308b\uff01"},"content":{"rendered":"<div class=\"the_content\">\n<h3 class=\"wp-block-heading has-text-align-left\">\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3001\u5b9f\u306fCSS\u3060\u3051\u3067\u3082\u304b\u306a\u308a\u81ea\u7136\u306b\u3067\u304d\u307e\u3059\uff01<\/h3>\n\n\n\n<p>\u30b9\u30af\u30ed\u30fc\u30eb\u306b\u5408\u308f\u305b\u3066\u8981\u7d20\u304c\u3075\u308f\u3063\u3068\u73fe\u308c\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u6bce\u65e5\u4f5c\u3063\u3066\u3044\u308b\u5f0a\u793e\u3082\u4f55\u5ea6\u3082\u5b9f\u88c5\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br>\u591a\u304f\u306e\u5834\u9762\u3067\u306f <code>IntersectionObserver<\/code> \u3092\u4f7f\u3063\u305fJavaScript\u5b9f\u88c5\u304c\u5b9a\u756a\u3067\u3059\u304c\u3001\u300c\u305d\u3053\u307e\u3067\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u306e\u3067\u306f\uff1f\u300d\u3068\u611f\u3058\u308b\u30b1\u30fc\u30b9\u3082\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u7279\u306b\u6700\u8fd1\u3067\u306f\u3001<strong>\u300c\u3068\u306b\u304b\u304f\u8efd\u304f\u4ed5\u4e0a\u3052\u305f\u3044\u300d\u300cJS\u304c\u4f7f\u3048\u306a\u3044\u74b0\u5883\u3067\u3082\u52d5\u304b\u3057\u305f\u3044\u300d<\/strong>\u3068\u3044\u3046\u8981\u671b\u304c\u5897\u3048\u3066\u3044\u3066\u3001CSS\u3060\u3051\u3067\u5b8c\u7d50\u3059\u308b\u65b9\u6cd5\u3092\u6a21\u7d22\u3059\u308b\u3053\u3068\u3082\u5897\u3048\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u4e2d\u3067\u6d3b\u8e8d\u3059\u308b\u306e\u304c\u3001\u3053\u3053\u6570\u5e74\u3067\u767b\u5834\u3057\u305f <strong><code>animation-timeline<\/code> \uff08\u65e7\u79f0 <code>scroll-timeline<\/code>\uff09\u3084 <code>:has()<\/code><\/strong> \u3068\u3044\u3063\u305f\u65b0\u3057\u3044CSS\u306e\u6a5f\u80fd\u305f\u3061\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u5f0a\u793e\u304c\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u3044\u308b\u300c<strong>JS\u306b\u983c\u3089\u306a\u3044\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u88c5\u6cd5<\/strong>\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\uff01<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u7d50\u8ad6\uff1a<code>animation-timeline<\/code> \u00d7 <code>:has()<\/code> \u3067\u3001JS\u306a\u3057\u306e\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u304c\u5b9f\u73fe\u53ef\u80fd\u306b<\/h2>\n\n\n\n<p>\u307e\u305a\u6700\u521d\u306b\u7d50\u8ad6\u304b\u3089\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<br><strong>CSS\u3060\u3051\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3092\u5b9f\u73fe\u3059\u308b\u9375<\/strong>\u306f\u3001\u6b21\u306e2\u3064\u306e\u6a5f\u80fd\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. <code>animation-timeline<\/code>: \u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u306eCSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>\u3053\u308c\u306f\u3001<strong>\u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u751f\u3059\u308b\u305f\u3081\u306e\u65b0\u3057\u3044\u4ed5\u69d8<\/strong>\u3067\u3059\u3002<br>Chrome 115+ \u3084 Edge 115+ \u3067\u4f7f\u7528\u53ef\u80fd\u3067\u3001\u5c06\u6765\u7684\u306bSafari\u3084Firefox\u3067\u3082\u5bfe\u5fdc\u304c\u9032\u3080\u3068\u898b\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_VYYwBMN\" src=\"\/\/codepen.io\/anon\/embed\/VYYwBMN?height=450&amp;theme-id=1&amp;slug-hash=VYYwBMN&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed VYYwBMN\" title=\"CodePen Embed VYYwBMN\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001<code>animation-timeline<\/code> \u3068 <code>view()<\/code> \u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001<strong>\u3042\u308b\u8981\u7d20\u304c\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306b\u5165\u3063\u305f\u77ac\u9593\u304b\u3089\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u59cb<\/strong>\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3082\u3001<code>animation-range<\/code> \u3092\u8abf\u6574\u3059\u308c\u3070\u3001<strong>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u59cb\u30bf\u30a4\u30df\u30f3\u30b0\u3068\u5b8c\u4e86\u30bf\u30a4\u30df\u30f3\u30b0<\/strong>\u3082\u81ea\u5728\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. <code>:has()<\/code>: \u8981\u7d20\u306e\u72b6\u614b\u3092CSS\u3060\u3051\u3067\u76e3\u8996\u3059\u308b\u65b0\u6642\u4ee3\u306e\u30bb\u30ec\u30af\u30bf<\/h3>\n\n\n\n<p>CSS\u3067\u300c\u5b50\u8981\u7d20\u306e\u72b6\u614b\u306b\u3088\u3063\u3066\u89aa\u8981\u7d20\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u3048\u308b\u300d\u3068\u3044\u3063\u305f\u3001\u3053\u308c\u307e\u3067JS\u304c\u5fc5\u9808\u3060\u3063\u305f\u8868\u73fe\u3082\u3001<code>:has()<\/code> \u306b\u3088\u3063\u3066\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4f7f\u3044\u65b9\u3067\u3001\u7591\u4f3c\u7684\u306a\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u8868\u73fe\u3082\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_xbbxJPa\" src=\"\/\/codepen.io\/anon\/embed\/xbbxJPa?height=450&amp;theme-id=1&amp;slug-hash=xbbxJPa&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed xbbxJPa\" title=\"CodePen Embed xbbxJPa\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3082\u3061\u308d\u3093\u3053\u308c\u306f\u53b3\u5bc6\u306a\u300c\u30b9\u30af\u30ed\u30fc\u30eb\u30c8\u30ea\u30ac\u30fc\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001<strong>\u7279\u5b9a\u306e\u72b6\u614b\uff08\u30af\u30e9\u30b9\u306e\u4ed8\u4e0e\u306a\u3069\uff09\u3092CSS\u3067\u691c\u77e5\u3057\u3066\u53cd\u5fdc\u3059\u308b\u69cb\u9020<\/strong>\u304c\u7d44\u3081\u308b\u306e\u306f\u5927\u304d\u306a\u9032\u5316\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b<code>:has()<\/code>\u3084<code>animation-timeline<\/code>\u3092\u7528\u3044\u305f\u300c<strong>JS\u30ec\u30b9\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u57fa\u672c\u5f62<\/strong>\u300d\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u305a\u306f\u57fa\u672c\u5f62\uff1a <code>:has()<\/code> \u00d7 <code>opacity<\/code> \u3067CSS\u3060\u3051\u306e\u201c\u306a\u3093\u3061\u3083\u3063\u3066\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u201d<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u6bd4\u8f03\u7684\u5bfe\u5fdc\u7bc4\u56f2\u306e\u5e83\u3044CSS\u69cb\u6587\u304b\u3089\u3002<br>\u300c<strong>\u30da\u30fc\u30b8\u3092\u4e0b\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u304d\u305f\u3068\u304d\u3001\u8981\u7d20\u304c\u3075\u308f\u3063\u3068\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u3044<\/strong>\u300d\u3068\u3044\u3046\u5834\u9762\u3067\u3001<code>IntersectionObserver<\/code> \u3092\u4f7f\u308f\u305a\u3001<strong>CSS\u3060\u3051\u3067\u3042\u308b\u7a0b\u5ea6\u518d\u73fe\u3067\u304d\u308b\u624b\u6cd5<\/strong>\u3068\u3057\u3066\u6ce8\u76ee\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u3001<code>:has()<\/code> \u64ec\u4f3c\u30af\u30e9\u30b9\u306e\u6d3b\u7528\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><code>:has()<\/code> \u3068\u306f\uff1f<\/h3>\n\n\n\n<p><code>element:has(child)<\/code> \u306e\u3088\u3046\u306a\u69cb\u6587\u3067\u3001<strong>\u300c\u3042\u308b\u6761\u4ef6\u3092\u6e80\u305f\u3059\u5b50\u8981\u7d20\u304c\u3042\u308b\u3068\u304d\u3001\u89aa\u8981\u7d20\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u300d<\/strong>\u3068\u3044\u3046CSS\u30bb\u30ec\u30af\u30bf\u3002<br>\u3053\u308c\u306f\u307e\u3055\u306b<strong>\u201c\u89aa\u8981\u7d20\u304c\u5b50\u306e\u72b6\u614b\u3092\u76e3\u8996\u3059\u308b\u201d<\/strong>\u3088\u3046\u306a\u50cd\u304d\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306aCSS\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>section:has(.is-visible) .item {\n  opacity: 1;\n  transform: none;\n}<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<code>.is-visible<\/code> \u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u4f55\u3089\u304b\u306e\u30c8\u30ea\u30ac\u30fc\u3067\u4ed8\u4e0e\u3055\u308c\u305f\u3068\u304d\u3001\u305d\u306e\u89aa\u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e <code>.item<\/code> \u306b\u5bfe\u3057\u3066\u30b9\u30bf\u30a4\u30eb\u304c\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u3069\u3046\u3084\u3063\u3066\u300c\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u300d\u306b\u3059\u308b\u306e\u304b\uff1f<\/h3>\n\n\n\n<p>\u3053\u3053\u3067\u4f7f\u3046\u306e\u304c <code>position: sticky<\/code> \u3084 <code>top<\/code> \u306e\u5236\u5fa1\u3067\u3059\u3002<br>CSS\u3060\u3051\u3067\u306f\u300c\u4eca\u3001\u753b\u9762\u306b\u898b\u3048\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u300d\u3092\u76f4\u63a5\u691c\u51fa\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001<code>sticky<\/code> \u3084\u64ec\u4f3c\u30af\u30e9\u30b9\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3001<strong>\u300c\u753b\u9762\u5185\u306b\u6765\u305f\u3089\u4f55\u304b\u304c\u8d77\u3053\u308b\u300d\u3068\u3044\u3046\u6319\u52d5\u3092\u306a\u3093\u3068\u306a\u304f\u6f14\u51fa\u3059\u308b<\/strong>\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ZYYEjrv\" src=\"\/\/codepen.io\/anon\/embed\/ZYYEjrv?height=450&amp;theme-id=1&amp;slug-hash=ZYYEjrv&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ZYYEjrv\" title=\"CodePen Embed ZYYEjrv\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u203b <code>:in-view<\/code> \u306f\u307e\u3060\u4e00\u90e8\u30d6\u30e9\u30a6\u30b6\u306e\u307f\u5bfe\u5fdc\u306e\u7591\u4f3c\u30af\u30e9\u30b9\uff08\u4eca\u5f8c\u306b\u671f\u5f85\uff09<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b8c\u5168\u3067\u306f\u306a\u3044\u304c\u3001\u201c\u305d\u308c\u3063\u307d\u304f\u201d\u306f\u53ef\u80fd<\/h3>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u306f\u3001JavaScript\u306e\u3088\u3046\u306b\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u300c\u753b\u9762\u5185\u306b\u5165\u3063\u305f\u3068\u304d\u3060\u3051\u51e6\u7406\u3092\u8d70\u3089\u305b\u308b\u300d\u3068\u3044\u3046\u53b3\u5bc6\u306a\u5236\u5fa1\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3067\u306f\u5b9f\u7528\u306b\u8010\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8868\u793a\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u591a\u5c11\u306e\u30ba\u30ec\u304c\u3042\u3063\u3066\u3082\u8a31\u5bb9\u3055\u308c\u308bUI<\/strong><\/li>\n\n\n\n<li><strong>\u8efd\u91cf\u5316\u3092\u512a\u5148\u3057\u305fLP\u3084\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u30da\u30fc\u30b8<\/strong><\/li>\n\n\n\n<li><strong>\u300c\u9759\u7684\u30da\u30fc\u30b8\u3060\u3051\u3069\u3061\u3087\u3063\u3068\u52d5\u304d\u3092\u52a0\u3048\u305f\u3044\u300d\u6642<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u72b6\u6cc1<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>:has()<\/code> \u306f\u73fe\u6642\u70b9\uff082025\u5e744\u6708\uff09\u3067 <strong>Safari\u3001Chrome\u3001Edge<\/strong> \u306f\u5bfe\u5fdc\u6e08\u307f<\/li>\n\n\n\n<li>Firefox \u306f\u672a\u5bfe\u5fdc\u3060\u304c\u3001\u5c06\u6765\u7684\u306a\u30b5\u30dd\u30fc\u30c8\u4e88\u5b9a\u3042\u308a<\/li>\n\n\n\n<li>\u30e2\u30d0\u30a4\u30ebSafari\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001<strong>\u30b9\u30de\u30db\u6848\u4ef6\u3067\u3082\u4f7f\u3048\u308b<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u52d9Tips\uff1a<code>transition<\/code> \u3092\u4f7f\u3063\u3066\u3075\u308f\u3063\u3068\u611f\u3092\u51fa\u3059<\/h3>\n\n\n\n<p>\u8981\u7d20\u306b <code>opacity<\/code> + <code>transform: translateY()<\/code> \u3092\u4f7f\u3044\u3001<code>transition<\/code> \u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001<strong>JS\u306a\u3057\u3067\u3082\u305d\u308c\u3063\u307d\u304f<\/strong>\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_oggNMEV\" src=\"\/\/codepen.io\/anon\/embed\/oggNMEV?height=450&amp;theme-id=1&amp;slug-hash=oggNMEV&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed oggNMEV\" title=\"CodePen Embed oggNMEV\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p><code>.is-visible<\/code> \u306fJS\u3067\u4ed8\u3051\u3066\u3082\u3088\u3044\u3067\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u64cd\u4f5c\u3084CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u3082\u53ef\u80fd\u3067\u3059\u3002\u3042\u304f\u307e\u3067<strong>\u8efd\u91cf\u306b\u6e08\u307e\u305b\u305f\u3044\u5834\u5408\u306e\u5fdc\u6025\u51e6\u7f6e<\/strong>\u3068\u3057\u3066\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30e2\u30c0\u30f3\u306a\u624b\u6cd5\uff1a<code>animation-timeline<\/code> \u3092\u4f7f\u3063\u305f\u672c\u683c\u7684\u306a\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3<\/h2>\n\n\n\n<p>\u300cCSS\u3060\u3051\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u3084\u308a\u305f\u3044\u300d<br>\u3053\u306e\u9858\u3044\u3092\u672c\u6c17\u3067\u53f6\u3048\u308b\u306e\u304c\u3001<strong><code>animation-timeline<\/code>\uff08\u65e7\u540d\uff1ascroll-timeline\uff09<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f\u3001<strong>\u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u9032\u884c\u5ea6\u3068\u3057\u3066\u6271\u3048\u308b<\/strong>\u65b0\u3057\u3044CSS\u4ed5\u69d8\u3067\u3059\u3002<br>\u3044\u3088\u3044\u30882023\u5e74\u4e2d\u9803\u304b\u3089Chrome\u30fbEdge\u3067\u5b89\u5b9a\u5b9f\u88c5\u3055\u308c\u3001\u5b9f\u52d9\u3067\u3082\u4f7f\u3048\u308b\u5834\u9762\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u57fa\u672c\u69cb\u6587\uff1a\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30c8\u30ea\u30ac\u30fc\u306b\u3059\u308b<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u304c\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u8a18\u8ff0\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_azzzqJN\" src=\"\/\/codepen.io\/anon\/embed\/azzzqJN?height=450&amp;theme-id=1&amp;slug-hash=azzzqJN&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed azzzqJN\" title=\"CodePen Embed azzzqJN\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u610f\u5473<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th><th>\u610f\u5473<\/th><\/tr><\/thead><tbody><tr><td><code>@keyframes<\/code><\/td><td>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u5185\u5bb9\uff08\u4eca\u56de\u306f\u30d5\u30a7\u30fc\u30c9\uff0b\u4e0b\u304b\u3089\uff09<\/td><\/tr><tr><td><code>animation-timeline: view()<\/code><\/td><td>\u3053\u306e\u8981\u7d20\u304c\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306b\u5165\u308b\u306e\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u9032\u884c<\/td><\/tr><tr><td><code>animation-range<\/code><\/td><td>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3044\u3064\u59cb\u307e\u308a\u3001\u3044\u3064\u7d42\u308f\u308b\u304b\u3092\u6307\u5b9a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5177\u4f53\u7684\u306a\u6319\u52d5\u30a4\u30e1\u30fc\u30b8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066 <code>.item<\/code> \u304c\u753b\u9762\u306e\u4e0b\u7aef\u306b\u51fa\u73fe\u3057\u305f\u3068\u304d\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u30b9\u30bf\u30fc\u30c8\uff08<code>entry 0%<\/code>\uff09<\/li>\n\n\n\n<li>\u305d\u306e\u5f8c\u3001\u8981\u7d20\u304c\u753b\u9762\u5185\u306730%\u3092\u5360\u3081\u308b\u4f4d\u7f6e\u306b\u9054\u3057\u305f\u3068\u304d\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\uff08<code>cover 30%<\/code>\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u3064\u307e\u308a\u3001<strong>\u30b9\u30af\u30ed\u30fc\u30eb\u3068\u3068\u3082\u306b\u3058\u308f\u3058\u308f\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u9032\u3080<\/strong>\u611f\u899a\u3067\u3059\u3002<br>\u3057\u304b\u3082\u3001\u5b8c\u5168\u306bCSS\u3060\u3051\u3067\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">view-timeline \u306e\u5fdc\u7528<\/h3>\n\n\n\n<p>\u4e00\u90e8\u306e\u9ad8\u5ea6\u306a\u4f8b\u3067\u306f\u3001\u8981\u7d20\u3054\u3068\u306b <code>view-timeline-name<\/code> \u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u306e\u30c8\u30ea\u30ac\u30fc\u3092\u5236\u5fa1\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_MYYYxMO\" src=\"\/\/codepen.io\/anon\/embed\/MYYYxMO?height=450&amp;theme-id=1&amp;slug-hash=MYYYxMO&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed MYYYxMO\" title=\"CodePen Embed MYYYxMO\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<strong>\u8907\u6570\u306e\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3092\u4f7f\u3044\u5206\u3051\u308b\u9ad8\u5ea6\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/strong>\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br>SPA\u3084\u30bb\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306b\u6f14\u51fa\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306b\u6709\u52b9\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u4f7f\u7528\u4e0a\u306e\u6ce8\u610f\u70b9<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2025\u5e744\u6708\u6642\u70b9\u3067\u306f\u3001<strong>Chrome\u7cfb\u3068Safari Technology Preview<\/strong>\u306e\u307f\u5bfe\u5fdc\uff08Firefox\u306f\u672a\u5bfe\u5fdc\uff09<\/li>\n\n\n\n<li><code>animation-range<\/code> \u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306b\u306f\u591a\u5c11\u6163\u308c\u304c\u5fc5\u8981<\/li>\n\n\n\n<li><strong>\u672a\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u4f55\u3082\u8d77\u3053\u3089\u306a\u3044<\/strong> \u2192 \u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u610f\u8b58\u3057\u305f\u8a2d\u8a08\u304c\u91cd\u8981<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u73fe\u5834Tips\uff1a\u300c\u521d\u671f\u975e\u8868\u793a\u300d\u306e\u307e\u307e\u306b\u305b\u305a\u81ea\u7136\u306b\u51fa\u3059<\/h3>\n\n\n\n<p><code>opacity: 0<\/code> \u306e\u307e\u307e\u56fa\u5b9a\u3055\u308c\u3066\u3057\u307e\u3046\u30d0\u30b0\u3092\u9632\u3050\u305f\u3081\u306b\u3001<strong>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u52b9\u304b\u306a\u3044\u74b0\u5883\u3067\u306f\u5fc5\u305a <code>opacity: 1<\/code> \u306b\u623b\u3059CSS<\/strong>\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\uff1a<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_zxxxXYL\" src=\"\/\/codepen.io\/anon\/embed\/zxxxXYL?height=450&amp;theme-id=1&amp;slug-hash=zxxxXYL&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed zxxxXYL\" title=\"CodePen Embed zxxxXYL\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<strong>\u975e\u5bfe\u5fdc\u74b0\u5883\u3067\u3082\u300c\u7121\u4e8b\u306b\u8868\u793a\u3055\u308c\u308b\u300d<\/strong>\u72b6\u614b\u304c\u30ad\u30fc\u30d7\u3055\u308c\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u7834\u7dbb\u3092\u9632\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\ud83d\udca1 \u5b9f\u52d9\u3067\u306e\u4f7f\u3044\u3069\u3053\u308d<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Chrome\/Edge\u30d9\u30fc\u30b9\u306e\u7ba1\u7406\u753b\u9762\u3084\u793e\u5185\u30c4\u30fc\u30eb\u306a\u3069<\/strong> \u2192 <strong>\u5341\u5206\u5b9f\u7528\u53ef\u80fd<\/strong><\/li>\n\n\n\n<li><strong>\u516c\u5171\u30b5\u30a4\u30c8\u3084\u4e0d\u7279\u5b9a\u591a\u6570\u5411\u3051\u306eUI<\/strong> \u2192 <strong>\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u5fc5\u9808<\/strong><\/li>\n\n\n\n<li><strong>\u30e2\u30d0\u30a4\u30eb\u512a\u5148\u306e\u30d7\u30ed\u30c0\u30af\u30c8<\/strong> \u2192 \u307e\u3060\u69d8\u5b50\u898b\u304c\u7121\u96e3<\/li>\n<\/ul>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u5bfe\u5fdc\u72b6\u6cc1\u3068\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u6226\u7565<\/h2>\n\n\n\n<p>\u524d\u8ff0\u3057\u305f\u901a\u308a\u3001<code>animation-timeline<\/code> \u3092\u4f7f\u3063\u305f\u30b9\u30af\u30ed\u30fc\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u9b45\u529b\u7684\u3067\u3059\u304c\u3001<strong>\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u4fdd\u8a3c\u3055\u308c\u305f\u4f53\u9a13\u3067\u306f\u306a\u3044<\/strong>\u3068\u3044\u3046\u306e\u304c\u73fe\u72b6\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u306f\u3044\u3048\u3001\u5b9f\u52d9\u306b\u304a\u3044\u3066\u306f\u300c\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306a\u3089\u4f7f\u308f\u306a\u3044\u300d\u3067\u306f\u306a\u304f\u3001<strong>\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306a\u3089\u7a4d\u6975\u7684\u306b\u4f7f\u3044\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306b\u5099\u3048\u308b<\/strong>\u3068\u3044\u3046\u8003\u3048\u65b9\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u3053\u306e\u3088\u3046\u306a\u8a2d\u8a08\u30a2\u30d7\u30ed\u30fc\u30c1\u3092<strong>Progressive Enhancement\uff08\u6bb5\u968e\u7684\u5f37\u5316\uff09<\/strong>\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">CSS\u3067\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u66f8\u304f\u306e\u304c\u57fa\u672c<\/h3>\n\n\n\n<p>\u672a\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u3067\u306f <code>animation-timeline<\/code> \u306e\u6307\u5b9a\u305d\u306e\u3082\u306e\u304c\u7121\u8996\u3055\u308c\u308b\u305f\u3081\u3001<strong>\u521d\u671f\u72b6\u614b\u306eCSS\u3060\u3051\u304c\u9069\u7528\u3055\u308c\u308b<\/strong>\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3068\u304d\u306b\u3001<strong>\u6700\u4f4e\u9650\u3067\u3082\u8981\u7d20\u304c\u8868\u793a\u3055\u308c\u308b\u72b6\u614b\u3092\u7dad\u6301\u3059\u308b\u3053\u3068<\/strong>\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.item {\n  opacity: 1; \/* \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b *\/\n  transform: none;\n}\n\n@supports (animation-timeline: view()) {\n  .item {\n    opacity: 0;\n    transform: translateY(2rem);\n    animation: fadeIn linear;\n    animation-timeline: view();\n    animation-range: entry 0% cover 30%;\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b <code>@supports<\/code> \u3092\u4f7f\u3048\u3070\u3001<strong>\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u3060\u3051\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u5316<\/strong>\u3057\u3001\u4ed6\u306e\u74b0\u5883\u3067\u306f<strong>\u9759\u7684\u8868\u793a<\/strong>\u306b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">JS\u7248\u3068\u306e\u4f75\u7528\u3082\u8996\u91ce\u306b\uff08\u5fc5\u8981\u306a\u3089\uff09<\/h3>\n\n\n\n<p>\u6848\u4ef6\u306b\u3088\u3063\u3066\u306f\u3001<strong>\u30b9\u30af\u30ed\u30fc\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u306a\u8981\u4ef6<\/strong>\u3067\u3042\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<br>\u305d\u306e\u5834\u5408\u3001\u307e\u305a\u306fCSS\u30d9\u30fc\u30b9\u3067\u69cb\u7bc9\u3057\u3001<strong>\u975e\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u3067\u306f JS\uff08<code>IntersectionObserver<\/code>\uff09\u3067\u4e0a\u66f8\u304d\u5b9f\u88c5<\/strong>\u3059\u308b\u3068\u3044\u3046\u9078\u629e\u80a2\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (!CSS.supports('animation-timeline: view()')) {\n  \/\/ IntersectionObserver \u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u51e6\u7406\u3092\u8ffd\u52a0\n}<\/code><\/pre>\n\n\n\n<p>\u305f\u3060\u3057\u3001<strong>CSS\u3068JS\u3067\u4e8c\u91cd\u5b9f\u88c5\u306b\u306a\u308b\u305f\u3081\u3001\u30b3\u30b9\u30c8\u3068\u4fdd\u5b88\u6027\u306b\u306f\u6ce8\u610f<\/strong>\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u30e2\u30c0\u30f3\u30d6\u30e9\u30a6\u30b6\u306e\u307f\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3067\u304d\u308b\u74b0\u5883\u3067\u3042\u308c\u3070\u3001\u307e\u305a\u306fCSS\u306e\u307f\u3067\u5341\u5206\u5bfe\u5fdc\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u52d9\u3067\u306e\u5224\u65ad\u30dd\u30a4\u30f3\u30c8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57fa\u672c\u8868\u793a\uff08opacity: 1\uff09\u3055\u3048\u78ba\u4fdd\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3057\u3067\u3082UX\u306f\u6210\u7acb<\/strong><\/li>\n\n\n\n<li><strong>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3042\u304f\u307e\u3067\u88c5\u98fe\u3002\u5fc5\u9808\u6a5f\u80fd\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u8a2d\u8a08\u3059\u308b<\/strong><\/li>\n\n\n\n<li><strong>\u30b9\u30de\u30db\u4e2d\u5fc3\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u306f\u3001\u5bfe\u5fdc\u72b6\u6cc1\u3092\u5fc5\u305a\u30c1\u30a7\u30c3\u30af<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><code>prefers-reduced-motion<\/code> \u3082\u5fd8\u308c\u305a\u306b<\/h3>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u306eOS\u8a2d\u5b9a\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6291\u3048\u308b\u8a2d\u5b9a\uff08\u8996\u899a\u7684\u8ca0\u62c5\u3092\u8efd\u6e1b\u3057\u305f\u3044\u30e6\u30fc\u30b6\u30fc\u5411\u3051\uff09\u3092\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u306b\u5f93\u3046\u3079\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@media (prefers-reduced-motion: reduce) {\n  .item {\n    animation: none !important;\n    transition: none !important;\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u306f\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u89b3\u70b9\u3067\u3082\u975e\u5e38\u306b\u91cd\u8981\u3067\u3001<strong>\u4e00\u90e8\u306e\u81ea\u6cbb\u4f53\u30fb\u516c\u5171\u7cfb\u30b5\u30a4\u30c8\u3067\u306f\u5fc5\u9808\u8981\u4ef6\u3068\u306a\u3063\u3066\u3044\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059<\/strong>\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u30e9\u30a4\u30d6\u30c7\u30e2<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u5b9f\u969b\u306b\u4f7f\u3048\u308b2\u3064\u306e\u5b9f\u88c5\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CSS\u3060\u3051\u3067\u8efd\u91cf\u306b\u5b9f\u88c5\u3067\u304d\u308b\u57fa\u672c\u7248<\/li>\n\n\n\n<li><code>animation-timeline<\/code> \u3092\u4f7f\u3063\u305f\u672c\u683c\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u7248<\/li>\n<\/ul>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u7279\u6027\u306b\u5fdc\u3058\u3066\u3001\u5b9f\u52d9\u306b\u6d3b\u304b\u305b\u308b\u5f62\u306b\u843d\u3068\u3057\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f3\u2460\uff1a\u8efd\u91cf\u306a\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\uff08CSS + :has + \u30af\u30e9\u30b9\u5236\u5fa1\uff09<\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_PwwqYeB\" src=\"\/\/codepen.io\/anon\/embed\/PwwqYeB?height=450&amp;theme-id=1&amp;slug-hash=PwwqYeB&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed PwwqYeB\" title=\"CodePen Embed PwwqYeB\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u306e\u5834\u5408\u3001<code>.is-visible<\/code> \u306fJS\u3084CMS\u5074\u304b\u3089\u4ed8\u3051\u3066\u3082OK\u3002CSS\u3060\u3051\u3067\u3082\u30af\u30e9\u30b9\u306e\u72b6\u614b\u3092\u4f7f\u3063\u3066<strong>\u64ec\u4f3c\u7684\u306b\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u98a8<\/strong>\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<br>\u300c\u5b8c\u5168\u306bJS\u30ec\u30b9\u306b\u3059\u308b\u300d\u3088\u308a\u3082\u3001<strong>JS\u3092\u4f7f\u3046\u3068\u3057\u3066\u3082\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b<\/strong>\u3001\u3068\u3044\u3046\u8003\u3048\u65b9\u306b\u8fd1\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d1\u30bf\u30fc\u30f3\u2461\uff1a<code>animation-timeline<\/code> \u3092\u4f7f\u3063\u305f\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_QwwbWpb\" src=\"\/\/codepen.io\/anon\/embed\/QwwbWpb?height=450&amp;theme-id=1&amp;slug-hash=QwwbWpb&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed QwwbWpb\" title=\"CodePen Embed QwwbWpb\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u9069\u7528\u3059\u308b\u3068\u3001<code>.scroll-fade<\/code> \u30af\u30e9\u30b9\u304c\u4ed8\u3044\u305f\u8981\u7d20\u304c<strong>\u753b\u9762\u4e0b\u304b\u3089\u5165\u3063\u3066\u304f\u308b\u3088\u3046\u306a\u81ea\u7136\u306a\u52d5\u304d<\/strong>\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u30d6\u30e9\u30a6\u30b6\u5bfe\u5fdc\u3055\u3048\u30af\u30ea\u30a2\u3057\u3066\u3044\u308c\u3070\u3001\u975e\u5e38\u306b\u6ed1\u3089\u304b\u3067\u8efd\u91cf\u306aUI\u304c\u4f5c\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e9\u30a4\u30d6\u30c7\u30e2\u3092\u4f5c\u308b\u3068\u304d\u306e\u69cb\u6210\u30dd\u30a4\u30f3\u30c8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>1\u753b\u9762\u306b\u8907\u6570\u306e <code>.item<\/code> \u3092\u4e26\u3079\u3066\u3001\u9023\u7d9a\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3055\u305b\u308b<\/strong><\/li>\n\n\n\n<li>\u8996\u8a8d\u6027\u3092\u4e0a\u3052\u308b\u305f\u3081\u306b <code>box-shadow<\/code> \u3084 <code>border-radius<\/code> \u3067\u88c5\u98fe\u3092\u8ffd\u52a0<\/li>\n\n\n\n<li>\u30b9\u30de\u30db\u3067\u3082\u78ba\u8a8d\u3057\u3084\u3059\u3044\u3088\u3046\u306b<strong>\u7e26\u65b9\u5411\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u8abf\u6574<\/strong><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_bNNdNaR\" src=\"\/\/codepen.io\/anon\/embed\/bNNdNaR?height=450&amp;theme-id=1&amp;slug-hash=bNNdNaR&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed bNNdNaR\" title=\"CodePen Embed bNNdNaR\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u307e\u305f\u3001\u52d5\u4f5c\u78ba\u8a8d\u306f<strong>\u30d6\u30e9\u30a6\u30b6\u306e\u691c\u8a3c\u30c4\u30fc\u30eb\u3067\u300c\u30e2\u30d0\u30a4\u30eb\u8868\u793a\u300d\uff0b\u300c\u3086\u3063\u304f\u308a\u30b9\u30af\u30ed\u30fc\u30eb\u300d<\/strong>\u304c\u9244\u5247\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u52d9Tips\uff1aJS\u306a\u3057\u3067\u3082\u81ea\u7136\u306b\u898b\u305b\u308b\u305f\u3081\u306e\u5de5\u592b<\/h2>\n\n\n\n<p>CSS\u3060\u3051\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u88c5\u3059\u308b\u5834\u5408\u3001<strong>\u300c\u8868\u793a\u3055\u308c\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u300d\u3068\u300c\u52d5\u304d\u306e\u81ea\u7136\u3055\u300d<\/strong>\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br>\u305f\u3060\u5358\u306b\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3059\u308b\u3060\u3051\u3067\u306f\u3001<strong>\u898b\u305b\u65b9\u3068\u3057\u3066\u5f31\u3044\u30fb\u9055\u548c\u611f\u304c\u51fa\u308b<\/strong>\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u7ae0\u3067\u306f\u3001<strong>JS\u3092\u4f7f\u308f\u305a\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u201c\u81ea\u7136\u306b\u30fb\u5fc3\u5730\u3088\u304f\u201d\u898b\u305b\u308b\u305f\u3081\u306e\u5de5\u592b\u3084\u6ce8\u610f\u70b9<\/strong>\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. <code>transform: translateY()<\/code> \u3092\u4f75\u7528\u3057\u3066\u201c\u52d5\u304d\u201d\u3092\u52a0\u3048\u308b<\/h3>\n\n\n\n<p>\u305f\u3060 <code>opacity: 0 \u2192 1<\/code> \u306e\u5909\u5316\u3060\u3051\u3067\u306f\u3001\u52d5\u304d\u304c\u306e\u3063\u307a\u308a\u3057\u304c\u3061\u3067\u3059\u3002<br>\u305d\u3053\u3067\u3001<strong>Y\u8ef8\u65b9\u5411\u3078\u306e\u8efd\u3044\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3<\/strong>\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001<strong>\u30d5\u30a7\u30fc\u30c9\u611f\uff0b\u7acb\u4f53\u611f<\/strong>\u304c\u52a0\u308f\u308a\u3001\u3088\u308a\u81ea\u7136\u306a\u6f14\u51fa\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_JooddEX\" src=\"\/\/codepen.io\/anon\/embed\/JooddEX?height=450&amp;theme-id=1&amp;slug-hash=JooddEX&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed JooddEX\" title=\"CodePen Embed JooddEX\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b <code>transform<\/code> \u3092\u5909\u3048\u308b\u3053\u3068\u3067\u3001GPU\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u52b9\u304d\u3084\u3059\u304f\u306a\u308a\u3001<strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u9762\u3067\u3082\u512a\u79c0<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u4e00\u5ea6\u3060\u3051\u3067\u3088\u3044\uff08\u7e70\u308a\u8fd4\u3057\u306b\u6ce8\u610f\uff09<\/h3>\n\n\n\n<p>\u30b9\u30af\u30ed\u30fc\u30eb\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u3067<strong>\u4f55\u5ea6\u3082\u51fa\u305f\u308a\u6d88\u3048\u305f\u308a\u3059\u308bUI\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30b9\u30c8\u30ec\u30b9\u306b\u306a\u308a\u307e\u3059<\/strong>\u3002<br>\u57fa\u672c\u7684\u306b\u3001<strong>\u4e00\u5ea6\u8868\u793a\u3055\u308c\u305f\u3089\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u306e\u304c\u30d9\u30b9\u30c8<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p>CSS\u3060\u3051\u3067\u4e00\u5ea6\u9650\u308a\u306e\u5236\u5fa1\u306f\u96e3\u3057\u3044\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a2d\u8a08\u3067\u300c\u4e00\u5ea6\u8868\u793a\u3055\u308c\u305f\u3089\u975e\u8868\u793a\u306b\u623b\u3089\u306a\u3044\u300d\u6319\u52d5\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e00\u5ea6 <code>.is-visible<\/code> \u30af\u30e9\u30b9\u3092\u4ed8\u3051\u305f\u3089\u9664\u53bb\u3057\u306a\u3044<\/li>\n\n\n\n<li><code>animation-fill-mode: both;<\/code> \u3092\u6307\u5b9a\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u7d42\u4e86\u5f8c\u306e\u72b6\u614b\u3092\u4fdd\u6301\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u30e6\u30fc\u30b6\u30fc\u8a2d\u5b9a\uff08<code>prefers-reduced-motion<\/code>\uff09\u3092\u5c0a\u91cd\u3059\u308b<\/h3>\n\n\n\n<p>\u30e2\u30fc\u30b7\u30e7\u30f3\u306b\u654f\u611f\u306a\u30e6\u30fc\u30b6\u30fc\u306e\u305f\u3081\u306b\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6291\u5236\u3059\u308b\u8a2d\u5b9a\u3082\u53d6\u308a\u5165\u308c\u3066\u304a\u304f\u3068\u3001<strong>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u304c\u4e00\u6bb5\u968e\u30a2\u30c3\u30d7<\/strong>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_JooddEX\" src=\"\/\/codepen.io\/anon\/embed\/JooddEX?height=450&amp;theme-id=1&amp;slug-hash=JooddEX&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed JooddEX\" title=\"CodePen Embed JooddEX\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>\u3053\u306e\u3072\u3068\u624b\u9593\u304c\u3042\u308b\u3060\u3051\u3067\u3001<strong>\u81ea\u6cbb\u4f53\u6848\u4ef6\u30fb\u533b\u7642\u7cfb\u30b5\u30a4\u30c8\u306a\u3069\u306e\u54c1\u8cea\u8981\u4ef6\u3082\u6e80\u305f\u305b\u308b<\/strong>\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u521d\u671f\u72b6\u614b\u306e\u8a2d\u8a08\u304c\u91cd\u8981\uff08\u30ec\u30a4\u30a2\u30a6\u30c8\u5d29\u308c\u306e\u9632\u6b62\uff09<\/h3>\n\n\n\n<p>\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u524d\u306e\u72b6\u614b\u3067 <code>height: 0<\/code> \u3084 <code>display: none<\/code> \u306a\u3069\u3092\u4f7f\u3046\u3068\u3001<strong>\u51fa\u73fe\u6642\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u8df3\u306d\u305f\u308a\u30ba\u30ec\u305f\u308a\u3059\u308b<\/strong>\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<br><strong><code>opacity<\/code> \u3068 <code>transform<\/code> \u306e\u307f\u306b\u3088\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3089\u3001\u7a7a\u9593\u306e\u78ba\u4fdd\u306f\u305d\u306e\u307e\u307e\u306a\u306e\u3067\u63fa\u308c\u304c\u8d77\u304d\u306b\u304f\u3044<\/strong>\u306e\u304c\u30e1\u30ea\u30c3\u30c8\u3002<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_zxxGwjv\" src=\"\/\/codepen.io\/anon\/embed\/zxxGwjv?height=450&amp;theme-id=1&amp;slug-hash=zxxGwjv&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed zxxGwjv\" title=\"CodePen Embed zxxGwjv\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p><code>visibility<\/code> \u306e\u5236\u5fa1\u3092\u4f75\u7528\u3059\u308b\u3068\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u7684\u306b\u3082\u3088\u308a\u9069\u5207\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u52d9\u5c0e\u5165\u306e\u8003\u3048\u65b9\u307e\u3068\u3081<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30dd\u30a4\u30f3\u30c8<\/th><th>\u5185\u5bb9<\/th><\/tr><\/thead><tbody><tr><td>\u81ea\u7136\u306a\u52d5\u304d<\/td><td><code>transform<\/code> + <code>opacity<\/code> \u3092\u30bb\u30c3\u30c8\u3067\u4f7f\u3046<\/td><\/tr><tr><td>\u4e00\u5ea6\u3060\u3051\u8868\u793a<\/td><td><code>animation-fill-mode<\/code> \u3084\u30af\u30e9\u30b9\u5236\u5fa1\u3067\u300c\u623b\u3089\u306a\u3044\u300d\u3088\u3046\u306b<\/td><\/tr><tr><td>\u914d\u616e\u3042\u308b\u8a2d\u8a08<\/td><td><code>prefers-reduced-motion<\/code> \u3078\u306e\u5bfe\u5fdc\u306f\u30de\u30b9\u30c8<\/td><\/tr><tr><td>\u5d29\u308c\u9632\u6b62<\/td><td><code>display: none<\/code> \u306f\u907f\u3051\u3001\u30b9\u30da\u30fc\u30b9\u3092\u7dad\u6301\u3057\u305f\u307e\u307e\u30d5\u30a7\u30fc\u30c9<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b\uff1a\u30b9\u30af\u30ed\u30fc\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3082\u201cCSS\u3060\u3051\u3067\u3084\u3063\u3066\u307f\u308b\u201d\u6642\u4ee3\u3078<\/h2>\n\n\n\n<p>\u300c\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u8981\u7d20\u304c\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u3059\u308b\u300d\u2015\u2015<br>\u4eca\u3084Web UI\u306e\u5b9a\u756a\u3068\u3082\u8a00\u3048\u308b\u3053\u306e\u6f14\u51fa\u3067\u3059\u304c\u3001JavaScript\u3092\u4f7f\u308f\u305a\u3001<strong>CSS\u3060\u3051\u3067\u3082\u304b\u306a\u308a\u306e\u30ec\u30d9\u30eb\u307e\u3067\u8868\u73fe\u3067\u304d\u308b\u6642\u4ee3<\/strong>\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u4eca\u56de\u7d39\u4ecb\u3057\u305fCSS\u3060\u3051\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u632f\u308a\u8fd4\u308b<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u624b\u6cd5<\/th><th>\u7279\u5fb4<\/th><th>\u5411\u3044\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/th><\/tr><\/thead><tbody><tr><td><code>:has()<\/code> + \u30af\u30e9\u30b9\u5236\u5fa1<\/td><td>\u7591\u4f3c\u7684\u306b\u51fa\u73fe\u6f14\u51fa\u304c\u53ef\u80fd \/ \u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u591a\u3081<\/td><td>\u8efd\u91cf\u306aLP\u3001\u7c21\u6613UI\u3001JS\u30ec\u30b9\u5fd7\u5411\u306e\u6848\u4ef6<\/td><\/tr><tr><td><code>animation-timeline<\/code><\/td><td>\u30b9\u30af\u30ed\u30fc\u30eb\u306b\u9023\u52d5\u3057\u305f\u672c\u683c\u7684\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/td><td>Chrome\/Edge\u524d\u63d0\u306e\u30a2\u30d7\u30ea\u30fb\u7ba1\u7406\u753b\u9762\u306a\u3069<\/td><\/tr><tr><td><code>@supports<\/code> + <code>prefers-reduced-motion<\/code><\/td><td>\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3084\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u5bfe\u5fdc\u306b\u6709\u52b9<\/td><td>\u5b9f\u52d9\u3067\u306e\u54c1\u8cea\u62c5\u4fdd\u306b\u5fc5\u9808\u306e\u8a2d\u8a08<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u3053\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001<strong>\u300c\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u3092\u640d\u306a\u308f\u305a\u306b\u3001\u5b9f\u88c5\u30b3\u30b9\u30c8\u3092\u4e0b\u3052\u308b\u300d<\/strong>\u3068\u3044\u3046\u3001\u975e\u5e38\u306b\u73fe\u5b9f\u7684\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ed\u306e\u73fe\u5834\u3067\u306e\u8003\u3048\u65b9\uff1a\u5b8c\u74a7\u3088\u308a\u3082\u201c\u6700\u9069\u89e3\u201d\u3092\u9078\u3076<\/h3>\n\n\n\n<p>\u4eca\u56de\u306e\u3088\u3046\u306a<strong>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u300c\u5fc5\u9808\u6a5f\u80fd\u300d\u3067\u306f\u306a\u304f\u300c\u6f14\u51fa\u300d<\/strong>\u3067\u3059\u3002<br>\u3064\u307e\u308a\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u74b0\u5883\u3067\u300c\u8868\u793a\u3055\u308c\u306a\u3044\u300d\u3053\u3068\u304c\u81f4\u547d\u7684\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3060\u304b\u3089\u3053\u305d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5224\u65ad\u8ef8\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30e2\u30d0\u30a4\u30eb\u30d5\u30a1\u30fc\u30b9\u30c8 or \u5bfe\u5fdc\u7bc4\u56f2\u304c\u5e83\u3044\u6848\u4ef6 \u2192 <code>:has()<\/code> \u306e\u3088\u3046\u306a\u30d9\u30fc\u30b7\u30c3\u30afCSS\u3067\u5341\u5206<\/li>\n\n\n\n<li>\u30e2\u30c0\u30f3\u30d6\u30e9\u30a6\u30b6\u524d\u63d0 or \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u91cd\u8996 \u2192 <code>animation-timeline<\/code> \u3092\u7a4d\u6975\u6d3b\u7528<\/li>\n\n\n\n<li>\u9ad8\u54c1\u8cea\u30fb\u9ad8\u8981\u6c42\u306aUI \u2192 JS\uff0bCSS\u306e\u4f75\u7528\u3067\u30ea\u30c3\u30c1\u306b\u4ed5\u4e0a\u3052\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u6700\u5c0f\u9650\u306e\u30b3\u30fc\u30c9\u3067\u3001\u6700\u5927\u9650\u306e\u8868\u73fe\u3092\u5f15\u304d\u51fa\u3059\u3002<br>\u305d\u3093\u306a\u8a2d\u8a08\u3053\u305d\u304c\u3001<strong>\u4eca\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b\u6c42\u3081\u3089\u308c\u308b\u201c\u8cea\u306e\u3044\u3044\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u201d<\/strong>\u3060\u3068\u8003\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u305c\u3072\u201c\u4f7f\u308f\u306a\u3044JS\u201d\u3092\u8003\u3048\u308b\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306b<\/h3>\n\n\n\n<p>\u30b9\u30af\u30ed\u30fc\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff1dJavaScript\u3068\u3044\u3046\u601d\u8003\u306b\u3068\u3089\u308f\u308c\u305a\u3001<br><strong>\u300c\u3053\u306eUI\u3001\u672c\u5f53\u306bJS\u304c\u5fc5\u8981\uff1f\u300d<\/strong>\u3068\u4e00\u5ea6\u7acb\u3061\u6b62\u307e\u3063\u3066\u307f\u308b\u3002<br>\u305d\u3093\u306a\u8996\u70b9\u3092\u6301\u3064\u3060\u3051\u3067\u3001<strong>\u8a2d\u8a08\u306e\u5f15\u304d\u51fa\u3057\u304c\u4e00\u6bb5\u3068\u5897\u3048\u307e\u3059<\/strong>\u3002<\/p>\n\n\n\n<p>\u3042\u306a\u305f\u306e\u6b21\u306e\u6848\u4ef6\u306b\u3001\u3053\u306eCSS\u3060\u3051\u306e\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u6280\u8853\u3001\u305c\u3072\u53d6\u308a\u5165\u308c\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u6b21\u56de\u3082\u304a\u697d\u3057\u307f\u306b\uff01<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u5f0a\u793e\u3067\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u3044\u308bCSS\u3060\u3051\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u9023\u52d5\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u7279\u306banimation-timeline\u3068:has()\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001JavaScript\u306a\u3057\u3067\u3082\u81ea\u7136\u306a\u30d5\u30a7\u30fc\u30c9\u30a4\u30f3\u304c\u5b9f\u73fe\u53ef\u80fd\u3067\u3059\u3002<\/p>\n","protected":false},"author":12,"featured_media":8851,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[13,575],"tags":[33,32,22,591,590],"class_list":["post-8709","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-frontend","category-html-css","tag-css","tag-html","tag-javascript","tag-591","tag-590"],"acf":[],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/fastcoding.jp\/blog\/wp-content\/uploads\/2025\/04\/8709.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/8709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/comments?post=8709"}],"version-history":[{"count":13,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/8709\/revisions"}],"predecessor-version":[{"id":8732,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/posts\/8709\/revisions\/8732"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/media\/8851"}],"wp:attachment":[{"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/media?parent=8709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/categories?post=8709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fastcoding.jp\/blog\/wp-json\/wp\/v2\/tags?post=8709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}