{"id":3154,"date":"2025-11-21T03:06:28","date_gmt":"2025-11-21T03:06:28","guid":{"rendered":"https:\/\/satokotadesign.com\/blog\/?p=3154"},"modified":"2025-11-21T03:06:49","modified_gmt":"2025-11-21T03:06:49","slug":"card-shuffle","status":"publish","type":"post","link":"https:\/\/satokotadesign.com\/blog\/card-shuffle\/","title":{"rendered":"CSS\u00d7JavaScript\u3067\u30ab\u30fc\u30c9\u3092\u672c\u683c\u30b7\u30e3\u30c3\u30d5\u30eb\uff01\u672c\u7269\u306e\u52d5\u304d\u3092\u518d\u73fe\u3059\u308bUI\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u4f5c\u308a\u65b9"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002<\/p>\n<p>CSS \u306e <span class=\"fontbackground\" style=\"background:;\">transform <\/span>\u3068 JavaScript \u306e\u30e9\u30f3\u30c0\u30e0\u5024\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001<br \/>\n\u307e\u308b\u3067<span class=\"sc_marker-animation\">\u672c\u7269\u306e\u30ab\u30fc\u30c9\u304c\u30b7\u30e3\u30c3\u30d5\u30eb\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/span>\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u300c\u30ab\u30fc\u30c9\u304c\u6563\u3089\u3070\u308b \u2192 \u6df7\u3056\u308b \u2192 1\u3064\u306b\u623b\u308b\u300d\u3068\u3044\u3046\u6c17\u6301\u3061\u306e\u826f\u3044\u52d5\u4f5c\u3092\u518d\u73fe\u3002<br \/>\n\u30b2\u30fc\u30e0UI\u306f\u3082\u3061\u308d\u3093\u3001\u30ab\u30fc\u30c9\u3092\u4f7f\u3046\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30a2\u30af\u30bb\u30f3\u30c8\u306b\u3082\u6700\u9069\u3067\u3059\u3002<br \/>\n\u30b3\u30d4\u30da\u3067\u52d5\u304b\u305b\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u306a\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"sc_frame_wrap inline blue\">\n<div class=\"sc_frame_title\" >\u5b8c\u6210\u30c7\u30e2\u306e\u52d5\u304d<\/div>\n<div class=\"sc_frame\"        >\n<div class=\"sc_designlist ol radius solid blue\">\n<ol>\n<li>\u30dc\u30bf\u30f3\u3092\u62bc\u3059<\/li>\n<li>\u30ab\u30fc\u30c9\u304c\u5de6\u53f3\u3084\u4e0a\u4e0b\u306b\u30d0\u30e9\u30d0\u30e9\u98db\u3076<\/li>\n<li>\u56de\u8ee2\u3057\u306a\u304c\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u6563\u3089\u3070\u308b<\/li>\n<li>\u6570\u79d2\u5f8c\u306b\u304d\u308c\u3044\u306b\u63c3\u3063\u3066\u623b\u308b<\/li>\n<\/ol>\n<\/div><\/div>\n<\/div>\n<p>transform \u3068 transition \u3060\u3051\u3067\u8efd\u91cf\u52d5\u4f5c<\/p>\n<h2 class=\"sc_heading solid blue\">\n\t\t<span class=\"sc_title\" >\u5b9f\u969b\u306e\u30b3\u30fc\u30c9<\/span><br \/>\n\t<\/h2>\n<p class=\"codepen\" data-height=\"300\" data-default-tab=\"html,result\" data-slug-hash=\"WbwZpMJ\" 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\/WbwZpMJ\"><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\">\n\t\t<span class=\"sc_title\" >\u89e3\u8aac\uff1a\u306a\u305c\u3053\u308c\u3067\u30b7\u30e3\u30c3\u30d5\u30eb\u306b\u898b\u3048\u308b\u306e\u304b\uff1f<\/span><br \/>\n\t<\/h2>\n<h3 class=\"sc_heading bborder b blue\">\n\t\t<span class=\"sc_title\" >transform \u304c\u6ed1\u3089\u304b\u306a\u7406\u7531<\/span><br \/>\n\t<\/h3>\n<p>CSS \u306e transform\uff08translate\u3001rotate\uff09\u306f GPU \u304c\u51e6\u7406\u3059\u308b\u305f\u3081\u3001<br \/>\n\u8907\u6570\u306e\u30ab\u30fc\u30c9\u304c\u540c\u6642\u306b\u52d5\u3044\u3066\u3082\u91cd\u304f\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3 class=\"sc_heading bborder b blue\">\n\t\t<span class=\"sc_title\" >\u30e9\u30f3\u30c0\u30e0\u5024\u306e\u751f\u6210\u304c\u201c\u6df7\u3056\u3063\u3066\u308b\u611f\u201d\u3092\u6f14\u51fa<\/span><br \/>\n\t<\/h3>\n<pre class=\"line-numbers\" ><code class=\"language-js\">(Math.random() - 0.5) * 240<\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u5de6\u53f3\u3078\u6700\u5927 120px \u63fa\u308c\u52d5\u304f\u8a08\u7b97\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\nX\u30fbY\u30fb\u56de\u8ee2\u306e\u65b9\u5411\u3092\u30d0\u30e9\u30d0\u30e9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u81ea\u7136\u306a\u300c\u30b7\u30e3\u30c3\u2026\u300d\u3068\u3044\u3046\u52d5\u4f5c\u306b\u3002<\/p>\n<h3 class=\"sc_heading bborder b blue\">\n\t\t<span class=\"sc_title\" >1\u679a\u306b\u623b\u3059\u3068\u201c\u307e\u3068\u307e\u308a\u201d\u304c\u751f\u307e\u308c\u308b<\/span><br \/>\n\t<\/h3>\n<p>\u98db\u3070\u3057\u305f\u5f8c\u3001<span class=\"fontbackground\" style=\"background:;\">setTimeout<\/span> \u3067\u675f\u306b\u623b\u3059\u3068\u300c\u4e00\u5ea6\u30d0\u30e9\u3051\u3066 \u2192 \u307e\u3068\u307e\u308b\u300d\u3068\u3044\u3046\u898b\u305f\u76ee\u306b\u306a\u308a\u3001\u307e\u3055\u306b\u30ab\u30fc\u30c9\u304c\u6df7\u305c\u3089\u308c\u3066\u3044\u308b\u6f14\u51fa\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\">\n\t\t<span class=\"sc_title\" >\u767a\u5c55\u30a2\u30a4\u30c7\u30a2<\/span><br \/>\n\t<\/h2>\n<div class=\"sc_designlist ul fa_check blue\">\n<ul>\n<li>\u30b7\u30e3\u30c3\u30d5\u30eb\u52d5\u4f5c\u306b delay \u3092\u3064\u3051\u3066\u201c\u6642\u9593\u5dee\u201d\u3092\u6f14\u51fa<\/li>\n<li>\u9014\u4e2d\u3067\u4e2d\u592e\u306b\u5438\u3044\u8fbc\u307e\u308c\u308b\u3088\u3046\u306a\u52d5\u304d\u3092\u5165\u308c\u308b<\/li>\n<li>z-index \u3092\u30d0\u30e9\u30d0\u30e9\u306b\u3057\u3066\u524d\u5f8c\u95a2\u4fc2\u3092\u6df7\u305c\u308b<\/li>\n<li>\u30b7\u30e3\u30c3\u3068\u3044\u3046\u52b9\u679c\u97f3\u3092\u9cf4\u3089\u3059<\/li>\n<li>\u30ab\u30fc\u30c9\u88cf\u9762\u3092\u753b\u50cf\u306b\u5909\u66f4\u3057\u201c\u30c8\u30e9\u30f3\u30d7\u611f\u201d\u3092\u51fa\u3059<\/li>\n<\/ul>\n<\/div>\n<p>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u8868\u73fe\u306f\u6570\u5024\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u7121\u9650\u306b\u30a2\u30ec\u30f3\u30b8\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"sc_heading solid blue\">\n\t\t<span class=\"sc_title\" >\u307e\u3068\u3081<\/span><br \/>\n\t<\/h2>\n<p>\u4eca\u56de\u306e\u30b7\u30e3\u30c3\u30d5\u30eb\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306f\u3001<br \/>\nCSS \u306e transform \u3068 JavaScript \u306e\u4e71\u6570\u3060\u3051\u3067\u7c21\u5358\u306b\u4f5c\u308c\u308b UI \u6f14\u51fa\u3067\u3059\u3002<br \/>\n\u30b2\u30fc\u30e0\u7cfb\u306e\u30b5\u30a4\u30c8\u306f\u3082\u3061\u308d\u3093\u3001\u9078\u629e\u80a2\u3092\u30ab\u30fc\u30c9\u3067\u8868\u73fe\u3059\u308b UI \u306b\u3082\u5fdc\u7528\u3067\u304d\u3001<br \/>\n\u4f7f\u3044\u3069\u3053\u308d\u306e\u591a\u3044\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3001\u305c\u3072\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<p>&nbsp;<\/p>\n<h2 class=\"sc_heading solid red\"><span class=\"sc_title\">satokotadesign\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u5b9f\u65bd\u4e2d\uff01<\/span><\/h2>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/hamameshi.jp\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/satokotadesign.com\/img\/bnr-hamameshi.webp\" alt=\"\u6d5c\u677e\u5e02\u306e\u98f2\u98df\u5e97\u9650\u5b9a\uff5c\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u7121\u6599\u4f5c\u6210\u30b5\u30fc\u30d3\u30b9\" style=\"border: 3px solid #00a08c;border-radius: 20px;\"><\/a><\/div>\n<div class=\"campaign_bnr\" style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-onayami.png\" alt=\"\u3076\u3063\u3061\u3083\u3051\u7121\u6599\u76f8\u8ac7\u4f1a\uff01\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306e\u60a9\u307f\u8a71\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f\" style=\"border: 3px solid #f02025;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<div class=\"campaign_bnr\"  style=\"margin:0 5%;\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/img\/bnr-kansyasai.png\" alt=\"satokotadesign4\u5468\u5e74\u8a18\u5ff5\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\" style=\"border: 3px solid #4183fe;border-radius: 20px;\" class=\"lazyload\" \/><\/a><\/div>\n<p><figure id=\"attachment_475\" aria-describedby=\"caption-attachment-475\" style=\"width: 1500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/satokotadesign.com\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg\" alt=\"\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign\" width=\"1500\" height=\"500\" class=\"size-full wp-image-475 lazyload\" data-srcset=\"https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr.jpg 1500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-500x167.jpg 500w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-1024x341.jpg 1024w, https:\/\/satokotadesign.com\/blog\/wp-content\/uploads\/2022\/10\/bnr-768x256.jpg 768w\" data-sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><figcaption id=\"caption-attachment-475\" class=\"wp-caption-text\"><a href=\"https:\/\/satokotadesign.com\/contact\/\" target=\"_blank\" rel=\"noopener\">\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u5236\u4f5c\u306a\u3089satokotadesign<\/a><\/figcaption><\/figure><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u9759\u5ca1\u770c\u6d5c\u677e\u5e02\u3067WEB\u30c7\u30b6\u30a4\u30ca\u30fc\u3092\u3057\u3066\u3044\u307e\u3059\u5c0f\u7027\u3067\u3059\u3002 CSS \u306e \u3068 JavaScript \u306e\u30e9\u30f3\u30c0\u30e0\u5024\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001 \u307e\u308b\u3067\u672c\u7269\u306e\u30ab\u30fc\u30c9\u304c\u30b7\u30e3\u30c3\u30d5\u30eb\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001\u30af\u30ea\u30c3\u30af\u2026<\/p>\n","protected":false},"author":1,"featured_media":3155,"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":[8],"class_list":["post-3154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-javascript"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3154","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=3154"}],"version-history":[{"count":2,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3154\/revisions"}],"predecessor-version":[{"id":3157,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/posts\/3154\/revisions\/3157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media\/3155"}],"wp:attachment":[{"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/media?parent=3154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/categories?post=3154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/satokotadesign.com\/blog\/wp-json\/wp\/v2\/tags?post=3154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}