<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tnkyy</author_name>
  <author_url>https://blog.hatena.ne.jp/tnkyy/</author_url>
  <blog_title>お読みあそばせ</blog_title>
  <blog_url>https://eupholab.net/</blog_url>
  <categories>
    <anon>デザイン・コーディング</anon>
  </categories>
  <description>昨日の夜。railsで、::beforeでいれてるbackground-image: image-url(ほにゃほにゃ.svg)が表示されないのなんでや……— ユーホ (@tnkyy) 2020年3月9日 もう眠いから明日にしよ……。ということで、今朝格闘していた。 結論 疑似要素の背景画像で表示させたい場合（ボタンの矢印アイコンとか）はこれでよい。 background-image: url(&quot;sample.png&quot;); あらまし まず前提として、Railsで背景画像を表示したいとき以下のSCSS・CSSでは表示されない。 background-image: url(&quot;sample.png&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feupholab.net%2Fentry%2F2020%2F03%2F10%2F184740&quot; title=&quot;【Railsあるある】疑似要素の背景が表示されない - お読みあそばせ&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>2020-03-10 18:47:40</published>
  <title>【Railsあるある】疑似要素の背景が表示されない</title>
  <type>rich</type>
  <url>https://eupholab.net/entry/2020/03/10/184740</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
