移动web
帅的没朋友
这个作者很懒,什么都没留下…
展开
-
移动端 仿京东轮播图
CSS部分 /* 轮播图 */ .jd_banner { width: 100%; overflow: hidden; position: relative; } .jd_banner ul:first-child { width: 1000%; transform: translateX(-10%); -webkit-transform: tr...原创 2018-09-27 23:52:29 · 1477 阅读 · 0 评论 -
利用swiper插件实现移动端轮播图
准备: swiper.min.css swiper.min.js swiper.min.css: head 标签内引入 swiper.min.js: 标签前引入 CSS 部分 /* swiper start*/ .swiper-container { width: 100%; } .swiper-container .swiper-wrapper { width: 1000...原创 2018-09-28 00:03:14 · 837 阅读 · 0 评论 -
移动端 促销倒计时
促销倒计时 HTML 部分 <div class="time"> <span>0</span>原创 2018-09-28 17:29:45 · 364 阅读 · 0 评论 -
介绍FastClick.j插件
为什么要使用FastClick 移动设备上的浏览器默认会在用户点击屏幕大约延迟300毫秒后才会触发点击事件,这是为了检查用户是否在做双击。为了能够立即响应用户的点击事件,才有了FastClick。 项目地址:https://github.com/ftlabs/fastclick 在页面直接引入fastclick.js 初始化FastClick实例 初始化FastClick实例建议在页面的DOM文...原创 2018-09-28 18:04:28 · 228 阅读 · 0 评论