摘要: position:absolute时,元素相对与最近的非static元素进行偏移 父级元素的偏移量起始点存在多个,选取优先级padding>content 如果父级含有padding属性,那么定位偏移量起始点是从padding算起,如果没有padding,那么偏移量起始点从content开始算起。 阅读全文
posted @ 2017-08-28 16:34 split 阅读(300) 评论(0) 推荐(0) 编辑