{"id":113,"date":"2014-02-15T15:05:25","date_gmt":"2014-02-15T06:05:25","guid":{"rendered":"http:\/\/css.programming.jp\/?p=113"},"modified":"2015-02-27T17:35:25","modified_gmt":"2015-02-27T08:35:25","slug":"%e3%82%b9%e3%83%a9%e3%82%a4%e3%83%89%e3%82%a4%e3%83%b3%e3%83%bb%e3%82%a2%e3%82%a6%e3%83%88%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=113","title":{"rendered":"\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc"},"content":{"rendered":"<p>css \u306e animation \u3092\u4f7f\u3063\u305f\u3001\u5199\u771f\u304c\u53f3\u304b\u3089\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u3057\u3001\u5de6\u306b\u30b9\u30e9\u30a4\u30c9\u30a2\u30a6\u30c8\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<p><!-- HTML \u3053\u3053\u304b\u3089 --><\/p>\n<div id=\"stage\">\n<div id=\"frame\">\n<div id=\"photo1\"><img decoding=\"async\" src=\"wp-images\/1.jpg\"><\/div>\n<div id=\"photo2\"><img decoding=\"async\" src=\"wp-images\/2.jpg\"><\/div>\n<div id=\"photo3\"><img decoding=\"async\" src=\"wp-images\/3.jpg\"><\/div>\n<div id=\"photo4\"><img decoding=\"async\" src=\"wp-images\/4.jpg\"><\/div>\n<div id=\"photo5\"><img decoding=\"async\" src=\"wp-images\/5.jpg\"><\/div>\n<\/p><\/div>\n<\/div>\n<p><!-- CSS \u3053\u3053\u304b\u3089 --><\/p>\n<style type=\"text\/css\">\n#stage {\n\tposition: relative;\n\twidth: 600px;\n\theight:338;\n\tmargin: 0 auto;\n}\n#photo1,#photo2,#photo3,#photo4,#photo5 {\n\tposition: absolute;\n\tfloat: left;\n\twidth: 600px;\n\theight: 338px;\n\tleft:600px;\n\t-moz-animation: imgtrans 30s infinite;\n\t-webkit-animation: imgtrans 30s infinite;\n\tanimation: imgtrans 30s infinite;\n}\n#photo1 {\n\t-moz-animation-delay: 0s;\n\t-webkit-animation-delay: 0s;\n\tanimation-delay: 0s;\n}\n#photo2 {\n\t-moz-animation-delay: 6s;\n\t-webkit-animation-delay: 6s;\n\tanimation-delay: 6s;\n}\n#photo3 {\n\t-moz-animation-delay: 12s;\n\t-webkit-animation-delay: 12s;\n\tanimation-delay: 12s;\n}\n#photo4 {\n\t-moz-animation-delay: 18s;\n\t-webkit-animation-delay: 18s;\n\tanimation-delay: 18s;\n}\n#photo5 {\n\t-moz-animation-delay: 24s;\n\t-webkit-animation-delay: 24s;\n\tanimation-delay: 24s;\n}\n#frame {\n\twidth: 600px;\n\theight: 338px;\n\tposition: relative;\n\toverflow: hidden;\n}\n@-webkit-keyframes imgtrans {\n 0% { left:100%; }\n 5% { left:0%; }\n 20% { left:0%; }\n 25% { left:-100%; }\n 100% { left:-100%; }\n}\n@-moz-keyframes imgtrans {\n 0% { left:100%; }\n 5% { left:0%; }\n 20% { left:0%; }\n 25% { left:-100%; }\n 100% { left:-100%; }\n}\n@keyframes imgtrans {\n 0% { left:100%; }\n 5% { left:0%; }\n 20% { left:0%; }\n 25% { left:-100%; }\n 100% { left:-100%; }\n}\n<\/style>\n<p><!-- HTML,CSS \u3053\u3053\u307e\u3067 --><\/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    &lt;div id=&quot;frame&quot;&gt;\r\n      &lt;div id=&quot;photo1&quot;&gt;&lt;img src=&quot;wp-images\/1.jpg&quot;&gt;&lt;\/div&gt;\r\n      &lt;div id=&quot;photo2&quot;&gt;&lt;img src=&quot;wp-images\/2.jpg&quot;&gt;&lt;\/div&gt;\r\n      &lt;div id=&quot;photo3&quot;&gt;&lt;img src=&quot;wp-images\/3.jpg&quot;&gt;&lt;\/div&gt;\r\n      &lt;div id=&quot;photo4&quot;&gt;&lt;img src=&quot;wp-images\/4.jpg&quot;&gt;&lt;\/div&gt;\r\n      &lt;div id=&quot;photo5&quot;&gt;&lt;img src=&quot;wp-images\/5.jpg&quot;&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h4>HTML\u306e\u6982\u8981\u8aac\u660e<\/h4>\n<p>\u30fb\u8868\u793a\u7528\u5199\u771f\uff08\u30b9\u30e9\u30a4\u30c9\uff09\u3092\u5168\u3066#frame\u5185\u306b\u8868\u793a\u3059\u308b\u3002<br \/>\n\u3000\uff08css\u3067\u5168\u3066\u306e\u5199\u771f\u3092\u3001\u521d\u671f\u306b\u304a\u3044\u3066\u306f\u753b\u9762\u306e\u53f3\u5074\u306b\u91cd\u306d\u3066\u914d\u7f6e\u3059\u308b\uff09<\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528CSS<\/h4>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n#stage {\r\n\tposition: relative;\r\n\twidth: 600px;\r\n\theight:338;\r\n\tmargin: 0 auto;\r\n}\r\n#photo1,#photo2,#photo3,#photo4,#photo5 {\r\n\tposition: absolute;\r\n\tfloat: left;\r\n\twidth: 600px;\r\n\theight: 338px;\r\n\tleft:600px;\r\n\t-moz-animation: imgtrans 30s infinite;\r\n\t-webkit-animation: imgtrans 30s infinite;\r\n\tanimation: imgtrans 30s infinite;\r\n}\r\n#photo1 {\r\n\t-moz-animation-delay: 0s;\r\n\t-webkit-animation-delay: 0s;\r\n\tanimation-delay: 0s;\r\n}\r\n#photo2 {\r\n\t-moz-animation-delay: 6s;\r\n\t-webkit-animation-delay: 6s;\r\n\tanimation-delay: 6s;\r\n}\r\n#photo3 {\r\n\t-moz-animation-delay: 12s;\r\n\t-webkit-animation-delay: 12s;\r\n\tanimation-delay: 12s;\r\n}\r\n#photo4 {\r\n\t-moz-animation-delay: 18s;\r\n\t-webkit-animation-delay: 18s;\r\n\tanimation-delay: 18s;\r\n}\r\n#photo5 {\r\n\t-moz-animation-delay: 24s;\r\n\t-webkit-animation-delay: 24s;\r\n\tanimation-delay: 24s;\r\n}\r\n#frame {\r\n\twidth: 600px;\r\n\theight: 338px;\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n}\r\n@-webkit-keyframes imgtrans {\r\n 0% { left:100%; }\r\n 5% { left:0%; }\r\n 20% { left:0%; }\r\n 25% { left:-100%; }\r\n 100% { left:-100%; }\r\n}\r\n@-moz-keyframes imgtrans {\r\n 0% { left:100%; }\r\n 5% { left:0%; }\r\n 20% { left:0%; }\r\n 25% { left:-100%; }\r\n 100% { left:-100%; }\r\n}\r\n@keyframes imgtrans {\r\n 0% { left:100%; }\r\n 5% { left:0%; }\r\n 20% { left:0%; }\r\n 25% { left:-100%; }\r\n 100% { left:-100%; }\r\n}\r\n<\/pre>\n<h4>CSS\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p>\u30fb\u524d\u7a3f\u306e\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30a2\u30a6\u30c8\u578b\u3068\u9055\u3063\u3066\u3001\u914d\u7f6e\u3001animation\u306e\u8a2d\u5b9a\u3092\u5168\u3066\u3001\u5199\u771f\uff08img\uff09\u3092\u683c\u7d0d\u3059\u308bdiv\uff08photo1,,,photo5\uff09\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002\u3053\u3046\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3068\u3044\u3046\u8a33\u3067\u306f\u306a\u304f\u3001\u3069\u3061\u3089\u3067\u3082\u540c\u3058\u7d50\u679c\u306b\u306a\u308b\u3002<br \/>\n\u30fbanimation\u306f\u3001\u30c8\u30fc\u30bf\u30eb30\u79d2\u3001\u7e70\u308a\u8fd4\u3057\u3092\u8a2d\u5b9a\u3002<br \/>\n\u30fb\u5404\u5199\u771f\u306f\u3001animation\u958b\u59cb\u6642\uff080%\uff09\u3067\u306f\u753b\u9762\u306e\u53f3\u5074\u306b\u4f4d\u7f6e\u3057\u3066\u3044\u3066\u30011.5\u79d2\uff085\uff05\uff09\u304b\u3051\u3066\u753b\u9762\u4e2d\u592e\u306b\u8868\u793a\u3055\u308c\u308b\u3002\u305d\u306e\u307e\u307e20%\u307e\u3067\u8868\u793a\u3055\u308c\u3001\u6b21\u3044\u30671.5\u79d2\u3067\u753b\u9762\u5de6\u306b\u79fb\u52d5\u3059\u308b\u3002<br \/>\n\uff08\u5404\u5199\u771f\u306f\u9806\u6b216\u79d2\u3054\u3068\u306banimate\u3059\u308b\u306e\u3067\u3001\u4ee3\u308f\u308a\u306b\u3001\u6b21\u306e\u30b9\u30e9\u30a4\u30c9\u304c\u53f3\u304b\u3089\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u3059\u308b\uff09<\/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>css \u306e animation \u3092\u4f7f\u3063\u305f\u3001\u5199\u771f\u304c\u53f3\u304b\u3089\u30b9\u30e9\u30a4\u30c9\u30a4\u30f3\u3057\u3001\u5de6\u306b\u30b9\u30e9\u30a4\u30c9\u30a2\u30a6\u30c8\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;&#038;g &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=113\">\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-113","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/113","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=113"}],"version-history":[{"count":18,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}