<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>na_ah</author_name>
  <author_url>https://blog.hatena.ne.jp/na_ah/</author_url>
  <blog_title>na_ahのブログ</blog_title>
  <blog_url>https://na-ah.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは！ 今回はCSSでmax-width: 100%を指定する理由についてまとめます。 コード na-ah.hatenablog.com コードは前回と同様 ウインドウ幅を狭めた場合の挙動を比較 min-width: 300pxの場合 最小でも300pxという指定をしているため、ウィンドウ幅が300pxを下回ると、ボタンがはみ出している width: 300pxの場合 300px固定のため、同様にウィンドウ幅が300pxを下回ると、ボタンがはみ出している max-width: 300pxの場合 最大幅が300pxという指定のため、ウィンドウ幅が300pxを下回った場合でも、ウィンドウ幅に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fna-ah.hatenablog.com%2Fentry%2F2024%2F03%2F06%2F000000&quot; title=&quot;CSSでmax-width: 100%を指定する理由 - na_ahのブログ&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/n/na_ah/20240311/20240311163753.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-06 00:00:00</published>
  <title>CSSでmax-width: 100%を指定する理由</title>
  <type>rich</type>
  <url>https://na-ah.hatenablog.com/entry/2024/03/06/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
