摘要: 一.position属性定位网页元素 1.static :默认值,没有定位。按照标准文档流的方式提现出来 2.relative:相对定位,相对于自身元素原来的位置进行定位 .div01{ position: relative; top: -20px; left: 20px; } 注意:当top的值为 阅读全文
posted @ 2018-06-21 15:10 wishsaber 阅读(193) 评论(0) 推荐(0)