<?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>
    <anon>スマホ・タブレット</anon>
  </categories>
  <description>スマホは、機種によって画面の横幅のサイズが違う。ブラウザのpixelサイズも違う。 ＜ ブラウザの表示幅・ピクセル(pixel)チェック ＞ https://ok2nd.github.io/tool/html/pixel-check.html フォントサイズの指定方法には以下のものがある。 px：ピクセル(pixel)絶対値 em：親要素のfont-sizeを1とした倍率 rem：文書のルート要素のfont-sizeを1とした倍率 %：親要素のfont-sizeを基準値 vh：ビューポートの高さの% vw：ビューポートの横幅の% スマホの機種によらず、画面横幅に入る文字数を統一したい場合、「v…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2025%2F09%2F17%2F112330&quot; title=&quot;CSSレスポンシブ対応）スマホの機種によらず、画面横の文字数を同じにしたければ、font-sizeにvwを使う。 - 晴歩雨描&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/20250917/20250917105139.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-17 11:23:30</published>
  <title>CSSレスポンシブ対応）スマホの機種によらず、画面横の文字数を同じにしたければ、font-sizeにvwを使う。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2025/09/17/112330</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
