jquery实现页面常用的返回顶部效果_jquery
来源:懂视网
责编:小OO
时间:2020-11-27 20:51:48
jquery实现页面常用的返回顶部效果_jquery
效果图。实现代码。 返回顶部 *{ margin: 0;padding: 0;} .wrap{ height: 2000px;} .gotop{ display: block;width: 32px;height: 32px;background-color: red;text-align: center;text-decoration: none;font-size: 14px;font-weight: bold;color: white;line-height: 32px;opacity: 0。
导读效果图。实现代码。 返回顶部 *{ margin: 0;padding: 0;} .wrap{ height: 2000px;} .gotop{ display: block;width: 32px;height: 32px;background-color: red;text-align: center;text-decoration: none;font-size: 14px;font-weight: bold;color: white;line-height: 32px;opacity: 0。
本文实例为大家分享了jquery实现返回顶部效果的全部代码,供大家参考,具体内容如下
效果图:

实现代码:
jquery实现页面常用的返回顶部效果_jquery
效果图。实现代码。 返回顶部 *{ margin: 0;padding: 0;} .wrap{ height: 2000px;} .gotop{ display: block;width: 32px;height: 32px;background-color: red;text-align: center;text-decoration: none;font-size: 14px;font-weight: bold;color: white;line-height: 32px;opacity: 0。