<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>XxGodmoonxX</author_name>
  <author_url>https://blog.hatena.ne.jp/XxGodmoonxX/</author_url>
  <blog_title>青いやつの進捗日記。</blog_title>
  <blog_url>https://tech.motoki-watanabe.net/</blog_url>
  <categories>
    <anon>CSS</anon>
    <anon>position</anon>
    <anon>absolute</anon>
    <anon>relative</anon>
  </categories>
  <description>public-constructor.com 親要素にposition: relative;を持たせ、実際重ねたい要素にposition: absolute;をもたせます。 これで重ねたい要素は親要素の位置を基準になります。 これに加えて、absoluteを指定した要素にはX軸とY軸の指定が必要なので、top: 0; left: 0;などを指定あげると、動かせます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.motoki-watanabe.net%2Fentry%2F2019%2F05%2F25%2F174627&quot; title=&quot;画像の上に文字を重ねたい時、positionでabsoluteとrelative。 - 青いやつの進捗日記。&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>2019-05-25 17:46:27</published>
  <title>画像の上に文字を重ねたい時、positionでabsoluteとrelative。</title>
  <type>rich</type>
  <url>https://tech.motoki-watanabe.net/entry/2019/05/25/174627</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
