{"id":1491,"date":"2021-02-11T22:18:35","date_gmt":"2021-02-11T13:18:35","guid":{"rendered":"https:\/\/www.dogrow.net\/hp\/?p=1491"},"modified":"2021-02-18T13:52:13","modified_gmt":"2021-02-18T04:52:13","slug":"blog97","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/hp\/blog97\/","title":{"rendered":"(97) \u30b9\u30de\u30db\u306e\u753b\u9762\u30b5\u30a4\u30ba\u306b\u3088\u3089\u3059\u753b\u9762\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u540c\u3058\u306b\u3057\u305f\u3044\u3002"},"content":{"rendered":"<h1 class=\"my_h\">1. \u60a9\u307f\u3054\u3068<\/h1>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30b5\u30a4\u30c8\u306e\u5236\u4f5c\u3092\u59cb\u3081\u3066 5\u5e74\u304c\u7d4c\u904e\u3057\u305f\u3002<br \/>\n\u4eca\u307e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e09\u7a2e\u985e\u306e\u5b9f\u73fe\u65b9\u6cd5\u3092\u7528\u3044\u3066\u8272\u3005\u306a\u30b5\u30a4\u30c8\u3092\u4f5c\u3063\u3066\u304d\u305f\u3002<\/p>\n<h3 class=\"my_h\">(1) \u65b9\u6cd51 : \u30d6\u30e9\u30a6\u30b6\u7a2e\u5225\u3092\u53c2\u7167\u3057\u3066\u51fa\u529b\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u3002\u3010\u30b5\u30fc\u30d0\u30fc\u5074\u3011<\/h3>\n<p>\u4e00\u756a\u6700\u521d\u306b\u899a\u3048\u305f\u306e\u304c\u3053\u308c\u3060\u3002<\/p>\n<p>\u81ea\u5206\u304c\u4f5c\u308b WEB\u30b5\u30a4\u30c8\u306e 80%\u4ee5\u4e0a\u306f\u3001Apache\u7b49\u306e WEB\u30b5\u30fc\u30d0\u30fc\u7d4c\u7531\u3067 PHP\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3057\u3066\u3001\u52d5\u7684\u306b HTML\u6587\u3092\u51fa\u529b\u3059\u308b\u3082\u306e\u3002<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u5074\u306e PHP\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<br \/>\n<span class=\"my_fc_blueB\">$_SERVER[&#8216;HTTP_USER_AGENT&#8217;]<\/span><br \/>\n\u3092\u8997\u304f\u3068\u3001\u95b2\u89a7\u8005\u306e WEB\u30d6\u30e9\u30a6\u30b6\u304c\u7533\u544a\u3057\u3066\u304d\u305f\u30d6\u30e9\u30a6\u30b6\u540d\u304c\u898b\u3048\u308b\u3002<\/p>\n<p>\u3053\u306e\u5024\u304b\u3089\u30d1\u30bd\u30b3\u30f3, \u30b9\u30de\u30db or \u30ac\u30e9\u30b1\u30fc\u3092\u5224\u5225\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u306f\u305d\u308c\u305e\u308c\u306b\u5411\u3051\u305f\u30c7\u30b6\u30a4\u30f3\u306e HTML\u6587\u3092\u751f\u6210\uff06\u51fa\u529b\u3057\u3066\u3044\u305f\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u306f&#8230;<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u95b2\u89a7\u8005\u306e WEB\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u304c\u3042\u308b\u305f\u3073\u306b\u3001<br \/>\n\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u95b2\u89a7\u8005\u306e\u74b0\u5883\u3092\u610f\u8b58\u3057\u3066<br \/>\n\u51fa\u529b\u3059\u308b HTML\u30b3\u30fc\u30c9\u3092\u6c7a\u3081\u3066\u3044\u305f\u3002<\/span><\/p>\n<h3 class=\"my_h\">(2) \u65b9\u6cd52 : \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u4f7f\u3063\u3066\u9069\u7528\u3059\u308bCSS\u3092\u5207\u308a\u66ff\u3048\u308b\u3002\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3011<\/h3>\n<p>\u6b21\u306b\u899a\u3048\u305f\u306e\u304c\u3053\u308c\u3060\u3002<br \/>\n\u4eca\u3067\u3082\u4e3b\u306b\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u300c\u65b9\u6cd51\u300d\u3068\u306f\u7570\u306a\u308a\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">WEB\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u95b2\u89a7\u8005\u306e\u4f7f\u7528\u74b0\u5883\u3092\u610f\u8b58\u3057\u306a\u3044\u3002<\/span><\/p>\n<p>\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u305f\u8907\u6570\u7a2e\u985e\u306e CSS\uff08\u30d1\u30bd\u30b3\u30f3\u7528 or \u30b9\u30de\u30db\u7528\uff09\u3092\u3042\u3089\u304b\u3058\u3081\u7528\u610f\uff06\u63d0\u4f9b\u3057\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u95b2\u89a7\u8005\u306e WEB\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u3001\u81ea\u3089\u306e\u753b\u9762\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u300c\u3069\u306e CSS\u3092\u4f7f\u7528\u3059\u308b\u304b\u300d\u3092\u6c7a\u3081\u3066\u3082\u3089\u3046\u3002<\/span><\/p>\n<p>\u307e\u3041\u3001\u4f5c\u308b\u5074\u304b\u3089\u3059\u308b\u3068\u3068\u3063\u3066\u3082\u4fbf\u5229\u306a\u306e\u3060\u304c\u3001CSS\u306e\u5dee\u3057\u66ff\u3048\u3067\u8907\u6570\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5b9f\u73fe\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u3044\u308d\u3044\u308d\u3068\u554f\u984c\u3082\u3042\u308b\u3002<\/p>\n<p>\u3010\u554f\u984c\u70b91 \u3011<br \/>\n \u300c\u30d1\u30bd\u30b3\u30f3\u3067\u306f\u4f7f\u7528\u3059\u308b\u3051\u3069\u30b9\u30de\u30db\u3067\u306f\u4f7f\u7528\u3057\u306a\u3044 or \u305d\u306e\u9006\u300d\u306a\u3069\u3001<br \/>\n<span class=\"my_fc_crimsonBBig\">\u95b2\u89a7\u8005\u5074\u306b\u3068\u3063\u3066\u4e0d\u8981\u306a\u30b3\u30fc\u30c9\u304c\u591a\u304f\u6e21\u3063\u3066\u3057\u307e\u3046\u3002<\/span><\/p>\n<p>\u3010\u554f\u984c\u70b92\u3011<br \/>\n \u4f5c\u308a\u624b\u5074\u306f\u30d1\u30bd\u30b3\u30f3\u3001\u30b9\u30de\u30db\u3067\u5171\u901a\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u3044\u305f\u304f\u306a\u308a\u3001<br \/>\n<span class=\"my_fc_crimsonBBig\">\u3064\u3044\u3064\u3044\u30b9\u30de\u30db\u8fce\u5408\u578b\u306e\u30c7\u30b6\u30a4\u30f3\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/span><br \/>\n\u3064\u307e\u308a&#8230;<br \/>\n\u30d1\u30bd\u30b3\u30f3\u3067\u306e\u95b2\u89a7\u6642\u306b\u5927\u753b\u9762\u3092\u6d3b\u304b\u3057\u304d\u308c\u3066\u3044\u306a\u3044\u300c\u7269\u8db3\u308a\u306a\u3044\u30c7\u30b6\u30a4\u30f3\u300d\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<h3 class=\"my_h\">(3) \u65b9\u6cd53 : \u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3068 viewport\u306e\u5408\u308f\u305b\u6280\u3010\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3011<\/h3>\n<p>\u500b\u4eba\u7684\u306a\u554f\u984c\u304b\u3082\u3057\u308c\u306a\u3044\u304c&#8230;<br \/>\n<span class=\"my_fc_crimsonBBig\">\u30b9\u30de\u30db\u8fce\u5408\u578b\u306b\u306a\u308b<\/span><br \/>\n\u3068\u3044\u3046\u300c\u65b9\u6cd52\u300d\u306e\u554f\u984c\u70b9\u3092\u89e3\u6c7a\u3059\u3079\u304f\u63a1\u7528\u3057\u3066\u3044\u308b\u624b\u6bb5\u3060\u3002<br \/>\n\u6700\u8fd1\u306e\u30de\u30a4\u30d6\u30fc\u30e0\u304c\u3053\u308c\u3060\uff01<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u304c\u9069\u3055\u306a\u3044\u5834\u5408\u3082\u3042\u308b\u306e\u3067\u3001\u9069\u6750\u9069\u6240\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u304c\u9069\u3059\u308b\u30b1\u30fc\u30b9\u3068\u306f\uff1f<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u5c0f\u3055\u306a\u30b9\u30de\u30db\u753b\u9762\u3060\u304b\u3089\u3068\u5927\u96d1\u628a\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u305b\u305a\u3001<br \/>\n\u4e00\u89a7\u6027\u304c\u3042\u308a\u3001\u4fef\u77b0\u7684\u306b\u773a\u3081\u3089\u308c\u308b\u3068\u4fbf\u5229\u306a\u30da\u30fc\u30b8\uff01<\/span><\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u30bb\u30eb\u6570\u306e\u5927\u304d\u306a\u8868\u3092\u773a\u3081\u305f\u3044\u6642\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u30b9\u30de\u30db\u753b\u9762\u304b\u3089\u306f\u307f\u51fa\u305f\u90e8\u5206\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u773a\u3081\u308b\u3088\u308a\u3082\u3001<br \/>\n\u8868\u3092\u4fef\u77b0\u3057\u305f\u72b6\u614b\u304b\u3089\u7740\u76ee\u3057\u305f\u3044\u30dd\u30a4\u30f3\u30c8\u3092\u30af\u30ed\u30fc\u30ba\u30a2\u30c3\u30d7\u3057\u3066\u773a\u3081\u305f\u3044\u3001<\/span><br \/>\n\u3068\u3044\u3046\u3088\u3046\u306a\u5834\u9762\u3067\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>viewport\u4ee5\u5916\u306b\u3082\u540c\u3058\u3053\u3068\u306e\u5b9f\u73fe\u624b\u6bb5\u306f\u3042\u308b\u304c\u3001viewport\u3092\u4f7f\u3046\u306e\u304c\u697d\u3060\u3002<\/p>\n<h1 class=\"my_h\">2. \u65b9\u6cd53\u306e\u5177\u4f53\u7684\u306a\u5b9f\u73fe\u65b9\u6cd5<\/h1>\n<p>HTML\u306e HEAD\u90e8\u5206\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3002<\/p>\n<p><span class=\"my_fw_bold\">index.html<\/span><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=&quot;ja&quot;&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=&quot;utf-8&quot; \/&gt;\r\n    &lt;meta id=&quot;myVP&quot; name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; \/&gt;\r\n    &lt;script src=&quot;jquery-3.5.1.min.js&quot;&gt;&lt;\/script&gt;\r\n    &lt;script src=&quot;myscript.js&quot;&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>5\u884c\u76ee : viewport\u306e\u521d\u671f\u5024\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\n\u3000<span class=\"my_fc_deeppinkB\">width=device-width<\/span> : \u753b\u9762\u5e45\u3044\u3063\u3071\u3044\u306b\u8868\u793a\u3059\u308b\u3002<br \/>\n\u3000<span class=\"my_fc_deeppinkB\">initial-scale=1.0<\/span> : \u62e1\u5927\u7387\u306f 1.0, \u3059\u306a\u308f\u3061\u62e1\u5927\u30fb\u7e2e\u5c0f\u305b\u305a\u306b\u8868\u793a\u3059\u308b\u3002<br \/>\n6\u884c\u76ee : \u4eca\u56de\u306f JQuery\u3092\u4f7f\u3046\u306e\u3067\u3053\u308c\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n7\u884c\u76ee : viewport\u8a2d\u5b9a\u66f4\u65b0\u306e\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p><span class=\"my_fw_bold\">myscript.js<\/span><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n$(function() {\r\n  var fw = (window.orientation % 180 == 0)? screen.width : screen.height;\r\n  if(fw &lt; 768) {\r\n    document.getElementById(&quot;myVP&quot;).setAttribute(&quot;content&quot;,&quot;width=767px&quot;);\r\n  }\r\n});\r\n<\/pre>\n<p>1\u884c\u76ee : \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u30ed\u30fc\u30c9\u6642\u306b\u5b9f\u884c\u3059\u308b\u3002<br \/>\n2\u884c\u76ee : \u30b9\u30de\u30db\u306e\u50be\u304d\u3092\u78ba\u8a8d\u3057\u3001\u50be\u3051\u3089\u308c\u3066\u3044\u308b\u306a\u3089\u3070\u753b\u9762\u5e45=\u30b9\u30de\u30db\u753b\u9762\u306e\u9ad8\u3055\u3068\u3059\u308b\u3002<br \/>\n3,4\u884c\u76ee : iPad\u306e\u753b\u9762\u9ad8\u3055 768px\u3092\u95be\u5024\u3068\u3057\u3001\u3053\u308c\u3092\u4e0b\u56de\u308b\u753b\u9762\u30b5\u30a4\u30ba\u306e\u5834\u5408\u306b\u306f767px\u56fa\u5b9a\u5e45\u8868\u793a\u3068\u3059\u308b\u3002<br \/>\n\u203b\u3064\u307e\u308a\u3001iPhone5\u306e\u3088\u3046\u306a\u5c0f\u3055\u306a\u753b\u9762\u3067\u306f\u3001\u7e2e\u5c0f\u8868\u793a\u3055\u308c\u308b\u3002\u2192 \u3053\u308c\u306b\u3088\u308a\u5168\u4f53\u3092\u4fef\u77b0\u53ef\u80fd\u306b\u306a\u308b\u3002<\/p>\n<h1 class=\"my_h\">3. \u30b5\u30f3\u30d7\u30eb\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u3066\u52d5\u4f5c\u78ba\u8a8d<\/h1>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066 WEB\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3057\u3066\u307f\u308b\u3002<br \/>\n<a href=\"http:\/\/www.dogrow.net\/hp\/sample\/00097\/index1.html\" target=\"_blank\" rel=\"noopener\">\u52d5\u4f5c\u78ba\u8a8d\u306e\u305f\u3081\u306e\u30b5\u30f3\u30d7\u30eb\u30da\u30fc\u30b8<\/a><\/p>\n<p><span class=\"my_fw_bold\">index.html<\/span><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html lang=&quot;ja&quot;&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=&quot;utf-8&quot; \/&gt;\r\n    &lt;meta id=&quot;myVP&quot; name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot; \/&gt;\r\n    &lt;script src=&quot;jquery-3.5.1.min.js&quot;&gt;&lt;\/script&gt;\r\n    &lt;script src=&quot;myscript.js&quot;&gt;&lt;\/script&gt;\r\n    &lt;link rel=&quot;stylesheet&quot; href=&quot;style.css&quot; \/&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body&gt;\r\n    &lt;div&gt;\u8868\u793a\u5e45\u306b\u3088\u3063\u3066\u67a0\u7dda\u306e\u8272\u304c\u5909\u308f\u308a\u307e\u3059\u3002&lt;\/div&gt;\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p><span class=\"my_fw_bold\">myscript.js<\/span><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n$(function() {\r\n  var fw = (window.orientation % 180 == 0)? screen.width : screen.height;\r\n  if(fw &lt; 768) {\r\n    document.getElementById(&quot;myVP&quot;).setAttribute(&quot;content&quot;,&quot;width=767px&quot;);\r\n  }\r\n});\r\n<\/pre>\n<p><span class=\"my_fw_bold\">style.css<\/span><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n@charset &quot;UTF-8&quot;;\r\n\/* \u30d1\u30bd\u30b3\u30f3\u7528 : iPad\u4ee5\u4e0a\u306e\u5927\u304d\u306a\u753b\u9762 *\/\r\n@media (min-width: 768px){\r\n  div{\r\n    border: 3px #f00 solid;  \/* \u8d64\u67a0 *\/\r\n  }\r\n}\r\n\/* \u5927\u753b\u9762\u30b9\u30de\u30db\u7528 : iPhone6 Plus\u306a\u3069 *\/\r\n@media (min-width: 411px) and (max-width: 767px){\r\n  div{\r\n    border: 3px #0f0 solid;  \/* \u7dd1\u67a0 *\/\r\n  }\r\n}\r\n\/* \u5c0f\u753b\u9762\u30b9\u30de\u30db\u7528 : iPhone5, iPhone6\u306a\u3069 *\/\r\n@media (max-width: 410px){\r\n  div{\r\n    border: 3px #00f solid;  \/* \u9752\u67a0 *\/\r\n  }\r\n}\r\n<\/pre>\n<h3 class=\"my_h\">(1) iPad\u30b5\u30a4\u30ba(768 x 1024)\u3067\u306f\uff1f<\/h3>\n<p>CSS\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u66f8\u3044\u305f\u901a\u308a\u3001\u8d64\u67a0\u3067\u8868\u793a\u3055\u308c\u305f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/hp\/wp-content\/uploads\/2021\/02\/i001.png\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<h3 class=\"my_h\">(2) iPhone6 Plus\u30b5\u30a4\u30ba(414 x 736)\u3067\u306f\uff1f<\/h3>\n<p>CSS\u306e\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3067\u66f8\u3044\u305f\u901a\u308a\u3001\u7dd1\u67a0\u3067\u8868\u793a\u3055\u308c\u305f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/hp\/wp-content\/uploads\/2021\/02\/i002.png\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<p>\u56e0\u307f\u306b&#8230;<br \/>\nindex.html\u306e 7\u884c\u76ee\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3001\u3059\u306a\u308f\u3061 viewport\u66f4\u65b0\u306e\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u306a\u3044\u3068\u3053\u3046\u306a\u308b\u3002<br \/>\n\u6a2a\u5e45\u304c 727px\u3067\u306f\u306a\u304f 414px\u3067\u8868\u793a\u3055\u308c\u308b\u304b\u3089\u3001\u6587\u5b57\u304c\u7b49\u500d\uff08\uff1d\u4e0a\u306e\u3088\u3046\u306b\u7e2e\u5c0f\u306a\u3057\u3067\uff09\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/hp\/wp-content\/uploads\/2021\/02\/i010.png\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<h3 class=\"my_h\">(3) iPhone6\u30b5\u30a4\u30ba(375 x 667)\u3067\u306f\uff1f<\/h3>\n<p>CSS\u306b\u5f93\u3048\u3070\u9752\u67a0\u306b\u306a\u308b\u306f\u305a\u3060\u304c\u3001\u7dd1\u67a0\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u2235<\/span>viewport\u306e\u6307\u5b9a\u306b\u3088\u308a\u3001\u6a2a\u5e45727px\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u304b\u3089\uff01<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/hp\/wp-content\/uploads\/2021\/02\/i003.png\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<p>\u56e0\u307f\u306b&#8230;<br \/>\nindex.html\u306e 7\u884c\u76ee\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3001\u3059\u306a\u308f\u3061 viewport\u66f4\u65b0\u306e\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u306a\u3044\u3068\u3053\u3046\u306a\u308b\u3002<br \/>\n\u6a2a\u5e45\u304c 375px\u3067\u8868\u793a\u3055\u308c\u308b\u304b\u3089\u3001CSS\u306b\u5f93\u3063\u3066\u9752\u67a0\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/hp\/wp-content\/uploads\/2021\/02\/i011.png\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<h1 class=\"my_h\">4. \u6240\u611f<\/h1>\n<p>\u30fbviewport\u3067 width\u306e\u8a2d\u5b9a\u306f Google\u975e\u63a8\u5968\u3060\u305d\u3046\u306a\u306e\u3067\u3001SEO\u7684\u306b\u4e0d\u5229\u306b\u306a\u308b\u306e\u304b\u306a\uff1f<br \/>\n\u30fb\u666e\u6bb5\u306f\u4f7f\u7528\u3057\u306a\u304f\u3066\u3082\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u300c\u5168\u4f53\u3092\u4fef\u77b0\u3057\u305f\u3044\u300d\u3068\u601d\u3063\u305f\u3068\u304d\u306b viewport\u3092\u5e83\u3052\u308b\u64cd\u4f5c\u30dc\u30bf\u30f3\u3092\u7528\u610f\u3057\u3066\u3042\u3052\u308b\u306e\u304c\u89aa\u5207\u304b\u306a\u3002<\/p>\n<h1 class=\"my_h\">5. \u8b1d\u8f9e<\/h1>\n<p>\u6709\u7528\u306a\u60c5\u5831\u3092\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002M(_ _)m<br \/>\nhttps:\/\/qiita.com\/haru52\/items\/43f68c8d5adbbfc89b4d<\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>1. \u60a9\u307f\u3054\u3068 \u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30b5\u30a4\u30c8\u306e\u5236\u4f5c\u3092\u59cb\u3081\u3066 5\u5e74\u304c\u7d4c\u904e\u3057\u305f\u3002 \u4eca\u307e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e09\u7a2e\u985e\u306e\u5b9f\u73fe\u65b9\u6cd5\u3092\u7528\u3044\u3066\u8272\u3005\u306a\u30b5\u30a4\u30c8\u3092\u4f5c\u3063\u3066\u304d\u305f\u3002 (1) \u65b9\u6cd51 : \u30d6\u30e9\u30a6\u30b6\u7a2e\u5225\u3092\u53c2\u7167\u3057\u3066\u51fa\u529b\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u3002\u3010\u30b5\u30fc\u30d0\u30fc\u5074\u3011 \u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/hp\/blog97\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-1491","post","type-post","status-publish","format-standard","hentry","category-htmlcss","category-javascriptjquery"],"views":1253,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/posts\/1491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/comments?post=1491"}],"version-history":[{"count":54,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/posts\/1491\/revisions"}],"predecessor-version":[{"id":1552,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/posts\/1491\/revisions\/1552"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/media?parent=1491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/categories?post=1491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/hp\/wp-json\/wp\/v2\/tags?post=1491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}