CSS position定位之static_css static-CSDN博客

网站介绍:CSS position定位详解一、static一、static默认值。没有定位,元素出现在正常的流中(忽略 top, bottom, left, right 或者 z-index 声明)。忽略 top, bottom, left, right 或者 z-index 声明,解释如下:absolute:生成绝对定位的元素,相对于 static 定位以外的第一个父元素进行定位。元素的位置通过 "left", "top", "right" 以及 "bottom" 属性进行规定。fixed:生成绝对定位_css static