{"id":6012,"date":"2021-03-20T23:30:00","date_gmt":"2021-03-20T14:30:00","guid":{"rendered":"http:\/\/hdmr.org\/d\/?p=6012"},"modified":"2021-03-21T00:30:47","modified_gmt":"2021-03-20T15:30:47","slug":"wp-6012","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/wp-6012","title":{"rendered":"PC\u3068\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u5207\u308a\u5206\u3051\u65b9"},"content":{"rendered":"<p>\u65b0\u3057\u3044Blog\u306b\u306a\u3063\u3066\u3001\u3042\u3093\u307e\u308a\u898b\u305f\u76ee\u304c\u5909\u308f\u3089\u306a\u3044\u3068\u601d\u3063\u305f\u4eba\u3082\u3044\u308b\u3068\u601d\u3046\u304c\u3001<\/p>\n<p>\u4e00\u65b9\u3067\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u898b\u3066\u3044\u308b\u4eba\u306f\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u30b5\u30a4\u30c9\u306b\u306a\u304f\u306a\u3063\u305f\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u304b\u3082\u3002<\/p>\n<p>\u753b\u9762\u5e45\u306e\u5c0f\u3055\u306a\u7aef\u672b\u3067\u306f\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u4e0b\u306b\u6301\u3063\u3066\u3044\u304f\u3088\u3046\u306b\u3057\u305f\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>PC\u3067\u3082\u753b\u9762\u5e45\u3092\u72ed\u3081\u3066\u3044\u304f\u3068\u3001\u3053\u306e\u8868\u793a\u3092\u4f53\u9a13\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u3042\u308b\u3068\u3053\u308d\u3067\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u6d88\u3048\u3066\u3001\u53f3\u4e0a\u306b\u25bc\u304c\u8868\u793a\u3055\u308c\u3001\u3053\u308c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30b5\u30a4\u30c9\u30d0\u30fc\u76f8\u5f53\u306e\u5185\u5bb9\u306b\u98db\u3076\u3002<\/p>\n<hr>\n<p>\u3053\u308c\u306f\u753b\u9762\u5e45\u306b\u5fdc\u3058\u3066CSS\u306e\u52d5\u4f5c\u3092\u5207\u308a\u5206\u3051\u3066\u3044\u308b\u304b\u3089\u3067\u3042\u308b\u3002<\/p>\n<pre>@media (min-width: 900px) {<br>&nbsp; .absolute-sidebar {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float:left;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width:30%;<br>&nbsp; }<br>&nbsp; .site-content {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float:left;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width:70%;<br>&nbsp; }<br>&nbsp; .secondary-link{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; display: none;<br>&nbsp; }<br>}<\/pre>\n<p>900px\u3088\u308a\u3082\u753b\u9762\u5e45\u304c\u5927\u304d\u3044\u5834\u5408\u306f\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u753b\u9762\u5e45\u306e30%\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u672c\u4f53\u309270%\u3068\u3057\u3066\u3001\u5de6\u53f3\u306b\u4e26\u3079\u308b\u3068\u3002<\/p>\n<p>\u305d\u306e\u4e0a\u3067\u30b5\u30a4\u30c9\u30d0\u30fc\u3078\u98db\u3076\u305f\u3081\u306e\u25bc\u3082\u5fc5\u8981\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u8868\u793a\u304b\u3089\u6d88\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>900px\u672a\u6e80\u306e\u5834\u5408\u306f\u3053\u306e\u90e8\u5206\u304c\u9069\u7528\u3055\u308c\u306a\u3044\u306e\u3067\u3001\u25bc\u306f\u8868\u793a\u3055\u308c\u308b\u3057\u3001<\/p>\n<p>\u30b3\u30f3\u30c6\u30f3\u30c4\u30fb\u30b5\u30a4\u30c9\u30d0\u30fc\u5171\u3005\u5e45100%\u3067\u3001\u901a\u5e38\u901a\u308a\u4e0a\u304b\u3089\u4e0b\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u4e26\u3076\u3068\u3044\u3046\u5f62\u306b\u306a\u308b\u3002<\/p>\n<hr>\n<p>\u3053\u306e\u3088\u3046\u306a\u5f62\u306b\u306a\u3063\u305f\u306e\u306f\u53c2\u8003\u306b\u3057\u305f\u30c6\u30fc\u30de\u304c\u3053\u3046\u3044\u3046\u3082\u306e\u3060\u3063\u305f\u304b\u3089\u3002<\/p>\n<ul>\n<li>\u30b5\u30a4\u30c9\u30d0\u30fc\u76f8\u5f53\u306f\u901a\u5e38\u306f\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\n<li>\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u3060\u3051\u8868\u793a\u3055\u308c\u308b\n<li>\u753b\u9762\u5e45\u304c\u5e83\u3044\u5834\u5408\u306f\u753b\u9762\u306e\u53f3\u4e00\u90e8\u3092\u5272\u3044\u3066\u3001\u72ed\u3044\u5834\u5408\u306f\u753b\u9762\u5168\u4f53\u306b\u8986\u3044\u88ab\u3055\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u306f\u8907\u96d1\u3059\u304e\u305f\u304c\u3001\u753b\u9762\u5e45\u304c\u72ed\u3044\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306a\u3069\u3067\u5e38\u306b\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u8868\u793a\u3059\u308b\u4e0d\u90fd\u5408\u306f\u3042\u308b\u308f\u3051\u3067\u3001<\/p>\n<p>\u753b\u9762\u5e45\u306b\u3088\u3063\u3066\u8868\u793a\u65b9\u6cd5\u3092\u5207\u308a\u5206\u3051\u308b\u90e8\u5206\u306f\u63a1\u7528\u3057\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\u3002<\/p>\n<p>\u3053\u3046\u3044\u3046\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u5e38\u306b\u8868\u793a\u3055\u308c\u308b\u30c7\u30b6\u30a4\u30f3\u306f\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u6642\u4ee3\u306b\u3068\u3063\u3066\u306f\u53e4\u98a8\u3060\u304c\u3001<\/p>\n<p>PC\u3067\u306f\u3053\u306e\u30b9\u30bf\u30a4\u30eb\u306f\u3084\u306f\u308a\u4f7f\u3044\u3084\u3059\u3044\u308f\u3051\u3067\u3001\u4f7f\u3048\u308b\u3068\u3053\u308d\u306f\u4f7f\u3063\u3066\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u3082\u898b\u3084\u3059\u3044\u3088\u3046\u306b\u3057\u305f\u3068\u3002<\/p>\n<p>(\u3082\u3063\u3068\u3082\u3001\u3053\u3093\u306a\u6587\u5b57\u3060\u3089\u3051\u306eBlog\u306f\u305d\u3082\u305d\u3082\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u5411\u304d\u3067\u306f\u306a\u3044\u306e\u3060\u304c)<\/p>\n<hr>\n<p>\u305f\u3060\u3001\u3053\u308c\u3092\u3084\u308b\u305f\u3081\u306b\u306f\u3082\u30461\u3064\u4ed5\u8fbc\u307f\u304c\u3044\u308b\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<pre>&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"&gt;<\/pre>\n<p>\u3053\u308c\u3092HTML\u306e\u5192\u982d\u306b\u66f8\u3044\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u3053\u308c\u306f\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u3060\u3051\u306b\u9069\u7528\u3055\u308c\u308b\u3082\u306e\u3060\u3068\u601d\u3046\u306e\u3060\u304c\u3001<\/p>\n<p>\u3053\u306e\u66f8\u304d\u65b9\u3092\u3059\u308b\u3068\u3001\u30c7\u30d0\u30a4\u30b9\u3054\u3068\u306b\u6c7a\u3081\u3089\u308c\u305f\u30d4\u30af\u30bb\u30eb\u6570\u3092\u753b\u9762\u5e45\u3068\u307f\u306a\u3057\u3066\u8868\u793a\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u624b\u6301\u3061\u306e\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3060\u3068425px\u3001\u30bf\u30d6\u30ec\u30c3\u30c8\u3060\u3068630px(\u3044\u305a\u308c\u3082Android)\u306b\u306a\u3063\u3066\u308b\u307f\u305f\u3044\u3002<\/p>\n<p><a href=\"https:\/\/linkgear.jp\/html-css\/20150729109.html\">viewport \u306b\u3064\u3044\u3066 (Just another memorandum)<\/a> : <a href=\"https:\/\/linkgear.jp\/test\/viewport.html\">Viewport \u78ba\u8a8d\u7528<\/a><\/p>\n<p>width=360\u3068\u304b\u66f8\u304f\u3068\u3001\u3069\u3093\u306a\u30b5\u30a4\u30ba\u306e\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u3082360px\u5e45\u3068\u307f\u306a\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u30c7\u30b6\u30a4\u30f3\u3092\u56fa\u5b9a\u3067\u304d\u308b\u4e00\u65b9\u3067\u3001\u753b\u9762\u306e\u5927\u304d\u306a\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u306f\u4e0d\u9069\u304b\u306a\u3068\u3044\u3046\u3053\u3068\u3067\u3001device-width\u3068\u3044\u3046\u3053\u3068\u3067\u7aef\u672b\u304a\u4efb\u305b\u306b\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u7aef\u672b\u3092\u6a2a\u5411\u304d\u306b\u3059\u308b\u3068\u3001\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u306f900px\u8d85\u3068\u306a\u308aPC\u3068\u540c\u69d8\u306e\u8868\u793a\u306b\u306a\u308b\u3002<\/p>\n<p>\u3053\u308c\u3082width=device-width\u3068\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3067\u3042\u308b\u3002<\/p>\n<hr>\n<p>\u3055\u3063\u304d\u306e425px\u3068\u304b630px\u3068\u3044\u3046\u306e\u306f\u5b9f\u969b\u306e\u753b\u9762\u30b5\u30a4\u30ba\u3068\u306f\u9055\u3046\u5024\u3067\u3042\u308b\u3002<\/p>\n<p>\u6614\u306fiPhone\u304c320px\u3001Android\u304c360px\u304c\u5178\u578b\u7684\u306a\u5024\u3060\u3063\u305f\u304c\u3001\u753b\u9762\u306e\u5927\u578b\u5316\u306b\u3088\u308a\u5c11\u3057\u62e1\u5927\u3059\u308b\u50be\u5411\u306b\u3042\u308b\u3002<\/p>\n<p>width=320\u3068\u304bwidth=360\u3068\u304b\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u306f\u3001\u3053\u306e\u9803\u306e\u6570\u5b57\u3092\u5f15\u304d\u305a\u3063\u3066\u308b\u3068\u3044\u3046\u3053\u3068\u304b\u3002<\/p>\n<p>\u7d50\u5c40\u3001\u305d\u306e\u9803\u3068\u306e\u76f8\u5bfe\u5024\u3067\u3044\u308d\u3044\u308d\u8a00\u3063\u3066\u308b\u306e\u3067\u3001\u73fe\u72b6\u3068\u306f\u3044\u308d\u3044\u308d\u5408\u308f\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u3002<\/p>\n<hr>\n<p>\u3053\u308c\u3092Android\u306eChrome\u3067\u300cPC\u7248\u30b5\u30a4\u30c8\u300d\u306b\u3059\u308b\u3068\u3001\u753b\u9762\u30b5\u30a4\u30ba\u306b\u3088\u3089\u305a980px\u3092\u57fa\u6e96\u306b\u3057\u3066\u8868\u793a\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u3088\u3046\u3060\u3002<\/p>\n<p>\u5178\u578b\u7684PC\u304c980px\u306a\u3093\u3067\u3059\u304b\u306d\u3002<\/p>\n<p>\u3055\u3063\u304d900px\u304c\u95be\u5024\u3060\u3068\u66f8\u3044\u305f\u306e\u3067\u3001PC\u7248\u306b\u3059\u308c\u3070\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u3082\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u53f3\u5074\u306b\u51fa\u308b\u3002<\/p>\n<p>viewport\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408(\u3059\u306a\u308f\u3061\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528\u3067\u306f\u306a\u3044\u30da\u30fc\u30b8)\u3082\u540c\u69d8\u3068\u307f\u3089\u308c\u308b\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u3053\u3046\u3084\u3063\u3066\u898b\u308b\u3068\u3001\u65e7Blog\u3092\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u898b\u305f\u5834\u5408\u3068\u305d\u3093\u306a\u306b\u5909\u308f\u3089\u306a\u3044\u3068\u601d\u3046\u3002<\/p>\n<hr>\n<p>PC\u3068\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3067\u5927\u304d\u304f\u898b\u305f\u76ee\u304c\u9055\u3046\u30da\u30fc\u30b8\u3082\u3001<\/p>\n<p>\u610f\u5916\u306b\u3053\u3046\u3044\u3046\u753b\u9762\u5e45\u306e\u5207\u308a\u5206\u3051\u3067\u5b9f\u73fe\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308b\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u3060\u304b\u3089PC\u3067\u3082\u30ba\u30ea\u30ba\u30ea\u3068\u5e45\u3092\u5909\u3048\u3066\u3044\u304f\u3068\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u540c\u69d8\u306e\u8868\u793a\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u3002<\/p>\n<p>\u306a\u304b\u306a\u304b\u3069\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u3082\u898b\u3084\u3059\u3044\u3068\u3044\u3046\u306e\u306f\u96e3\u3057\u3044\u3068\u3053\u308d\u306f\u3042\u308b\u306e\u3060\u304c\u3001<\/p>\n<p>\u81ea\u5206\u81ea\u8eab\u304c\u3001PC\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u30fb\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u3069\u308c\u3082\u4f7f\u3046\u306e\u3067\u3001<\/p>\n<p>\u305d\u308c\u305e\u308c\u306e\u6027\u8cea\u306b\u3088\u3063\u3066\u898b\u3084\u3059\u304f\u306a\u308b\u3088\u3046\u306b\u5de5\u592b\u3057\u3066\u3044\u308b\u3064\u3082\u308a\u3067\u3042\u308b\u3002<\/p>\n<p>PC\u306fWindows\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u306fAndroid\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4ed6OS\u3067\u306f\u4e8b\u60c5\u304c\u9055\u3063\u305f\u308a\u3059\u308b\u3068\u306f\u601d\u3046\u304c\u3001<\/p>\n<p>\u305d\u308c\u3067\u3082\u5927\u5d29\u308c\u3057\u306a\u3044\u3088\u3046\u306b\u306f\u3057\u3066\u3044\u308b\u3064\u3082\u308a\u3002(\u3069\u3046\u306b\u3082\u307e\u305a\u304b\u3063\u305f\u3089\u6559\u3048\u3066\u304f\u308c\u308b\u3068\u3042\u308a\u304c\u305f\u3044)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u3057\u3044Blog\u306b\u306a\u3063\u3066\u3001\u3042\u3093\u307e\u308a\u898b\u305f\u76ee\u304c\u5909\u308f\u3089\u306a\u3044\u3068\u601d\u3063\u305f\u4eba\u3082\u3044\u308b\u3068\u601d\u3046\u304c\u3001 \u4e00\u65b9\u3067\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u30fb\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u898b\u3066\u3044\u308b\u4eba\u306f\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u30b5\u30a4\u30c9\u306b\u306a\u304f\u306a\u3063\u305f\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u304b\u3082\u3002 \u753b\u9762\u5e45\u306e\u5c0f\u3055\u306a\u7aef\u672b\u3067\u306f\u30b5\u30a4\u30c9\u30d0\u30fc\u3092\u4e0b\u306b\u6301\u3063 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-6012","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6012"}],"version-history":[{"count":1,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6012\/revisions"}],"predecessor-version":[{"id":6013,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6012\/revisions\/6013"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}