CSS定位(position)

什么是定位 css中的position属性,position有四个值:absolute/relative/fixed/static(绝对/相对/固定/静态(默认))经过定位属性能够设置一些不规则的布局,使用TLBR(top,left,bottom,right)来调整元素位置。css 各个属性值的描述: **static(静态) **没有特别的设定,遵循基本的定位规定,不能经过z-index进行层次
相关文章
相关标签/搜索