增加返回顶部按钮
(1)页面定制css代码
#back-to-top { background-color: #00CD00; bottom: 0; box-shadow: 0 0 6px #00CD00; color: #444444; padding: 10px 10px; position: fixed; right: 50px; cursor: pointer; }
(2)页脚html代码
<span id="back-to-top"><a href="#top">返回顶部</a></span>