{"id":207,"date":"2014-03-15T04:52:00","date_gmt":"2014-03-14T19:52:00","guid":{"rendered":"http:\/\/blog.xj4d.com\/?p=207"},"modified":"2014-03-15T05:06:24","modified_gmt":"2014-03-14T20:06:24","slug":"%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96%e3%81%a8ie%e3%81%b8%e3%81%aehtml5css3%e3%81%a8%e3%81%8b","status":"publish","type":"post","link":"https:\/\/blog.xj4d.com\/?p=207","title":{"rendered":"\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3068IE\u3078\u306eHTML5+CSS3\u3068\u304b"},"content":{"rendered":"<p>Web\u30b5\u30a4\u30c8\u306e\u500b\u4eba\u7684\u306a\u5b9a\u7fa9\u3092\u8003\u3048\u76f4\u3057\u3002<\/p>\n<p>\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u306f960\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u306e\u4ed6\u3001 \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067Responsive Grid System\u306e\u30c1\u30a7\u30c3\u30af\u3002<br \/>\nBootstrap\u3068Foundation\u306f\u3068\u308a\u3042\u3048\u305a\u653e\u7f6e\u3060\u3051\u3069\u6271\u3046\u306a\u3089Foundation\u306e\u65b9\u304c\u30b7\u30f3\u30d7\u30eb\u3067\u3044\u3044\u304b\u3082\u3002<br \/>\nMedia-Queries\u3082\u4e00\u5fdc\u304a\u52c9\u5f37\u3002<\/p>\n<p>PC\u30b5\u30a4\u30c8\u306f\u8fd1\u5e74\u30e2\u30cb\u30bf\u30fc\u306e\u89e3\u50cf\u5ea6\u304c\u3042\u307b\u307f\u305f\u3044\u306b\u4e0a\u304c\u3063\u3066\u3044\u308b\u3051\u3069\u3001<br \/>\n\u3068\u308a\u3042\u3048\u305a960\u30b0\u30ea\u30c3\u30c9\u306b\u6cbf\u3063\u305f\u30c7\u30b6\u30a4\u30f3\u3067\u4f5c\u308b\u3002<br \/>\nRetina\u306f\u7121\u8996\u3002<\/p>\n<p>html5shiv\u3068CSS3 PIE\u3067HTML5\u3068CSS3\u3092IE8\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u3002<br \/>\n<a href=\"http:\/\/code.google.com\/p\/html5shiv\/\" target=\"_blank\">html5shiv\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><br \/>\n<a href=\"http:\/\/css3pie.com\/\" target=\"_blank\">CSS3 PIE<\/a><\/p>\n<p>\u753b\u50cf\u306fCSS Splite\u3067\u4f5c\u308a\u4f38\u7e2e\u3055\u305b\u308b\u3082\u306e\u306f\u500b\u5225\u3067\u7528\u610f\u3002<\/p>\n<p>\u25a0 <strong>rem<\/strong>\uff08\u5fdc\u6025\u7528\u306b\u3072\u3068\u307e\u305aIE\u306b\u5bfe\u5fdc\uff09<br \/>\nhtml { font-size: 62.5%; }<br \/>\nbody { font-size: 14px; font-size: 1.4rem; } \/* =14px *\/<br \/>\nh1\u00a0\u00a0 { font-size: 24px; font-size: 2.4rem; } \/* =24px *\/<\/p>\n<p><strong>\u25a0 HTML\u306emeta<\/strong><br \/>\n&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width,user-scalable=no,maximum-scale=1&#8243; \/&gt;<\/p>\n<p><!--more--><br \/>\n&lt;link rel=&#8221;stylesheet&#8221; media=&#8221;all&#8221; type=&#8221;text\/css&#8221; href=&#8221;style.css&#8221; \/&gt;&lt;!&#8211; \u203b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30bf\u30a4\u30eb\uff08style.css\uff09 &#8211;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; media=&#8221;all&#8221; type=&#8221;text\/css&#8221; href=&#8221;tablet.css&#8221; \/&gt;&lt;!&#8211; \u203b\u30bf\u30d6\u30ec\u30c3\u30c8\u7528\u306e\u30b9\u30bf\u30a4\u30eb\uff08tablet.css\uff09 &#8211;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; media=&#8221;all&#8221; type=&#8221;text\/css&#8221; href=&#8221;sp.css&#8221; \/&gt;&lt;!&#8211; \u203b\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528\u306e\u30b9\u30bf\u30a4\u30eb\uff08sp.css\uff09 &#8211;&gt;<\/p>\n<p>\u7aef\u672b\u306e\u753b\u9762\u30b5\u30a4\u30ba\u306e\u6a2a\u5e45\u306b\u5408\u308f\u305b\u3066CSS\u3092\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001Viewport\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u69d8\u306a\u66f8\u304d\u65b9\u3082\u3042\u308a\u3002<br \/>\n&lt;meta name=&#8221;viewport&#8221; content=&#8221;width=device-width&#8221;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;css\/sp.css&#8221;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;css\/tablet.css&#8221; media=&#8221;only screen and (min-width:641px) and (max-width:979px)&#8221;&gt;<br \/>\n&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;css\/style.css&#8221; media=&#8221;only screen and (min-width:980px)&#8221;&gt;<\/p>\n<p>\u6b21\u306b3\u3064\uff08\u4efb\u610f\uff09\u306eCSS\u3092\u7528\u610f\u3057\u307e\u3059\uff08\u6570\u5024\u306f\u4efb\u610f\u3067\u3059\u3002\u8272\u3005\u8a66\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\uff09<br \/>\n\u25a0 PC\uff1a\u6a2a\u5e45980px\u4ee5\u4e0a<br \/>\n\u25a0 \u30bf\u30d6\u30ec\u30c3\u30c8\uff08android\uff09\uff1a\u6a2a\u5e45768px<br \/>\n\u25a0 \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\uff08android\uff09\uff1a\u6a2a\u5e45640px<br \/>\nPC\u3068\u30bf\u30d6\u30ec\u30c3\u30c8\u306e\u6a2a\u5e45\u306f1024\u4ee5\u4e0a\u3067\u3082769\u4ee5\u4e0a\u3067\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\/*===============================================<br \/>\n\u25cfstyle.css \u753b\u9762width:980px\u4ee5\u4e0a<br \/>\n===============================================*\/<br \/>\n@media screen and (min-width: 980px){<br \/>\nimg{<br \/>\nmax-width: 100%;<br \/>\nheight: auto;<br \/>\n}<br \/>\n#container{<br \/>\nwidth:960px;<br \/>\n}<br \/>\n\uff5e\u4ee5\u4e0b\u3001\u753b\u9762\u306e\u6a2a\u5e45\u304c768px\u307e\u3067\u306e\u5834\u5408\u306e\u30b9\u30bf\u30a4\u30eb\u8a18\u5165\uff5e<br \/>\n}<br \/>\n\/*===============================================<br \/>\n\u25cftablet.css \u753b\u9762width:979px\u307e\u3067<br \/>\n===============================================*\/<br \/>\n@media screen and (max-width: 979px){<br \/>\nimg{<br \/>\nmax-width: 100%;<br \/>\nheight: auto;<br \/>\n}<br \/>\n#container{<br \/>\nwidth:100%;<br \/>\n}<br \/>\n\uff5e\u4ee5\u4e0b\u3001\u753b\u9762\u306e\u6a2a\u5e45\u304c979px\u307e\u3067\u306e\u5834\u5408\u306e\u30b9\u30bf\u30a4\u30eb\u8a18\u5165\uff5e<br \/>\n}<br \/>\n\/*===============================================<br \/>\n\u25cfsp.css\u00a0 \u753b\u9762width:640px\u307e\u3067<br \/>\n===============================================*\/<br \/>\n@media screen and (max-width:640px){<br \/>\nimg{<br \/>\nmax-width: 100%;<br \/>\nheight: auto;<br \/>\nwidth \/***\/:auto;<br \/>\n}<br \/>\n#container{<br \/>\nwidth:100%;<br \/>\n}<br \/>\n\uff5e\u4ee5\u4e0b\u3001\u753b\u9762\u306e\u6a2a\u5e45\u304c640px\u307e\u3067\u306e\u5834\u5408\u306e\u30b9\u30bf\u30a4\u30eb\u8a18\u5165\uff5e<br \/>\n}<\/p>\n<p>\u307e\u305f\u3001@import\u3067\u5404CSS\u3092\u8aad\u307f\u8fbc\u3080\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>@import url(style.css) screen and (min-width: 980px);<br \/>\n@import url(tablet.css) screen and (max-width: 979px);<br \/>\n@import url(smart.css) screen and (max-width: 640px);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Web\u30b5\u30a4\u30c8\u306e\u500b\u4eba\u7684\u306a\u5b9a\u7fa9\u3092\u8003\u3048\u76f4\u3057\u3002 \u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u306f960\u30b0\u30ea\u30c3\u30c9\u30b7\u30b9\u30c6\u30e0\u306e\u4ed6\u3001 \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u3067Responsive Grid System\u306e\u30c1\u30a7\u30c3\u30af\u3002 Bootstrap\u3068Foundation\u306f\u3068\u308a\u3042\u3048\u305a\u653e\u7f6e\u3060\u3051 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":8,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xj4d.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}