<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>art2nd</author_name>
  <author_url>https://blog.hatena.ne.jp/art2nd/</author_url>
  <blog_title>晴歩雨描</blog_title>
  <blog_url>https://2ndart.hatenablog.com/</blog_url>
  <categories>
    <anon>ホームページ、Web作成</anon>
  </categories>
  <description>↑ のWebページをスマホで単純に表示すると画面から少しはみ出てしまう。更に、スマホ画面でサムネイルを横に2つ並べたい。ということで、スマホで見るときに、ページ全体を縮小して表示したい。 ページの構成上、CSSのメディアクエリで実現するのは難しそう。 スマホでWebページ全体を縮小表示するために、viewportのinitial-scaleで縮小値を指定した。縮小値は、単に自分のスマホに合わせた。viewportは、パソコンのブラウザには影響しない。 &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=0.46, m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2019%2F02%2F17%2F104451&quot; title=&quot;備忘録：スマホでページ全体を縮小表示したい時は、viewportのinitial-scaleで縮小値を指定する。 - 晴歩雨描&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/art2nd/20190217/20190217103718.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-17 10:44:51</published>
  <title>備忘録：スマホでページ全体を縮小表示したい時は、viewportのinitial-scaleで縮小値を指定する。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2019/02/17/104451</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
