<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itechblog</author_name>
  <author_url>https://blog.hatena.ne.jp/itechblog/</author_url>
  <blog_title>Webエンジニアのメモ帳</blog_title>
  <blog_url>https://itechblog.hatenablog.com/</blog_url>
  <categories>
    <anon>技術メモ</anon>
  </categories>
  <description>はじめに Webサイトを表示する時に、PCから表示するのとスマホから表示するのとで見た目が異なるように実装することはよくあります。 このような実装をするためには、cssファイルで「画面の幅が何px以上or以下ならこのように表示」といった設定を行います。 いわゆる「レスポンシブデザイン」という手法です。 しかし、それだけでは上手く動きません。HTMLファイルに以下の文章を記述する必要があります。 &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1&quot;&gt; 意味が分からなくても、とりあえずコピペすれば動くには動くのですが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitechblog.hatenablog.com%2Fentry%2F2021%2F02%2F01%2F2021-02-01-211000%2F&quot; title=&quot;スマホ表示で設定する「ビューポート」について - Webエンジニアのメモ帳&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-01 21:10:00</published>
  <title>スマホ表示で設定する「ビューポート」について</title>
  <type>rich</type>
  <url>https://itechblog.hatenablog.com/entry/2021/02/01/2021-02-01-211000/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
