{"id":581,"date":"2014-07-26T14:09:39","date_gmt":"2014-07-26T05:09:39","guid":{"rendered":"http:\/\/css.programming.jp\/?p=581"},"modified":"2015-02-27T17:15:35","modified_gmt":"2015-02-27T08:15:35","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%ef%bc%88%e3%83%86%e3%83%ad%e3%83%83","status":"publish","type":"post","link":"https:\/\/css.programming.jp\/?p=581","title":{"rendered":"\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\uff08\u30c6\u30ed\u30c3\u30d7\u5165\u308a\uff09"},"content":{"rendered":"<p>\u5148\u306b\u8a18\u8ff0\u3057\u305f<a href=\"http:\/\/css.programming.jp\/?p=105\">\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc<\/a>\u3067\u3001\u5404\u30b9\u30e9\u30a4\u30c9\u3054\u3068\u306b\u3001\u6d41\u308c\u308b\u8aac\u660e\u6587\uff08\u30c6\u30ed\u30c3\u30d7\uff09\u3092\u633f\u5165\u3057\u305f\u3082\u306e\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\" class=\"pic\"><img decoding=\"async\" src=\"wp-images\/1.jpg\"><span>\u671d\u713c\u3051\u306e\u91dd\u30ce\u6728\u5cb3<\/span><\/div>\n<div id=\"photo2\" class=\"pic\"><img decoding=\"async\" src=\"wp-images\/2.jpg\"><span>\u91dd\u30ce\u6728\u5cb3\u3001\u30b9\u30d0\u30ea\u5cb3\u3092\u80cc\u306b\u5ca9\u5c0f\u5c4b\u6ca2\u5cb3\u3078\u306e\u767b\u308a<\/span><\/div>\n<div id=\"photo3\" class=\"pic\"><img decoding=\"async\" src=\"wp-images\/3.jpg\"><span>\u5263\u5cb3\u3092\u771f\u8fd1\u306b\u671b\u3080<\/span><\/div>\n<div id=\"photo4\" class=\"pic\"><img decoding=\"async\" src=\"wp-images\/4.jpg\"><span>\u9e7f\u5cf6\u69cd\u30f6\u5cb3\u3001\u5f8c\u7acb\u5c71\u9023\u5cf0<\/span><\/div>\n<div id=\"photo5\" class=\"pic\"><img decoding=\"async\" src=\"wp-images\/5.jpg\"><span>\u5ca9\u5c0f\u5c4b\u6ca2\u3001\u9cf4\u6ca2\u5cb3\u3092\u80cc\u306b\u5cb3\u723a\u30f6\u5cb3\u3078\u306e\u767b\u308a<\/span><\/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\tbackground:#ddd;\n}\n.pic {\n\tposition: absolute;\n\twidth: 600px;\n\theight: 338px;\n}\n.pic img {\n\topacity:0;\n\t-moz-animation: imgTrans 40s infinite;\n\t-webkit-animation: imgTrans 40s ease-in infinite;\n\tanimation: imgTrans 40s infinite;\n}\n.pic span {\n\tcolor:#fffffc;\n\tposition:absolute;\n\ttop:300px;left:650px;\n\tdisplay:block;\n\tfont-size:22px;\n\tfont-weight:bold;\n\twidth:500px;\n\t-webkit-animation: telop 40s linear infinite;\n\tanimation: telop 40s linear infinite;\n}\n#photo1 img, #photo1 span {\n\t-moz-animation-delay: 0s;\n\t-webkit-animation-delay: 0s;\n\tanimation-delay: 0s;\n}\n#photo2 img, #photo2 span {\n\t-moz-animation-delay: 8s;\n\t-webkit-animation-delay: 8s;\n\tanimation-delay: 8s;\n}\n#photo3 img, #photo3 span {\n\t-moz-animation-delay: 16s;\n\t-webkit-animation-delay: 16s;\n\tanimation-delay: 16s;\n}\n#photo4 img, #photo4 span{\n\t-moz-animation-delay: 24s;\n\t-webkit-animation-delay: 24s;\n\tanimation-delay: 24s;\n}\n#photo5 img, #photo5 span {\n\t-moz-animation-delay: 32s;\n\t-webkit-animation-delay: 32s;\n\tanimation-delay: 32s;\n}\n#frame {\n\twidth: 600px;\n\theight: 338px;\n\tposition: relative;\n\toverflow: hidden;\n}\n@-webkit-keyframes imgTrans {\n 0% { opacity:0; }\n 7% { opacity:1; }\n 18% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\n}\n@-moz-keyframes imgTrans {\n 0% { opacity:0; }\n 7% { opacity:1; }\n 18% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\n}<\/p>\n<p>@keyframes imgTrans {\n 0% { opacity:0; }\n 7% { opacity:1; }\n 18% { opacity:1; }\n 25% { opacity:0; } \n 100% { opacity:0; }\n}\n@-webkit-keyframes telop {\n 0% { left:650px; opacity:1;}\n 18% { left: -100px; opacity:1;}\n 25% { left: -300px; opacity:0;}\n 100% { left: -300px; opacity:0;}\n}\n@keyframes telop {\n 0% { left:650px; opacity:1;}\n 18% { left: -100px; opacity:1;}\n 25% { left: -300px; opacity:0;}\n 100% { left: -300px; opacity:0;}\n}\n<\/style>\n<p><\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528HTML<\/h4>\n<pre>\r\n&lt;div id=\"stage\"&gt;\r\n\t&lt;div id=\"frame\"&gt;\r\n      &lt;div id=\"photo1\" class=\"pic\"&gt;&lt;img src=\"wp-images\/1.jpg\"&gt;&lt;span&gt;\u671d\u713c\u3051\u306e\u91dd\u30ce\u6728\u5cb3&lt;\/span&gt;&lt;\/div&gt;\r\n      &lt;div id=\"photo2\" class=\"pic\"&gt;&lt;img src=\"wp-images\/2.jpg\"&gt;&lt;span&gt;\u91dd\u30ce\u6728\u5cb3\u3001\u30b9\u30d0\u30ea\u5cb3\u3092\u80cc\u306b\u5ca9\u5c0f\u5c4b\u6ca2\u5cb3\u3078\u306e\u767b\u308a&lt;\/span&gt;&lt;\/div&gt;\r\n      &lt;div id=\"photo3\" class=\"pic\"&gt;&lt;img src=\"wp-images\/3.jpg\"&gt;&lt;span&gt;\u5263\u5cb3\u3092\u771f\u8fd1\u306b\u671b\u3080&lt;\/span&gt;&lt;\/div&gt;\r\n      &lt;div id=\"photo4\" class=\"pic\"&gt;&lt;img src=\"wp-images\/4.jpg\"&gt;&lt;span&gt;\u9e7f\u5cf6\u69cd\u30f6\u5cb3\u3001\u5f8c\u7acb\u5c71\u9023\u5cf0&lt;\/span&gt;&lt;\/div&gt;\r\n      &lt;div id=\"photo5\" class=\"pic\"&gt;&lt;img src=\"wp-images\/5.jpg\"&gt;&lt;span&gt;\u5ca9\u5c0f\u5c4b\u6ca2\u3001\u9cf4\u6ca2\u5cb3\u3092\u80cc\u306b\u5cb3\u723a\u30f6\u5cb3\u3078\u306e\u767b\u308a&lt;\/span&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><a href=\"http:\/\/css.programming.jp\/?p=105\">\u300c\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u300d<\/a>\u306b\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u306e\u307f\u306b\u3064\u3044\u3066\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n\u30fb#photo1,#photo2,,,\u3000\u306e\u5404div\u306e\u5199\u771f\u306b\u76f8\u5f53\u3059\u308b\u8aac\u660e\u6587\u3092\u3001div\u5185\u306espan\u3068\u3057\u3066\u305d\u308c\u305e\u308c\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528CSS<\/h4>\n<pre>\r\n#stage {\r\n\tposition: relative;\r\n\twidth: 600px;\r\n\theight:338;\r\n\tmargin: 0 auto;\r\n\tbackground:#ddd;\r\n}\r\n.pic {\r\n\tposition: absolute;\r\n\twidth: 600px;\r\n\theight: 338px;\r\n}\r\n.pic img {\r\n\topacity:0;\r\n\t-moz-animation: imgTrans 40s infinite;\r\n\t-webkit-animation: imgTrans 40s ease-in infinite;\r\n\tanimation: imgTrans 40s infinite;\r\n}\r\n.pic span {\r\n\tcolor:#fffffc;\r\n\tposition:absolute;\r\n\ttop:300px;left:650px;\r\n\tdisplay:block;\r\n\tfont-size:22px;\r\n\tfont-weight:bold;\r\n\twidth:500px;\r\n\t-webkit-animation: telop 40s linear infinite;\r\n\tanimation: telop 40s linear infinite;\r\n}\r\n#photo1 img, #photo1 span {\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, #photo2 span {\r\n\t-moz-animation-delay: 8s;\r\n\t-webkit-animation-delay: 8s;\r\n\tanimation-delay: 8s;\r\n}\r\n#photo3 img, #photo3 span {\r\n\t-moz-animation-delay: 16s;\r\n\t-webkit-animation-delay: 16s;\r\n\tanimation-delay: 16s;\r\n}\r\n#photo4 img, #photo4 span{\r\n\t-moz-animation-delay: 24s;\r\n\t-webkit-animation-delay: 24s;\r\n\tanimation-delay: 24s;\r\n}\r\n#photo5 img, #photo5 span {\r\n\t-moz-animation-delay: 32s;\r\n\t-webkit-animation-delay: 32s;\r\n\tanimation-delay: 32s;\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 7% { opacity:1; }\r\n 18% { 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 7% { opacity:1; }\r\n 18% { opacity:1; }\r\n 25% { opacity:0; } \r\n 100% { opacity:0; }\r\n}\r\n\r\n@keyframes imgTrans {\r\n 0% { opacity:0; }\r\n 7% { opacity:1; }\r\n 18% { opacity:1; }\r\n 25% { opacity:0; } \r\n 100% { opacity:0; }\r\n}\r\n@-webkit-keyframes telop {\r\n 0% { left:650px; opacity:1;}\r\n 18% { left: -100px; opacity:1;}\r\n 25% { left: -300px; opacity:0;}\r\n 100% { left: -300px; opacity:0;}\r\n}\r\n@keyframes telop {\r\n 0% { left:650px; opacity:1;}\r\n 18% { left: -100px; opacity:1;}\r\n 25% { left: -300px; opacity:0;}\r\n 100% { left: -300px; opacity:0;}\r\n}\r\n<\/pre>\n<h4>CSS\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p><a href=\"http:\/\/css.programming.jp\/?p=105\">\u300c\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u300d<\/a>\u306b\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u306e\u307f\u306b\u3064\u3044\u3066\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n\u30fbspan \u5185\u6587\u5b57\u5217\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u8a2d\u5b9a\u3068\u3001animation\u306e\u8a2d\u5b9a\u3002<br \/>\n\u30fbanimation \u306f\u3001\u5199\u771f\u306eanimation \u3068\u540c\u671f\u3055\u305b\u3001\u540c\u3058\u9593\u9694\u306b\u8a2d\u5b9a\u3059\u308b\u3002\u30a4\u30fc\u30b8\u30f3\u30b0\u306f\u4ed8\u3051\u305a linear \u306b\u8a2d\u5b9a\u3057\u305f\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>\u5148\u306b\u8a18\u8ff0\u3057\u305f\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u30fb\u30a2\u30a6\u30c8\u578b\u30b9\u30e9\u30a4\u30c9\u30b7\u30e7\u30fc\u3067\u3001\u5404\u30b9\u30e9\u30a4\u30c9\u3054\u3068\u306b\u3001\u6d41\u308c\u308b\u8aac\u660e\u6587\uff08\u30c6\u30ed\u30c3\u30d7\uff09\u3092\u633f\u5165\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002 \u30b5\u30f3\u30d7\u30eb \u671d\u713c\u3051\u306e\u91dd\u30ce\u6728\u5cb3 \u91dd\u30ce\u6728\u5cb3\u3001\u30b9\u30d0\u30ea\u5cb3\u3092\u80cc\u306b\u5ca9\u5c0f\u5c4b\u6ca2\u5cb3\u3078\u306e\u767b\u308a \u5263\u5cb3\u3092\u771f\u8fd1\u306b\u671b\u3080 \u9e7f\u5cf6\u69cd\u30f6\u5cb3\u3001 &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=581\">\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-581","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/581","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=581"}],"version-history":[{"count":8,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/581\/revisions"}],"predecessor-version":[{"id":800,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/581\/revisions\/800"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}