{"id":105,"date":"2014-02-15T14:35:05","date_gmt":"2014-02-15T05:35:05","guid":{"rendered":"http:\/\/css.programming.jp\/?p=105"},"modified":"2015-02-27T17:36:06","modified_gmt":"2015-02-27T08:36:06","slug":"%e3%83%95%e3%82%a7%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=105","title":{"rendered":"\u30d5\u30a7\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\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u3001\u30d5\u30a7\u30a4\u30c9\u30a2\u30a6\u30c8\u3067\u5199\u771f\u3092\u5207\u308a\u66ff\u3048\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\u3000\u3000<\/p>\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\twidth: 600px;\n\theight: 338px;\n}\n#photo1 img,#photo2 img,#photo3 img,#photo4 img,#photo5 img {\n\topacity:0;\n\t-moz-animation: imgTrans 30s infinite;\n\t-webkit-animation: imgTrans 30s infinite;\n\tanimation: imgTrans 30s infinite;\n}\n#photo1 img {\n\t-moz-animation-delay: 0s;\n\t-webkit-animation-delay: 0s;\n\tanimation-delay: 0s;\n}\n#photo2 img {\n\t-moz-animation-delay: 6s;\n\t-webkit-animation-delay: 6s;\n\tanimation-delay: 6s;\n}\n#photo3 img {\n\t-moz-animation-delay: 12s;\n\t-webkit-animation-delay: 12s;\n\tanimation-delay: 12s;\n}\n#photo4 img{\n\t-moz-animation-delay: 18s;\n\t-webkit-animation-delay: 18s;\n\tanimation-delay: 18s;\n}\n#photo5 img {\n\t-moz-animation-delay: 24s;\n\t-webkit-animation-delay: 24s;\n\tanimation-delay: 24s;\n}#frame {\n\twidth: 600px;\n\theight: 338px;\n\tposition: relative;\n\toverflow: hidden;\n}\n@-webkit-keyframes imgTrans {\n 0% { opacity:0; }\n 5% { opacity:1; }\n 20% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\n}\n@-moz-keyframes imgTrans {\n 0% { opacity:0; }\n 5% { opacity:1; }\n 20% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\n}\n@keyframes imgTrans {\n 0% { opacity:0; }\n 5% { opacity:1; }\n 20% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\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\u3000\u3000&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\u6982\u8981\u8aac\u660e<\/h4>\n<p>\u30fb\u8868\u793a\u7528\u5199\u771f\u3092#frame\u5185\u306b\u3059\u3079\u3066\u8868\u793a\u3055\u305b\u308b\u3002<br \/>\n\u3000\uff08css\u3067\u5168\u3066\u753b\u9762\u4e2d\u592e\u306b\u91cd\u306d\u3066\u8868\u793a\u3055\u305b\u3001\u521d\u671f\u306f\u5168\u3066\u975e\u8868\u793a\u306b\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\twidth: 600px;\r\n\theight: 338px;\r\n}\r\n#photo1 img,#photo2 img,#photo3 img,#photo4 img,#photo5 img {\r\n\topacity:0;\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 img {\r\n\t-moz-animation-delay: 0s;\r\n\t-webkit-animation-delay: 0s;\r\n\tanimation-delay: 0s;\r\n}\r\n#photo2 img {\r\n\t-moz-animation-delay: 6s;\r\n\t-webkit-animation-delay: 6s;\r\n\tanimation-delay: 6s;\r\n}\r\n#photo3 img {\r\n\t-moz-animation-delay: 12s;\r\n\t-webkit-animation-delay: 12s;\r\n\tanimation-delay: 12s;\r\n}\r\n#photo4 img{\r\n\t-moz-animation-delay: 18s;\r\n\t-webkit-animation-delay: 18s;\r\n\tanimation-delay: 18s;\r\n}\r\n#photo5 img {\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% { opacity:0; }\r\n 5% { opacity:1; }\r\n 20% { opacity:1; }\r\n 25% { opacity:0; } \r\n 100% { opacity:0; }\r\n}\r\n@-moz-keyframes imgTrans {\r\n 0% { opacity:0; }\r\n 5% { opacity:1; }\r\n 20% { opacity:1; }\r\n 25% { opacity:0; } \r\n 100% { opacity:0; }\r\n}\r\n@keyframes imgTrans {\r\n 0% { opacity:0; }\r\n 5% { opacity:1; }\r\n 20% { opacity:1; }\r\n 25% { opacity:0; } \r\n 100% { opacity:0; }\r\n}\r\n<\/pre>\n<h4>CSS\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p>\u30fb#stage,#frame,img \u306f\u5168\u3066\u540c\u3058\u30b5\u30a4\u30ba\uff08\u5199\u771f\u30b5\u30a4\u30ba\uff09\u306b\u8a2d\u5b9a\u3002<br \/>\n\u30fb\u5199\u771f\uff08img\uff09\u306e\u975e\u900f\u660e\u5ea6\u306e\u521d\u671f\u5024\u3092\uff10\uff08\u975e\u8868\u793a\uff09\u306b\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\n\u30fb\u5199\u771f\uff08img\uff09\u306b\u30c8\u30fc\u30bf\u30eb30\u79d2\u3001\u7e70\u308a\u8fd4\u3057\u306e animation \u3092\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\n\u30fbanimation\u306f\u3001\u6700\u521d\u306e5%(1.5\u79d2)\u3067\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\uff08opacity0->1\uff09\u3001\u305d\u306e\u307e\u307e20%\u307e\u3067\u8868\u793a\u3057\u3001\u6b21\u306e1.5\u79d2\u3067\u30d5\u30a7\u30a4\u30c9\u30a2\u30a6\u30c8\uff08opacity1->0\uff09\u3057\u3001\u305d\u306e\u307e\u307e100%\u307e\u3067\u6642\u9593\u5f85\u3061\u3068\u3059\u308b\u3002<br \/>\n\u30fb\u5404\u5199\u771f\uff08\u30b9\u30e9\u30a4\u30c9\uff09\u306eanimation\u9593\u9694\u30926\u79d2\u305a\u3064\u305a\u3089\u3057\u3066\u53d6\u308a\u3001\u5199\u771f\u304c\u9806\u6b21\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\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>css \u306e animation \u3092\u4f7f\u3063\u305f\u3001\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u3001\u30d5\u30a7\u30a4\u30c9\u30a2\u30a6\u30c8\u3067\u5199\u771f\u3092\u5207\u308a\u66ff\u3048\u308b\u30bf\u30a4\u30d7\u306e\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3067\u3042\u308b\u3002 \u30b5\u30f3\u30d7\u30eb \u3000\u3000 \u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML &lt;div id=&quot;stage&quot;&#038; &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=105\">\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-105","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/105","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=105"}],"version-history":[{"count":12,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":820,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions\/820"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}