10 2020 档案
摘要:$(".totop").hide() console.log("事件载入") $(window).scroll(function(){ var scrolltop = $(document).scrollTop(); if(scrolltop > 200){ $(".totop").show() }
阅读全文
摘要:.img { display: inline-block; width: 18px;/*小图片的尺寸*/ height: 18px;/*小图片的尺寸*/ background:口#333 url(" images/ icons_ type . png") no repeat;/*雪碧图*/ back
阅读全文
摘要:原理: 1. 利用js定时器实现循环 or 利用动画实现循环 2. 平移轮播可以通过改变水平方向上的margin值实现; 单图出现的轮播可以定位消失和隐藏/z-index来实现;
阅读全文