<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koisuru_com</author_name>
  <author_url>https://blog.hatena.ne.jp/koisuru_com/</author_url>
  <blog_title>❤恋するコンピュータサイエンス❤</blog_title>
  <blog_url>https://koisuru-computer.hateblo.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>Q.■四角をブラウザの画面の中央に配置せよ。(css 設定でpostion absolute relative を使おう)A.正解は親要素にpostion relative, 子要素にpostion absoluteを指定するのが正解だ。これを理解するには２つのCSSの考え方を理解しなければならない。 ① 親要素と子要素 親要素とは、子要素を包含する要素のことであり、レイアウトの基準点となる。子要素は、その親要素の中に配置され、親の position によって動作が変わる。特に、親に position: relative; を設定すると、子要素の absolute の基準がその親になる。 ② …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoisuru-computer.hateblo.jp%2Fentry%2F2025%2F02%2F16%2F104210&quot; title=&quot;css postion 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>2025-02-16 10:42:10</published>
  <title>css postion absolute relative の使い方</title>
  <type>rich</type>
  <url>https://koisuru-computer.hateblo.jp/entry/2025/02/16/104210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
