摘要: 定位 1.相对定位 2.绝对定位 3.z-index 相对定位 代码图 效果图 小结 相对定位:position:relative; 相对于原来的位置,进行指定的偏移 top:-20px; left:20px; bottom:-10px; right:20px; 方块定位练习 代码 #box{ wi 阅读全文
posted @ 2021-08-31 22:55 cengxuyuan 阅读(368) 评论(0) 推荐(0)