![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码集
Ah阿慧
这个作者很懒,什么都没留下…
展开
-
css重置样式
/* * @Author: Marte * @Date: 2018-01-26 10:12:31 * @Last Modified by: Marte * @Last Modified time: 2018-01-26 10:37:43 */ /** 清除内外边距 **/ body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /*转载 2018-01-26 17:39:17 · 1642 阅读 · 0 评论 -
js定位到页面某个位置(锚点)
一. css控制html代码:<a name="aa">&nsbp;</a>锚点使用:<a href="#aa">跳至第一个锚点</a>二. js控制完成一个操作后跳转到另一个页面指定位置:1. location.href = "#aa"; 2. window.location.hash = "#aa&原创 2018-02-27 15:37:35 · 11230 阅读 · 0 评论