{"id":901,"date":"2015-06-06T07:35:30","date_gmt":"2015-06-05T22:35:30","guid":{"rendered":"http:\/\/css.programming.jp\/?p=901"},"modified":"2015-06-06T09:08:51","modified_gmt":"2015-06-06T00:08:51","slug":"%e3%83%95%e3%82%a7%e3%82%a4%e3%83%89%e3%82%a4%e3%83%b3%e5%9e%8b%e3%83%95%e3%82%a9%e3%83%88%e3%82%ae%e3%83%a3%e3%83%a9%e3%83%aa%e3%83%bc%ef%bc%88%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96","status":"publish","type":"post","link":"https:\/\/css.programming.jp\/?p=901","title":{"rendered":"\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u578b\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\uff08\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\uff09"},"content":{"rendered":"<p>\u3000\u4ee5\u524d\u306b\u6295\u7a3f\u3057\u305f\u300c<a href=\"http:\/\/css.programming.jp\/?p=10\">\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u578b\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc<\/a>\u300d\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u578b\u3067\u3042\u308b\u3002<br \/>\n\u3000\u62e1\u5927\u5199\u771f\u306e\u5927\u304d\u3055\u304c\u3001\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5bfe\u5fdc\u3057\u3066600px\u4ee5\u4e0b\u3067\u7e2e\u5c0f\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<h4>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u578b\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\u30b5\u30f3\u30d7\u30eb<\/h4>\n<div id=\"stage\">\n  <input type=\"radio\" id=\"r1\" name=\"gal\"><br \/>\n  <input type=\"radio\" id=\"r2\" name=\"gal\"><br \/>\n  <input type=\"radio\" id=\"r3\" name=\"gal\"><br \/>\n  <input type=\"radio\" id=\"r4\" name=\"gal\"><br \/>\n  <input type=\"radio\" id=\"r5\" name=\"gal\"><br \/>\n  <img decoding=\"async\" style=\"width:100%\" src=\"wp-images\/1.jpg\"><\/p>\n<div id=\"photo1\" class=\"photo\"><img decoding=\"async\" src=\"wp-images\/1.jpg\"><\/div>\n<div id=\"photo2\" class=\"photo\"><img decoding=\"async\" src=\"wp-images\/2.jpg\"><\/div>\n<div id=\"photo3\" class=\"photo\"><img decoding=\"async\" src=\"wp-images\/3.jpg\"><\/div>\n<div id=\"photo4\" class=\"photo\"><img decoding=\"async\" src=\"wp-images\/4.jpg\"><\/div>\n<div id=\"photo5\" class=\"photo\"><img decoding=\"async\" src=\"wp-images\/5.jpg\"><\/div>\n<div style=\"padding:0 0;\"><\/div>\n<div id=\"thumbs\">\n    <label for=\"r1\"><img decoding=\"async\" src=\"wp-images\/s1.jpg\"><\/label><br \/>\n    <label for=\"r2\"><img decoding=\"async\" src=\"wp-images\/s2.jpg\"><\/label><br \/>\n    <label for=\"r3\"><img decoding=\"async\" src=\"wp-images\/s3.jpg\"><\/label><br \/>\n    <label for=\"r4\"><img decoding=\"async\" src=\"wp-images\/s4.jpg\"><\/label><br \/>\n    <label for=\"r5\"><img decoding=\"async\" src=\"wp-images\/s5.jpg\"><\/label>\n  <\/div>\n<\/div>\n<style type=\"text\/css\">\n\/*\u30ae\u30e3\u30e9\u30ea\u30fc\u5168\u4f53\u306e\u30b3\u30f3\u30c6\u30ca\u30fc*\/\n#stage {\n\tposition: relative;\n\tmax-width: 600px;\n\tmargin: 0 auto;\n}\n\/*\u5168\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u30b3\u30f3\u30c6\u30ca\u30fc*\/\n#thumbs {\n\tmargin-left:2%;\n}\n\/*\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u5e45\u3001\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u624b\u306e\u3072\u3089*\/\n#thumbs label img {\n\twidth:18.5%;\n\tcursor: pointer;\n}\n\/*\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a\u306b*\/\n#r1, #r2, #r3, #r4, #r5 {\n\tdisplay: none;\n}\n\/*\u8868\u793a\u5199\u771f\u306e\u521d\u671f\u914d\u7f6e\uff08\u5168\u90e8\u900f\u660e\u306b\uff09\u3068transition\u8a2d\u5b9a*\/\n.photo {\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n}\n.photo img {\n\twidth:100%;\n\topacity: 0;\n\t-webkit-transition: opacity 1s ease;\n\ttransition: opacity 1s ease;\n}\n\/*\u30c1\u30a7\u30c3\u30af\u3055\u308c\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u306b\u76f8\u5f53\u3059\u308b\u5199\u771f\u3060\u3051\u3092\u8868\u793a*\/\n#r1:checked ~ #photo1 img, #r2:checked ~ #photo2 img, #r3:checked ~ #photo3 img, #r4:checked ~ #photo4 img, #r5:checked ~ #photo5 img {\n\topacity: 1;\n}\n<\/style>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528\uff28\uff34\uff2d\uff2c<\/h4>\n<pre>\r\n&lt;div id=\"stage\"&gt;\r\n  &lt;input type=\"radio\" id=\"r1\" name=\"gal\"&gt;\r\n  &lt;input type=\"radio\" id=\"r2\" name=\"gal\"&gt;\r\n  &lt;input type=\"radio\" id=\"r3\" name=\"gal\"&gt;\r\n  &lt;input type=\"radio\" id=\"r4\" name=\"gal\"&gt;\r\n  &lt;input type=\"radio\" id=\"r5\" name=\"gal\"&gt;\r\n  &lt;img style=\"width:100%\" src=\"wp-images\/1.jpg\"&gt;\r\n  &lt;div id=\"photo1\" class=\"photo\"&gt;&lt;img src=\"wp-images\/1.jpg\"&gt;&lt;\/div&gt;\r\n  &lt;div id=\"photo2\" class=\"photo\"&gt;&lt;img src=\"wp-images\/2.jpg\"&gt;&lt;\/div&gt;\r\n  &lt;div id=\"photo3\" class=\"photo\"&gt;&lt;img src=\"wp-images\/3.jpg\"&gt;&lt;\/div&gt;\r\n  &lt;div id=\"photo4\" class=\"photo\"&gt;&lt;img src=\"wp-images\/4.jpg\"&gt;&lt;\/div&gt;\r\n  &lt;div id=\"photo5\" class=\"photo\"&gt;&lt;img src=\"wp-images\/5.jpg\"&gt;&lt;\/div&gt;\r\n  &lt;div style=\"padding:0 0;\"&gt;&lt;\/div&gt;\r\n  &lt;div id=\"thumbs\"&gt;\r\n    &lt;label for=\"r1\"&gt;&lt;img src=\"wp-images\/s1.jpg\"&gt;&lt;\/label&gt;\r\n    &lt;label for=\"r2\"&gt;&lt;img src=\"wp-images\/s2.jpg\"&gt;&lt;\/label&gt;\r\n    &lt;label for=\"r3\"&gt;&lt;img src=\"wp-images\/s3.jpg\"&gt;&lt;\/label&gt;\r\n    &lt;label for=\"r4\"&gt;&lt;img src=\"wp-images\/s4.jpg\"&gt;&lt;\/label&gt;\r\n    &lt;label for=\"r5\"&gt;&lt;img src=\"wp-images\/s5.jpg\"&gt;&lt;\/label&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p><\/p>\n<h4>\uff28\uff34\uff2d\uff2c\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p>\u30fb\u521d\u671f\u753b\u9762\u306b1\u679a\u76ee\u306e\u5199\u771f\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u3002<br \/>\n\u30fb\u30b5\u30e0\u30cd\u30a4\u30eb\u304c\u3001\u62e1\u5927\u5199\u771f\u306e\u4e0b\u306b\u4e26\u3076\u3088\u3046\u306b\u3001#thumbs\u3092position\u6307\u5b9a\u306a\u3057\u306b\u3001\u30bf\u30b0\u306e\u4e0b\u90e8\u306b\u8a18\u8ff0\u3002<br \/>\n\u30fb\u3053\u306e\u30ae\u30e3\u30e9\u30ea\u30fc\u306e\u4e0b\u306b\u3001\u4ed6\u306e\u8981\u7d20\u3092\u8868\u793a\u3055\u305b\u308b\u5834\u5408\u306f\u3001\u5358\u306b\u3001\u3053\u306ehtml\u306b\u7d9a\u3051\u3066\u8a18\u8ff0\u3059\u308c\u3070\u3088\u3044\u3002<br \/>\n<\/p>\n<h4>\u672c\u30b5\u30f3\u30d7\u30eb\u8868\u793a\u7528\uff23\uff33\uff33<\/h4>\n<pre>\r\n\/*\u30ae\u30e3\u30e9\u30ea\u30fc\u5168\u4f53\u306e\u30b3\u30f3\u30c6\u30ca\u30fc*\/\r\n#stage {\r\n\tposition: relative;\r\n\tmax-width: 600px;\r\n\tmargin: 0 auto;\r\n}\r\n\/*\u5168\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u30b3\u30f3\u30c6\u30ca\u30fc*\/\r\n#thumbs {\r\n\tmargin-left:2%;\r\n}\r\n\/*\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u5e45\u3001\u30dd\u30a4\u30f3\u30bf\u30fc\u3092\u624b\u306e\u3072\u3089*\/\r\n#thumbs label img {\r\n\twidth:18.5%;\r\n\tcursor: pointer;\r\n}\r\n\/*\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3092\u975e\u8868\u793a\u306b*\/\r\n#r1, #r2, #r3, #r4, #r5 {\r\n\tdisplay: none;\r\n}\r\n\/*\u8868\u793a\u5199\u771f\u306e\u521d\u671f\u914d\u7f6e\uff08\u5168\u90e8\u900f\u660e\u306b\uff09\u3068transition\u8a2d\u5b9a*\/\r\n.photo {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n.photo img {\r\n\twidth:100%;\r\n\topacity: 0;\r\n\t-webkit-transition: opacity 1s ease;\r\n\ttransition: opacity 1s ease;\r\n}\r\n\/*\u30c1\u30a7\u30c3\u30af\u3055\u308c\u305f\u30b5\u30e0\u30cd\u30a4\u30eb\u306b\u76f8\u5f53\u3059\u308b\u5199\u771f\u3060\u3051\u3092\u8868\u793a*\/\r\n#r1:checked ~ #photo1 img, #r2:checked ~ #photo2 img, #r3:checked ~ #photo3 img, #r4:checked ~ #photo4 img, #r5:checked ~ #photo5 img {\r\n\topacity: 1;\r\n}\r\n<\/pre>\n<h4>\uff23\uff33\uff33\u306e\u30dd\u30a4\u30f3\u30c8\u8aac\u660e<\/h4>\n<p>\u30fb#stage\u306b\u3001max-width \u3092\u3001\u62e1\u5927\u5199\u771f\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u306f\u3001%\u6307\u5b9a\u306ewidth\u3092\u6307\u5b9a<br \/>\n\u30fbheight\u306f\u5168\u3066\u7121\u8a18\u8ff0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u4ee5\u524d\u306b\u6295\u7a3f\u3057\u305f\u300c\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u578b\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\u300d\u306e\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u578b\u3067\u3042\u308b\u3002 \u3000\u62e1\u5927\u5199\u771f\u306e\u5927\u304d\u3055\u304c\u3001\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5bfe\u5fdc\u3057\u3066600px\u4ee5\u4e0b\u3067\u7e2e\u5c0f\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002 \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u30d5\u30a7\u30a4\u30c9\u30a4\u30f3\u578b\u30d5\u30a9\u30c8\u30ae\u30e3\u30e9\u30ea\u30fc\u30b5\u30f3\u30d7\u30eb \u672c\u30b5 &hellip; <a class=\"more-link\" href=\"https:\/\/css.programming.jp\/?p=901\">\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":[1],"tags":[],"class_list":["post-901","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/901","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=901"}],"version-history":[{"count":20,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/901\/revisions"}],"predecessor-version":[{"id":1424,"href":"https:\/\/css.programming.jp\/index.php?rest_route=\/wp\/v2\/posts\/901\/revisions\/1424"}],"wp:attachment":[{"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css.programming.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}