<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>CSS</anon>
    <anon>Responsive</anon>
    <anon>HTML</anon>
    <anon>Tips</anon>
  </categories>
  <description>レスポンシブなサイトを実装する際に、モバイルなどエリアが小さくなる時にいい感じにテキストを改行させたい・デザイナーの要望で改行位置を固定させたいケースがあります。改行位置のためにメディアクエリで display を切り替えるのはイケてないので避けたく &lt;wbr /&gt; を使うことが多いのですが日本語だと&lt;wbr /&gt; でいい感じに改行されない問題に当たったのでメモ。 &lt;wbr&gt; は HTML の要素で、改行可能位置 — テキスト内でブラウザーが任意で改行してよい位置を表しますが、この改行規則は必要のない場合は改行を行いません。 cf. &lt;wbr&gt;: 改行可能要素 - HTML: ハイパーテキスト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2024%2F01%2F09%2F083000&quot; title=&quot;CSS 日本語で &amp;lt;wbr /&amp;gt; が効かないにハマる - かもメモ&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://m.media-amazon.com/images/I/41l92-uz4AL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-09 08:30:00</published>
  <title>CSS 日本語で &lt;wbr /&gt; が効かないにハマる</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2024/01/09/083000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
