摘要: 将一维数组转换为二维数组 es5 Array.prototype.erwei=function(){ if(!(this instanceof Array))new TypeError("parameter is wrong"); if(this.length==0){ var a=[],b;a[a 阅读全文
posted @ 2017-11-28 14:27 口金十兑 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 移动端内包括微信端: 设置meta标签达到视口的响应式。 通过rem作单位。来匹配不同型号的手机的适配。 微信端: 一般设视口为640px。 给html元素设置 font size:40px; html 内部最大宽度元素最大为width:16rem或 max width:16rem。这样其html内 阅读全文
posted @ 2017-11-28 14:25 口金十兑 阅读(172) 评论(0) 推荐(0) 编辑