摘要:
1.getBoundingClientRect用于获取某个元素相对于视窗的位置集合。集合中有top, right, bottom, left等属性。 .top:元素上边到视窗上边的距离; right:元素右边到视窗左边的距离; bottom:元素下边到视窗上边的距离; left:元素左边到视窗左边的 阅读全文
posted @ 2019-02-13 20:23
又回到了起点
阅读(134)
评论(0)
推荐(0)
摘要:
1.空div <div class="clearfloat"> div::after{ content:"."; display:block; height:0; clear:both; visibility:hidden; } 阅读全文
posted @ 2019-02-13 20:14
又回到了起点
阅读(170)
评论(0)
推荐(0)

浙公网安备 33010602011771号