{"id":1523,"date":"2024-04-19T13:54:23","date_gmt":"2024-04-19T04:54:23","guid":{"rendered":"https:\/\/freefuntimes.com\/?p=1523"},"modified":"2024-04-19T13:54:50","modified_gmt":"2024-04-19T04:54:50","slug":"gsap%e3%81%a7%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e3%81%84%e3%81%8f%e3%81%a8%e7%aa%93%e6%9e%a0%e3%81%8c%e6%8b%a1%e5%a4%a7%e3%81%97%e3%81%a6%e3%81%84%e3%81%8f%e5%ae%9f","status":"publish","type":"post","link":"https:\/\/freefuntimes.com\/?p=1523","title":{"rendered":"GSAP\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3044\u304f\u3068\u7a93\u67a0\u304c\u62e1\u5927\u3057\u3066\u3044\u304f\u5b9f\u88c5\u3092\u3084\u3063\u3066\u307f\u305f\uff08\u5099\u5fd8\u9332\uff09"},"content":{"rendered":"\n<p>\u4eca\u56de\u306f\u3001\u900f\u660e\u306a\u7a93\u67a0\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u3068\u62e1\u5927\u3057\u306a\u304c\u3089\u5f8c\u308d\u5074\u306e\u80cc\u666f\u304c\u73fe\u308c\u3066\u3044\u304f\u3068\u3044\u3063\u305f\u5b9f\u88c5\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u7a93\u67a0\u306b\u9650\u3089\u305a\u3044\u308d\u3093\u306a\u5f62\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u306a\u304a\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u4f4d\u7f6e\u3092\u56fa\u5b9a\u3057\u3066\u62e1\u5927\u3059\u308b\u3088\u3046\u306b\u3084\u3063\u3066\u307f\u305f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u306a\u304b\u306a\u304b\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u4eca\u56de\u306f\u30b9\u30af\u30ed\u30fc\u30eb\u3082\u3057\u306a\u304c\u3089\u62e1\u5927\u3057\u3066\u3044\u304f\u5b9f\u88c5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b9\u30af\u30ed\u30fc\u30eb\u56fa\u5b9a\u306b\u3064\u3044\u3066\u306f\u898b\u901a\u3057\u304c\u7acb\u3066\u3070\u5225\u8a18\u4e8b\u3067\u66f8\u304d\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-col-ffffff-color has-col-c-3512-f-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/freefuntimes.com\/demo\/0070_doormask\/\" target=\"_blank\" rel=\"noreferrer noopener\">demo<\/a><\/div>\n<\/div>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7420886115642360\" crossorigin=\"anonymous\"><\/script>\n<!-- \u5e83\u544a\uff12 -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-7420886115642360\" data-ad-slot=\"6763072797\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #382410;color:#382410\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #382410;color:#382410\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/freefuntimes.com\/?p=1523\/#%e4%bb%8a%e5%9b%9e%e7%94%a8%e6%84%8f%e3%81%97%e3%81%9fsvg%e7%94%bb%e5%83%8f%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >\u4eca\u56de\u7528\u610f\u3057\u305fsvg\u753b\u50cf\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/freefuntimes.com\/?p=1523\/#html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >HTML\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/freefuntimes.com\/?p=1523\/#css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >CSS\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/freefuntimes.com\/?p=1523\/#javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\" >JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e4%bb%8a%e5%9b%9e%e7%94%a8%e6%84%8f%e3%81%97%e3%81%9fsvg%e7%94%bb%e5%83%8f%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>\u4eca\u56de\u7528\u610f\u3057\u305fsvg\u753b\u50cf\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Figma\u3067\u4e0b\u8a18\u306e\u624b\u9806\u3067\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e38\u3068\u6b63\u65b9\u5f62\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-1 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"202\" height=\"230\" src=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/5f7cac192ec3e9b8390cc5f4069ec9b9.png\" alt=\"\" class=\"wp-image-1525\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"279\" height=\"269\" src=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/9a95af10ca01aedf8ef724c3356f65bd.png\" alt=\"\" class=\"wp-image-1524\" srcset=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/9a95af10ca01aedf8ef724c3356f65bd.png 279w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/9a95af10ca01aedf8ef724c3356f65bd-36x36.png 36w\" sizes=\"(max-width: 279px) 100vw, 279px\" \/><\/figure>\n<\/div>\n\n\n\n<p>\u4e38\u3068\u6b63\u65b9\u5f62\u3092\u9078\u629e\u3057\u3066\u3001\u9078\u629e\u7bc4\u56f2\u306e\u7d50\u5408\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"466\" height=\"346\" src=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/52d44af1ec71df3436347f861aeb809d.png\" alt=\"\" class=\"wp-image-1526\" srcset=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/52d44af1ec71df3436347f861aeb809d.png 466w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/52d44af1ec71df3436347f861aeb809d-300x223.png 300w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/figure>\n\n\n\n<p>\u30d5\u30ec\u30fc\u30e0\u3068\u540c\u3058\u5927\u304d\u3055\u306e\u9577\u65b9\u5f62\u306b\u3064\u3044\u3066\u3001\u7d50\u5408\u3057\u305f\u4e0b\u306e\u30ec\u30a4\u30e4\u30fc\u306b\u7528\u610f\u3057\u3001\u30d5\u30ec\u30fc\u30e0\u3092\u9078\u629e\u3057\u305f\u72b6\u614b\u3067\u3001\u300c\u9078\u629e\u7bc4\u56f2\u306e\u578b\u629c\u304d\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"544\" src=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/8f873efe827348e3340832b05f91ccef.png\" alt=\"\" class=\"wp-image-1527\" srcset=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/8f873efe827348e3340832b05f91ccef.png 1018w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/8f873efe827348e3340832b05f91ccef-300x160.png 300w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/8f873efe827348e3340832b05f91ccef-768x410.png 768w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/8f873efe827348e3340832b05f91ccef-705x377.png 705w\" sizes=\"(max-width: 1018px) 100vw, 1018px\" \/><\/figure>\n\n\n\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u7a93\u67a0\u304c\u304f\u308a\u629c\u304b\u308c\u305f\u56f3\u5f62\u304c\u5b8c\u6210\u3057\u307e\u3059\u306e\u3067\u3001svg\u3067\u66f8\u304d\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"382\" src=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/fee8ac7e8fe813566b3bf8115e556917.png\" alt=\"\" class=\"wp-image-1528\" srcset=\"https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/fee8ac7e8fe813566b3bf8115e556917.png 832w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/fee8ac7e8fe813566b3bf8115e556917-300x138.png 300w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/fee8ac7e8fe813566b3bf8115e556917-768x353.png 768w, https:\/\/freefuntimes.com\/wp-content\/uploads\/2024\/04\/fee8ac7e8fe813566b3bf8115e556917-705x324.png 705w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002\u7a93\u67a0\u306b\u9650\u3089\u305a\u3044\u308d\u3093\u306a\u56f3\u5f62\u3067\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u3084\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"html%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>HTML\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;ja&quot;&gt;\n\n&lt;head&gt;\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\n  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n  &lt;title&gt;GSAP\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3044\u304f\u3068\u7a93\u67a0\u304c\u62e1\u5927\u3057\u3066\u3044\u304f&lt;\/title&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;..\/reset.css&quot;&gt;\n  &lt;link rel=&quot;stylesheet&quot; href=&quot;.\/style.css&quot;&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\n  &lt;main&gt;\n    &lt;div class=&quot;door-mask&quot;&gt;\n      &lt;img src=&quot;.\/images\/door-mask.svg&quot; alt=&quot;&quot;&gt;\n    &lt;\/div&gt;\n    &lt;div class=&quot;content&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_01.webp&quot; alt=&quot;Image 1&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_02.webp&quot; alt=&quot;Image 2&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_01.webp&quot; alt=&quot;Image 3&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_02.webp&quot; alt=&quot;Image 4&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_01.webp&quot; alt=&quot;Image 5&quot;&gt;\n      &lt;img src=&quot;.\/images\/img_02.webp&quot; alt=&quot;Image 6&quot;&gt;\n    &lt;\/div&gt;\n  &lt;\/main&gt;\n  &lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/gsap@3.12.5\/dist\/gsap.min.js&quot;&gt;&lt;\/script&gt;\n  &lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/gsap@3.12.5\/dist\/ScrollTrigger.min.js&quot;&gt;&lt;\/script&gt;\n  &lt;script src=&quot;.\/style.js&quot;&gt;&lt;\/script&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;\n<\/code><\/pre><\/div>\n\n\n\n<p>door-mask\u3067\u56f2\u308f\u308c\u3066\u3044\u308b\u90e8\u5206\u304c\u4eca\u56de\u306e\u7a93\u67a0\u306e\u753b\u50cf\u306b\u306a\u308a\u307e\u3059\u3002content\u3067\u56f2\u308f\u308c\u3066\u3044\u308b\u7b87\u6240\u306f\u3001\u7a93\u67a0\u304c\u62e1\u5927\u3055\u308c\u305f\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u308b\u4e2d\u8eab\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306fGSAP\u3067\u4f7f\u3046\u306e\u306b\u5fc5\u8981\u306a\u8a18\u8ff0\u3067\u3059\u3002CDN\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/gsap.com\/docs\/v3\/Installation\/?tab=cdn&amp;module=esm&amp;method=private+registry&amp;tier=free&amp;club=false&amp;require=false&amp;trial=true\" target=\"_blank\" rel=\"noopener\" title=\"\">\u516c\u5f0f\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/a><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/gsap@3.12.5\/dist\/gsap.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/gsap@3.12.5\/dist\/ScrollTrigger.min.js&quot;&gt;&lt;\/script&gt;<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"css%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>CSS\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>@charset &quot;utf-8&quot;;\n\n\/* ==========================\n  \u521d\u671f\u8a2d\u5b9a\n========================== *\/\n*,\n*::before,\n*::after {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n}\n\nbody {\n  position: relative;\n  word-wrap: break-word;\n}\n\nimg {\n  width: 100%;\n  vertical-align: bottom;\n}\n\n\/* \u30ec\u30a4\u30a2\u30a6\u30c8\u8a2d\u5b9a *\/\n.door-mask {\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 10;\n  overflow: hidden;\n}\n\n.door-mask img {\n  width: 100%;\n  height: 100%;\n  object-fit: cover;\n}\n\n.content {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n}\n<\/code><\/pre><\/div>\n\n\n\n<p>door-mask\u90e8\u5206\u306f\u3001position\u3092fixed\u306b\u3057\u3066\u56fa\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002content\u90e8\u5206\u306f\u30da\u30fc\u30b8\u4e0a\u90e8\u306b\u5408\u308f\u305b\u305f\u3044\u306e\u3067\u3001position\u3092absolute\u306b\u3057\u3066\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"javascript%e3%81%ae%e8%a8%98%e8%bf%b0%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\"><\/span>JavaScript\u306e\u8a18\u8ff0\u306b\u3064\u3044\u3066<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>&quot;use strict&quot;;\n\n\/\/ GSAP\u30e9\u30a4\u30d6\u30e9\u30ea\u304b\u3089ScrollTrigger\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u767b\u9332\ngsap.registerPlugin(ScrollTrigger);\n\n\/\/ .door-mask\u30af\u30e9\u30b9\u3092\u6301\u3064\u8981\u7d20\u3092\u9078\u629e\nconst doorMask = document.querySelector(&quot;.door-mask&quot;);\n\n\/\/ .door-mask\u5185\u306eimg\u8981\u7d20\u3092\u9078\u629e\nconst doorMaskImg = document.querySelector(&quot;.door-mask img&quot;);\n\n\/\/ GSAP\u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\u3092\u4f5c\u6210\u3002\u30b9\u30af\u30ed\u30fc\u30eb\u30c8\u30ea\u30ac\u30fc\u8a2d\u5b9a\u3092\u542b\u3080\nconst tl = gsap.timeline({\n  scrollTrigger: {\n    trigger: &quot;.door-mask&quot;, \/\/ \u30c8\u30ea\u30ac\u30fc\u3068\u306a\u308b\u8981\u7d20\n    start: &quot;top top&quot;, \/\/ \u30c8\u30ea\u30ac\u30fc\u958b\u59cb\u4f4d\u7f6e\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306e\u4e0a\u90e8\u3067\u958b\u59cb\n    end: &quot;bottom top&quot;, \/\/ \u30c8\u30ea\u30ac\u30fc\u7d42\u4e86\u4f4d\u7f6e\uff1a\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8\u306e\u4e0b\u90e8\u3067\u7d42\u4e86\n    scrub: true, \/\/ \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u9032\u884c\u72b6\u6cc1\u3092 ScrollTrigger \u306e\u9032\u884c\u72b6\u6cc1\u306b\u76f4\u63a5\u30ea\u30f3\u30af\n  },\n});\n\n\/\/ doorMaskImg\u306e\u30b9\u30b1\u30fc\u30eb\u3092\u5909\u66f4\u3059\u308b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\ntl.to(doorMaskImg, {\n  scale: 6, \/\/ \u6700\u7d42\u7684\u306a\u30b9\u30b1\u30fc\u30eb\u5024\n  ease: &quot;none&quot;, \/\/ \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30a4\u30fc\u30b8\u30f3\u30b0\u8a2d\u5b9a\uff1a\u306a\u3057\n});\n<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u306b\u3084\u3063\u3066\u3044\u308b\u8a73\u7d30\u306f\u30b3\u30e1\u30f3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>timeline\u3092\u4f5c\u6210\u3057\u3066scrolltrigger\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/gsap.com\/docs\/v3\/GSAP\/Timeline\" target=\"_blank\" rel=\"noopener\" title=\"\">Timeline\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/gsap.com\/docs\/v3\/Plugins\/ScrollTrigger\/\" target=\"_blank\" rel=\"noopener\" title=\"\">ScrollTrigger\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/a><\/li>\n<\/ul>\n\n\n\n<p>door-mask\u3092\u30c8\u30ea\u30ac\u30fc\u3068\u3057\u3066\u3001\u958b\u59cb\u4f4d\u7f6e\u3068\u7d42\u4e86\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3057\u3001door-mask img\u306e\u5927\u304d\u3055\u304cscale6\u306b\u5909\u5316\u3059\u308b\u3088\u3046\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30fc\u30c9\u91cf\u306f\u5c11\u306a\u3044\u3067\u3059\u304c\u3001\u3053\u308c\u3067\u3084\u308a\u305f\u3044\u52d5\u304d\u306f\u5b8c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u56fa\u5b9a\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u304c\u4f5c\u308c\u308c\u3070\u3044\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u6642\u9593\u304c\u6eb6\u3051\u305d\u3046\u306a\u305f\u3081\u3001\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u30b3\u30c4\u30b3\u30c4\u3084\u3063\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001\u900f\u660e\u306a\u7a93\u67a0\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u3068\u62e1\u5927\u3057\u306a\u304c\u3089\u5f8c\u308d\u5074\u306e\u80cc\u666f\u304c\u73fe\u308c\u3066\u3044\u304f\u3068\u3044\u3063\u305f\u5b9f\u88c5\u3092\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u7a93\u67a0\u306b\u9650\u3089\u305a\u3044\u308d\u3093\u306a\u5f62\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":1529,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,33,34,36,46,63],"tags":[],"class_list":["post-1523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","category-html","category-css","category-javascript","category-46","category-gsap"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1523"}],"collection":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1523"}],"version-history":[{"count":2,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1523\/revisions"}],"predecessor-version":[{"id":1531,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/posts\/1523\/revisions\/1531"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=\/wp\/v2\/media\/1529"}],"wp:attachment":[{"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freefuntimes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}