Bootstrap5 位置(Position)

半兽人 发表于: 2020-07-27   最后更新时间: 2020-07-27  

位置

Use these shorthand utilities for quickly configuring the position of an element.

Common values

Quick positioning classes are available, though they are not responsive.

<div class="position-static">...</div>
<div class="position-relative">...</div>
<div class="position-absolute">...</div>
<div class="position-fixed">...</div>
<div class="position-sticky">...</div>


您需要解锁本帖隐藏内容请: 点击这里
本帖隐藏的内容




上一条: Bootstrap5 溢出(Overflow)
下一条: Bootstrap5 阴影(Shadows)