2018年1月24日
摘要:
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
阅读全文
posted @ 2018-01-24 15:29
XIE7654
阅读(252)
推荐(0)
2018年1月23日
posted @ 2018-01-23 10:14
XIE7654
阅读(118)
推荐(0)
2018年1月22日
摘要:
简单字符串数组直接用set 数组对象去重
阅读全文
posted @ 2018-01-22 12:07
XIE7654
阅读(137)
推荐(0)
2018年1月20日
摘要:
service nginx restart
阅读全文
posted @ 2018-01-20 20:22
XIE7654
阅读(412)
推荐(0)
2017年11月29日
摘要:
onloadJS: function (url, callback) { let script = document.createElement('script') script.src = url script.type = 'text/javascript' document.getElemen
阅读全文
posted @ 2017-11-29 16:19
XIE7654
阅读(2659)
推荐(0)
2017年9月8日
摘要:
<canvas width="320" height="180" style="width:160px;height:90px;"></canvas>先放大2倍,再用css缩回原始大小
阅读全文
posted @ 2017-09-08 15:25
XIE7654
阅读(180)
推荐(0)
摘要:
http://jo2.org/html5-canvas%E7%94%BB%E5%9B%BE3%EF%BC%9A1px%E7%BA%BF%E6%9D%A1%E6%A8%A1%E7%B3%8A%E9%97%AE%E9%A2%98/
阅读全文
posted @ 2017-09-08 10:30
XIE7654
阅读(423)
推荐(0)
2017年8月29日
摘要:
@include flexBox;@include justify-content(center);@include align-items(center);
阅读全文
posted @ 2017-08-29 11:58
XIE7654
阅读(405)
推荐(0)
2017年8月25日
摘要:
.pages {overflow: auto; -webkit-overflow-scrolling: touch;//只需要加这个属性就可以在非 body 元素中,有惯性滚动的感受 } http://www.cnblogs.com/iron-whale/p/5919944.html
阅读全文
posted @ 2017-08-25 04:16
XIE7654
阅读(455)
推荐(0)
2017年8月18日
摘要:
解决方式:最终发现是字符串的格式不被某些浏览器失败,而导致的。 所以,不同的浏览器还是存在差异的,以下列出了所有浏览器都支持的方式。
阅读全文
posted @ 2017-08-18 10:51
XIE7654
阅读(251)
推荐(0)