{"id":518,"date":"2014-04-29T12:07:05","date_gmt":"2014-04-29T03:07:05","guid":{"rendered":"http:\/\/css.programming.jp\/?p=518"},"modified":"2015-02-27T17:23:15","modified_gmt":"2015-02-27T08:23:15","slug":"%e5%a4%89%e5%bd%a2%e9%80%80%e5%a0%b4%e5%9e%8b%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%b7%e3%83%a7%e3%83%bc","status":"publish","type":"post","link":"https:\/\/css.programming.jp\/?p=518","title":{"rendered":"\u5909\u5f62\u9000\u5834\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc"},"content":{"rendered":"<p>\u8868\u793a\u753b\u50cf\u304c\u3001skew\u3001rotate\u3001scale\u3067\u5909\u5f62\u3057\u305f\u5f8c\u3001stage\uff08\u8868\u793a\u67a0\uff09\u5916\u306b\u79fb\u52d5\u9000\u5834\u3059\u308b\u30bf\u30a4\u30d7\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3067\u3042\u308b\u3002<\/p>\n<h4>\u30b5\u30f3\u30d7\u30eb<\/h4>\n<div id=\"stage\">\n<div id=\"p1\" class=\"tr\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-images\/1.jpg\" width=\"600\" height=\"338\"><\/div>\n<div id=\"p2\" class=\"tr\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-images\/2.jpg\" width=\"600\" height=\"338\"><\/div>\n<div id=\"p3\" class=\"tr\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-images\/3.jpg\" width=\"600\" height=\"338\"><\/div>\n<div id=\"p4\" class=\"tr\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-images\/4.jpg\" width=\"600\" height=\"338\"><\/div>\n<div id=\"p5\" class=\"tr\"><img loading=\"lazy\" decoding=\"async\" src=\"wp-images\/5.jpg\" width=\"600\" height=\"338\"><\/div>\n<\/div>\n<style type=\"text\/css\">\n\/* \u8868\u793a\u67a0 *\/\n#stage {\n    width: 580px !important;\n    height: 325px !important;\n    position: relative;\n    overflow: hidden;\n}\n\/* \u753b\u50cf\u67a0\u306e\u521d\u671f\u4f4d\u7f6e *\/\n.tr {\n\tposition:absolute;\n\ttop:0;\n\tleft:0;\nz-index:-1;\n}\n\/* \u753b\u50cf\u67a0\u7dda\u8a2d\u5b9a\u3068\u4f4d\u7f6e\u8abf\u6574 *\/\n.tr img { \n\tborder:#3FF 5px solid;\n\tmargin:-5px 0 0 -5px !important;\n}\n\/* \u5404\u753b\u50cf\u306eanimation\u8a2d\u5b9a *\/\n#p1 {\n\t-webkit-animation: imgTrans 25s -5s infinite;\n\t-moz-animation: imgTrans 25s ease -5s infinite;\n\tanimation: imgTrans 25s -5s infinite;\n}\n#p2 {\n\t-webkit-animation: imgTrans 25s 0s infinite;\n\t-moz-animation: imgTrans 25s ease 0s infinite;\n\tanimation: imgTrans 25s 0s infinite;\n}\n#p3 {\n\t-webkit-animation: imgTrans 25s 5s infinite;\n\t-moz-animation: imgTrans 25s ease 5s infinite;\n\tanimation: imgTrans 25s 5s infinite;\n}\n#p4 {\n\t-webkit-animation: imgTrans 25s 10s infinite;\n\t-moz-animation: imgTrans 25s ease 10s infinite;\n\tanimation: imgTrans 25s 10s infinite;\n}\n#p5 {\n\t-webkit-animation: imgTrans 25s 15s infinite;\n\t-moz-animation: imgTrans 25s ease 15s infinite;\n\tanimation: imgTrans 25s 15s infinite;\n}\n\/* animation *\/\n@-webkit-keyframes imgTrans {\n\t35% { -webkit-transform:none; left:0; top:0; }\n\t37.5% { -webkit-transform:skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg);}\n\t40% { -webkit-transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10;}\n\t100% { -webkit-transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10; }\n}\n@-moz-keyframes imgTrans {\n\t35% { -moz-transform:none; left:0; top:0; }\n\t37.5% { -moz-transform:skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg);}\n\t40% { -moz-transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10;}\n\t100% { z-index:-1;}\n}\n@keyframes imgTrans {\n\t35% { transform:none; left:0; top:0; }\n\t37.5% { transform:skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg);}\n\t40% { transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10;}\n\t100% { z-index:-1;}\n}\n<\/style>\n<p><\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div id=&quot;stage&quot;&gt;\r\n\t&lt;div id=&quot;p1&quot; class=&quot;tr&quot;&gt;&lt;img src=&quot;img\/1.jpg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;&lt;\/div&gt;\r\n\t&lt;div id=&quot;p2&quot; class=&quot;tr&quot;&gt;&lt;img src=&quot;img\/2.jpg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;&lt;\/div&gt;\r\n\t&lt;div id=&quot;p3&quot; class=&quot;tr&quot;&gt;&lt;img src=&quot;img\/3.jpg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;&lt;\/div&gt;\r\n\t&lt;div id=&quot;p4&quot; class=&quot;tr&quot;&gt;&lt;img src=&quot;img\/4.jpg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;&lt;\/div&gt;\r\n\t&lt;div id=&quot;p5&quot; class=&quot;tr&quot;&gt;&lt;img src=&quot;img\/5.jpg&quot; width=&quot;600&quot; height=&quot;338&quot;&gt;&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p><\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528CSS<\/h4>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n\/* \u8868\u793a\u67a0 *\/\r\n#stage {\r\n    width: 600px;\r\n    height: 338px;\r\n    position: relative;\r\n    overflow: hidden;\r\n}\r\n\/* \u753b\u50cf\u67a0\u306e\u521d\u671f\u4f4d\u7f6e *\/\r\n.tr {\r\n\tposition:absolute;\r\n\ttop:0;\r\n\tleft:0;\r\n        z-index:-1;\r\n}\r\n\/* \u753b\u50cf\u67a0\u7dda\u8a2d\u5b9a\u3068\u4f4d\u7f6e\u8abf\u6574 *\/\r\n.tr img { \r\n\tborder:#3FF 5px solid;\r\n\tmargin:-5px 0 0 -5px;\r\n}\r\n\/* \u5404\u753b\u50cf\u306eanimation\u8a2d\u5b9a *\/\r\n#p1 {\r\n\t-webkit-animation: imgTrans 25s -5s infinite;\r\n\tanimation: imgTrans 25s -5s infinite;\r\n}\r\n#p2 {\r\n\t-webkit-animation: imgTrans 25s 0s infinite;\r\n\tanimation: imgTrans 25s 0s infinite;\r\n}\r\n#p3 {\r\n\t-webkit-animation: imgTrans 25s 5s infinite;\r\n\tanimation: imgTrans 25s 5s infinite;\r\n}\r\n#p4 {\r\n\t-webkit-animation: imgTrans 25s 10s infinite;\r\n\tanimation: imgTrans 25s 10s infinite;\r\n}\r\n#p5 {\r\n\t-webkit-animation: imgTrans 25s 15s infinite;\r\n\tanimation: imgTrans 25s 15s infinite;\r\n}\r\n\/* animation *\/\r\n@-webkit-keyframes imgTrans {\r\n\t35% { -webkit-transform:none; left:0; top:0; }\r\n\t37.5% { -webkit-transform:skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg);}\r\n\t40% { -webkit-transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10;}\r\n\t100% { z-index:-1;}\r\n}\r\n@keyframes imgTrans {\r\n\t35% { transform:none; left:0; top:0; }\r\n\t37.5% { transform:skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg);}\r\n\t40% { transform: skewX(30deg) scaleX(0.8) scaleY(0.4) rotate(-15deg) translate(600px,-600px); z-index:10;}\r\n\t100% { z-index:-1;}\r\n}\r\n<\/pre>\n<p><\/p>\n<h4>CSS\u306e\u30b9\u30dd\u30c3\u30c8\u89e3\u8aac<\/h4>\n<p>\u30fb\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u30b9\u30e9\u30a4\u30c9\u304c5\u679a\u306a\u306e\u3067\u30015\u79d2\u6bce\u306e\u5207\u66ff\u3048\u306f\u30c8\u30fc\u30bf\u30ebanimation\u6642\u9593\uff0825\u79d2\uff09\u306e20%\u3068\u306a\u308b\u3002\u305d\u306e\u3046\u306115%\u306f\u8868\u793a\u3001\u3042\u3068\u306e5%\u3067\u5909\u5f62\u30fb\u9000\u5834\u3068\u306a\u308b\u3002<br \/>\n\u30fbanimation\u306e\u6700\u521d\u306e20%\u306f\u5f85\u6a5f\u72b6\u614b\u3002<br \/>\n\u30fb20-35% \u3067\u8868\u793a\u72b6\u614b\u306b\u3057\u3001\u5f15\u304d\u7d9a\u304d\u300135-37.5% \u3067\u5909\u5f62\u300137.5-40% \u3067\u30b9\u30c6\u30fc\u30b8\u5916\u3078\u9000\u5834\u3055\u305b\u308b\u3002<br \/>\n\u30fb\u5404\u753b\u50cf\u309220%\uff085\u79d2\uff09\u9593\u9694\u3067animation\u3055\u305b\u308b\u3002<\/p>\n<div class=\"ninja_onebutton\">\n<script type=\"text\/javascript\">\n\/\/<![CDATA[\n(function(d){\nif(typeof(window.NINJA_CO_JP_ONETAG_BUTTON_63425606c23ff308dc3d676e4f432981)=='undefined'){\n    document.write(\"<sc\"+\"ript type='text\\\/javascript' src='http:\\\/\\\/omt.shinobi.jp\\\/b\\\/63425606c23ff308dc3d676e4f432981'><\\\/sc\"+\"ript>\");\n}else{\n    window.NINJA_CO_JP_ONETAG_BUTTON_63425606c23ff308dc3d676e4f432981.ONETAGButton_Load();}\n})(document);\n\/\/]]>\n<\/script><span class=\"ninja_onebutton_hidden\" style=\"display:none;\"><?php the_permalink(); ?><\/span><span style=\"display:none;\" class=\"ninja_onebutton_hidden\"><?php the_title(); ?><\/span>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8868\u793a\u753b\u50cf\u304c\u3001skew\u3001rotate\u3001scale\u3067\u5909\u5f62\u3057\u305f\u5f8c\u3001stage\uff08\u8868\u793a\u67a0\uff09\u5916\u306b\u79fb\u52d5\u9000\u5834\u3059\u308b\u30bf\u30a4\u30d7\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3067\u3042\u308b\u3002 \u30b5\u30f3\u30d7\u30eb \u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML &lt;div id=&quot;stage&quot; &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=518\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-518","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=518"}],"version-history":[{"count":29,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions\/803"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}