CSS-Positionとは
CSSの位置を知る!
position:絶対、相対、固定は何が違いますか?
王国の蜘蛛人と王
そして王様の中に召使いがいると言ってみました.
<div class="kingdom">
<div>
<div class="spiderman">spiderman</div>
</div>
<div class="king">king
<div class="servant">Servant</div>
</div>
</div>
図に示すように、左から右下にposition:static、position値が割り当てられていない場合のデフォルト値位置:絶対、右:0

王国に相対を与える.


召使いは王の範囲を超えてはならない.

王の位置、召使いの位置:絶対と底:0を維持すれば、王国の底にくっついているのが見えます.
position:fixedは次のページを参照



終わりだ!
Reference
この問題について(CSS-Positionとは), 我々は、より多くの情報をここで見つけました https://velog.io/@jake93/TIL-CSS-레이아웃テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol