相对定位和绝对定位
摘要:
相对定位和绝对定位相对定位:position:relative;相对定位是让元素在当前位置上移动;exp:box{position:relative;left:20px;top:30px;}表示让box元素从当前位置开始,向左移动20px;向下移动30px;绝对定位:position:absolut 阅读全文
posted @ 2017-07-09 16:49 白川 阅读(198) 评论(0) 推荐(0) 编辑
posted @ 2017-07-09 16:49 白川 阅读(198) 评论(0) 推荐(0) 编辑
posted @ 2017-07-09 16:48 白川 阅读(515) 评论(0) 推荐(0) 编辑
posted @ 2017-07-02 15:26 白川 阅读(2398) 评论(0) 推荐(0) 编辑
posted @ 2017-07-02 15:24 白川 阅读(444) 评论(0) 推荐(0) 编辑