摘要:
static:静态定位(默认)。依据文档流定位。
relative:相对定位。以自身为基准,设置坐标(left、top、right、bottom),不脱离文档流。
absolute:绝对定位。以父元素为基准,设置坐标(left、top、right、bottom),脱离文档流。
fixed:固定定位。以浏览器窗口为基准,设置坐标(left、top、right、bottom),脱离文档流。 阅读全文
posted @ 2023-12-12 11:41
芊嵛
阅读(119)
评论(1)
推荐(1)

浙公网安备 33010602011771号