会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lihuazhidao
博客园
首页
新随笔
联系
管理
订阅
04 2016 档案
button.submit label 的位置问题
摘要:Submit 这种情况下,在移动端,点击submit 时,键盘会一直保持存在而不会消失直到focus到其他元素上, 此时需要将button.submit 放到label 外面
阅读全文
posted @
2016-04-28 14:35
lihuazhidao
阅读(246)
评论(0)
推荐(0)
echart 数据留白
摘要:图表有行坐标缺省y轴值时,将y轴却略值设为,,,,,,
阅读全文
posted @
2016-04-21 18:07
lihuazhidao
阅读(551)
评论(0)
推荐(0)
D3导出png,保存到本地
摘要://依赖 IE9及以下不支持 Blob.js canvas-toBlob.js FileSaver.js Examples 下载
阅读全文
posted @
2016-04-20 15:27
lihuazhidao
阅读(2024)
评论(5)
推荐(0)
hrap + browsersync
摘要:https://github.com/superhighfives/harp-gulp-browsersync-boilerplate https://gist.github.com/geelen/a5fcb013de67f680cb8d gulp配置 var gulp = require('gulp'); var browserSync = require('brows...
阅读全文
posted @
2016-04-20 10:41
lihuazhidao
阅读(180)
评论(0)
推荐(0)
drag touch 事件
摘要:在自己的华为手机上,用drag事件写拖曳移动时没有touch事件来的流畅 原理 dragstart 记录起始点和上次拖曳停留的位置position(x,y) 开始监听drag事件 drag 事件 获取拖曳的距离(dx,dy),设置元素移动 dragend 取消监听drag 事件 touch事件类似 touchstart 记录起始点...
阅读全文
posted @
2016-04-19 14:36
lihuazhidao
阅读(373)
评论(0)
推荐(0)
公告