摘要: 转载: 链接 阅读全文
posted @ 2018-07-26 10:28 DAOLIDEWONIU 阅读(113) 评论(0) 推荐(0) 编辑
摘要: function split_array(arr, len){ var a_len = arr.length; var result = []; for(var i = 0 ; i < a_len ; i += len){ result.push( arr.slice( i, i + len )); } ... 阅读全文
posted @ 2018-07-05 23:59 DAOLIDEWONIU 阅读(2246) 评论(0) 推荐(0) 编辑
摘要: var numData = [10, 2, 8, 19, 28]; numData.reduce(function (a, b){return a + b}) 阅读全文
posted @ 2018-04-17 22:31 DAOLIDEWONIU 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 苹果: 安卓:(chrome) 阅读全文
posted @ 2018-04-02 21:37 DAOLIDEWONIU 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 链接 阅读全文
posted @ 2018-03-23 17:37 DAOLIDEWONIU 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 参考链接 阅读全文
posted @ 2018-03-21 16:26 DAOLIDEWONIU 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 2018-03-18 1、css reset 作用 用途 重置浏览器的css默认属性, 浏览器不同,样式不同,然后重置,让它们统一 2、css hack ? 3、Css引入方式几种? 主要有行内式、内嵌式、导入式和链接式4种 行内式:在标记的style属性中设定css样式 内嵌式:写在<head>和 阅读全文
posted @ 2018-03-18 22:00 DAOLIDEWONIU 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1、xhtml和html的区别 html是一种基本的web网页设计语言,xhtml是一个基于xml的置标语言; xhtml必须杯正确嵌套; xhtml元素必须被关闭; xhtml文档必须拥有根元素; 2、Doctype?严格模式和混杂模式-如何触发这两种模式,区分它们有何意义? 用于声明文档使用哪种 阅读全文
posted @ 2018-03-18 21:44 DAOLIDEWONIU 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 参考链接 阅读全文
posted @ 2018-02-27 16:18 DAOLIDEWONIU 阅读(106) 评论(0) 推荐(0) 编辑
摘要: CSS :focus-within伪类选择器和IE8就开始支持的:focus可以说是近亲,区别在于:focus表示当前元素处于focus状态时候干嘛干嘛,而:focus-within表示当前元素或者当前元素的子元素处于focus状态时候干嘛干嘛。 参考链接 阅读全文
posted @ 2018-02-26 17:47 DAOLIDEWONIU 阅读(104) 评论(0) 推荐(0) 编辑