{"id":3438,"date":"2026-02-12T01:52:27","date_gmt":"2026-02-12T01:52:27","guid":{"rendered":"https:\/\/satokotadesign.com\/blog\/?p=3438"},"modified":"2026-02-12T01:52:27","modified_gmt":"2026-02-12T01:52:27","slug":"view-transitions-api","status":"publish","type":"post","link":"https:\/\/satokotadesign.com\/blog\/view-transitions-api\/","title":{"rendered":"View Transitions API\u3068\u306f\uff1fSPA\u4e0d\u8981\u3067\u201c\u30a2\u30d7\u30ea\u306e\u3088\u3046\u306b\u6ed1\u3089\u304b\u306a\u753b\u9762\u9077\u79fb\u201d\u3092\u5b9f\u73fe\u3059\u308b\u6700\u65b0Web\u6280\u8853"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002<br \/>\nWeb\u30b5\u30a4\u30c8\u306e\u8868\u793a\u4f53\u9a13\u306f\u3053\u3053\u6570\u5e74\u3067\u5927\u304d\u304f\u9032\u5316\u3057\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u300c\u30da\u30fc\u30b8\u9077\u79fb\u300d\u3060\u3051\u306f\u3069\u3053\u304b\u53e4\u3055\u3092\u611f\u3058\u308b\u5834\u9762\u304c\u591a\u304f\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4e00\u77ac\u767d\u304f\u306a\u308a\u3001\u6b21\u306e\u30da\u30fc\u30b8\u304c\u30d1\u30c3\u3068\u5207\u308a\u66ff\u308f\u308b\u3002<br \/>\n\u3053\u306e\u201c\u30ab\u30af\u30c3\u201d\u3068\u3057\u305f\u6319\u52d5\u306f\u3001Web\u304c\u9577\u5e74\u62b1\u3048\u3066\u304d\u305f\u8ab2\u984c\u306e\u3072\u3068\u3064\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u767b\u5834\u3057\u305f\u306e\u304c<span class=\"sc_marker-animation\">View Transitions API<\/span>\u3067\u3059\u3002<br \/>\n\u3053\u306eAPI\u3092\u4f7f\u3046\u3068\u3001SPA\u306e\u3088\u3046\u306a\u8907\u96d1\u306a\u69cb\u6210\u3092\u7d44\u307e\u306a\u304f\u3066\u3082\u3001\u30d6\u30e9\u30a6\u30b6\u6a19\u6e96\u3067\u300c\u30cc\u30eb\u30c3\u300d\u3068\u3057\u305f\u30a2\u30d7\u30ea\u98a8\u306e\u753b\u9762\u9077\u79fb\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002JavaScript\u3067\u30b4\u30ea\u30b4\u30ea\u5236\u5fa1\u3059\u308b\u5fc5\u8981\u3082\u306a\u304f\u3001\u65e2\u5b58\u306eWeb\u30b5\u30a4\u30c8\u306b\u6bb5\u968e\u7684\u306b\u5c0e\u5165\u3067\u304d\u308b\u306e\u3082\u5927\u304d\u306a\u9b45\u529b\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001View Transitions API\u306e\u57fa\u672c\u7684\u306a\u8003\u3048\u65b9\u304b\u3089\u3001\u5b9f\u52d9\u3067\u3069\u3046\u4f7f\u3048\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u300c\u3069\u3093\u306a\u30b5\u30a4\u30c8\u306b\u5411\u3044\u3066\u3044\u308b\u306e\u304b\u300d\u307e\u3067\u3092\u3001Web\u5236\u4f5c\u8005\u76ee\u7dda\u3067\u6574\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">View Transitions API\u3068\u306f<\/span><\/h2>\n<p>View Transitions API\u306f\u3001<span class=\"sc_marker-animation\">\u30da\u30fc\u30b8\u9077\u79fb\u6642\u306eDOM\u306e\u5909\u5316\u3092\u30d6\u30e9\u30a6\u30b6\u304c\u691c\u77e5\u3057\u3001\u81ea\u52d5\u7684\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u304f\u308c\u308b\u4ed5\u7d44\u307f<\/span>\u3067\u3059\u3002<\/p>\n<p>\u5f93\u6765\u3001\u6ed1\u3089\u304b\u306a\u753b\u9762\u5207\u308a\u66ff\u3048\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u6cd5\u304c\u4e3b\u6d41\u3067\u3057\u305f\u3002<\/p>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>SPA\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff08React\u3001Vue\u306a\u3069\uff09\u3092\u4f7f\u3046<\/li>\n<li>\u30da\u30fc\u30b8\u9077\u79fb\u3092Ajax\u3067\u64ec\u4f3c\u7684\u306b\u518d\u73fe\u3059\u308b<\/li>\n<li>GSAP\u306a\u3069\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u5236\u5fa1\u3059\u308b<\/li>\n<\/ul><\/div>\n<p>View Transitions API\u306f\u3001\u3053\u308c\u3089\u3068\u306f\u767a\u60f3\u304c\u9055\u3044\u307e\u3059\u3002<br \/>\n\u30d6\u30e9\u30a6\u30b6\u81ea\u8eab\u304c\u300c\u9077\u79fb\u524d\u306e\u72b6\u614b\u300d\u3068\u300c\u9077\u79fb\u5f8c\u306e\u72b6\u614b\u300d\u3092\u6bd4\u8f03\u3057\u3001\u305d\u306e\u5dee\u5206\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u88dc\u5b8c\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u4f55\u304c\u3059\u3054\u3044\u306e\u304b<\/span><\/h2>\n<p>View Transitions API\u306e\u9b45\u529b\u306f\u3001\u6b21\u306e3\u70b9\u306b\u96c6\u7d04\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"sc_designlist ol radius solid blue\">\n<ol>\n<li>SPA\u4e0d\u8981\u3067\u4f7f\u3048\u308b<\/li>\n<li>\u30d6\u30e9\u30a6\u30b6\u6a19\u6e96\u306e\u305f\u3081\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u9ad8\u3044<\/li>\n<li>CSS\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5236\u5fa1\u3067\u304d\u308b<\/li>\n<\/ol><\/div>\n<p>\u7279\u306b\u91cd\u8981\u306a\u306e\u304c<span class=\"sc_marker-animation\">\u300cSPA\u4e0d\u8981\u300d<\/span>\u3068\u3044\u3046\u70b9\u3067\u3059\u3002<br \/>\n\u5f93\u6765\u3001\u30ea\u30c3\u30c1\u306a\u753b\u9762\u9077\u79fb\uff1dSPA\u3068\u3044\u3046\u69cb\u56f3\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001View Transitions API\u306f\u9759\u7684\u30b5\u30a4\u30c8\u3084WordPress\u3067\u3082\u5341\u5206\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u57fa\u672c\u7684\u306a\u4ed5\u7d44\u307f<\/span><\/h2>\n<p>View Transitions API\u306f\u3001\u30da\u30fc\u30b8\u9077\u79fb\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u4ee5\u4e0b\u306e\u6d41\u308c\u3092\u81ea\u52d5\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"sc_designlist ol radius solid blue\">\n<ol>\n<li>\u9077\u79fb\u524d\u306eDOM\u3092\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3068\u3057\u3066\u4fdd\u5b58<\/li>\n<li>\u30da\u30fc\u30b8\u9077\u79fb\u3092\u5b9f\u884c<\/li>\n<li>\u9077\u79fb\u5f8c\u306eDOM\u3068\u6bd4\u8f03<\/li>\n<li>\u5dee\u5206\u3092\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u63cf\u753b<\/li>\n<\/ol><\/div>\n<p>\u958b\u767a\u8005\u306f\u300c\u3069\u306e\u8981\u7d20\u3092\u3001\u3069\u3046\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3055\u305b\u305f\u3044\u304b\u300d\u3092CSS\u3067\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u30c7\u30e2\u30a4\u30e1\u30fc\u30b8<\/span><\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"XJKOWdZ\" data-pen-title=\"Untitled\" data-user=\"ekwwawpb-the-styleful\" style=\"height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;\">\n      <span>See the Pen <a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\/pen\/XJKOWdZ\"><br \/>\n  Untitled<\/a> by \u5c0f\u7027\u8ce2 (<a href=\"https:\/\/codepen.io\/ekwwawpb-the-styleful\">@ekwwawpb-the-styleful<\/a>)<br \/>\n  on <a href=\"https:\/\/codepen.io\">CodePen<\/a>.<\/span>\n      <\/p>\n<p>      <script async src=\"https:\/\/public.codepenassets.com\/embed\/index.js\"><\/script><\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u6700\u5c0f\u69cb\u6210\u306e\u5b9f\u88c5\u30a4\u30e1\u30fc\u30b8<\/span><\/h2>\n<p>JavaScript\u5074\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u9077\u79fb\u3092\u30e9\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\"><span class=\"fontbackground\" style=\"background:;\">document.startViewTransition(() =&gt; { location.href = 'next.html'; });<\/span><\/code><\/pre>\n<p>\u3053\u308c\u3060\u3051\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u81ea\u52d5\u7684\u306b\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3\u3092\u9069\u7528\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\n\u7d30\u304b\u306a\u6f14\u51fa\u306fCSS\u5074\u3067\u8abf\u6574\u3057\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">CSS\u3067\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u5236\u5fa1<\/span><\/h2>\n<p>View Transitions API\u3067\u306f\u3001\u7591\u4f3c\u8981\u7d20\u3092\u4f7f\u3063\u3066\u9077\u79fb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\"><span class=\"fontbackground\" style=\"background:;\">::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; }<\/span><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30da\u30fc\u30b8\u5168\u4f53\u306e\u30d5\u30a7\u30fc\u30c9\u3084\u30b9\u30e9\u30a4\u30c9\u306a\u3069\u3092\u81ea\u7531\u306b\u8a2d\u8a08\u3067\u304d\u307e\u3059\u3002<br \/>\n<span class=\"sc_marker-animation\">\u300c\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306fCSS\u3067\u5b8c\u7d50\u3059\u308b\u300d<\/span>\u3068\u3044\u3046\u70b9\u304c\u3001\u5b9f\u52d9\u3067\u306f\u975e\u5e38\u306b\u6271\u3044\u3084\u3059\u3044\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u5b9f\u52d9\u3067\u306e\u4f7f\u3044\u3069\u3053\u308d<\/span><\/h2>\n<p>View Transitions API\u306f\u3001\u7279\u306b\u6b21\u306e\u3088\u3046\u306a\u30b5\u30a4\u30c8\u3067\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>\u30b3\u30fc\u30dd\u30ec\u30fc\u30c8\u30b5\u30a4\u30c8\u306e\u4e0b\u5c64\u30da\u30fc\u30b8\u9077\u79fb<\/li>\n<li>\u30b5\u30fc\u30d3\u30b9\u7d39\u4ecb\u30b5\u30a4\u30c8\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u79fb\u52d5<\/li>\n<li>\u30d6\u30ed\u30b0\u3084\u30e1\u30c7\u30a3\u30a2\u30b5\u30a4\u30c8\u306e\u8a18\u4e8b\u9077\u79fb<\/li>\n<li>WordPress\u30c6\u30fc\u30de\u306eUX\u6539\u5584<\/li>\n<\/ul><\/div>\n<p>\u300cSPA\u3092\u5165\u308c\u308b\u307b\u3069\u3067\u306f\u306a\u3044\u304c\u3001\u4f53\u9a13\u306f\u826f\u304f\u3057\u305f\u3044\u300d<br \/>\n\u305d\u3093\u306a\u30b1\u30fc\u30b9\u306b\u3061\u3087\u3046\u3069\u30cf\u30de\u308b\u6280\u8853\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u6ce8\u610f\u70b9\u3068\u73fe\u72b6<\/span><\/h2>\n<p>\u4fbf\u5229\u306aView Transitions API\u3067\u3059\u304c\u3001\u3044\u304f\u3064\u304b\u6ce8\u610f\u70b9\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"sc_designlist ol radius solid blue\">\n<ol>\n<li>\u5bfe\u5fdc\u30d6\u30e9\u30a6\u30b6\u304c\u307e\u3060\u9650\u5b9a\u7684<\/li>\n<li>\u8907\u96d1\u306aDOM\u5dee\u5206\u3067\u306f\u610f\u56f3\u3057\u306a\u3044\u6319\u52d5\u304c\u51fa\u308b\u5834\u5408\u304c\u3042\u308b<\/li>\n<li>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u914d\u616e\u304c\u5fc5\u8981<\/li>\n<\/ol><\/div>\n<p>\u305d\u306e\u305f\u3081\u3001<span class=\"sc_marker-animation\">\u300c\u5fc5\u9808\u6a5f\u80fd\u300d\u3067\u306f\u306a\u304f\u300c\u4f53\u9a13\u5411\u4e0a\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u300d<\/span>\u3068\u3057\u3066\u5c0e\u5165\u3059\u308b\u306e\u304c\u73fe\u5b9f\u7684\u3067\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\"><span class=\"sc_title\">\u307e\u3068\u3081<\/span><\/h2>\n<p>View Transitions API\u306f\u3001Web\u3068\u30a2\u30d7\u30ea\u306e\u5883\u754c\u3092\u4e00\u6c17\u306b\u7e2e\u3081\u308b\u53ef\u80fd\u6027\u3092\u6301\u3063\u305f\u65b0\u6280\u8853\u3067\u3059\u3002<br \/>\nSPA\u4e0d\u8981\u3001\u30d6\u30e9\u30a6\u30b6\u6a19\u6e96\u3001CSS\u5236\u5fa1\u3068\u3044\u3046\u4e09\u62cd\u5b50\u304c\u63c3\u3044\u3001\u4eca\u5f8c\u306eWeb\u5236\u4f5c\u306e\u9078\u629e\u80a2\u3092\u5927\u304d\u304f\u5e83\u3052\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u30da\u30fc\u30b8\u9077\u79fb\u306e\u300c\u30ab\u30af\u30c3\u300d\u304c\u6c17\u306b\u306a\u3063\u3066\u3044\u305f\u65b9\u306f\u3001\u305c\u3072\u4e00\u5ea6\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\nUX\u6539\u5584\u306e\u5207\u308a\u672d\u3068\u3057\u3066\u3001\u78ba\u5b9f\u306b\u6b66\u5668\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002 Web\u30b5\u30a4\u30c8\u306e\u8868\u793a\u4f53\u9a13\u306f\u3053\u3053\u6570\u5e74\u3067\u5927\u304d\u304f\u9032\u5316\u3057\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u3067\u3082\u300c\u30da\u30fc\u30b8\u9077\u79fb\u300d\u3060\u3051\u306f\u3069\u3053\u304b\u53e4\u3055\u3092\u611f\u3058\u308b\u5834\u9762\u304c\u591a\u304f\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u3002 \u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4e00\u77ac\u767d\u304f\u306a\u308a\u3001\u6b21\u306e\u30da\u30fc\u2026<\/p>\n","protected":false},"author":1,"featured_media":3442,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[9],"class_list":["post-3438","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-css"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/comments?post=3438"}],"version-history":[{"count":3,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3438\/revisions"}],"predecessor-version":[{"id":3441,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3438\/revisions\/3441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media\/3442"}],"wp:attachment":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media?parent=3438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/categories?post=3438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/tags?post=3438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}