上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 26 下一页
摘要: 参考 http://www.html-js.com/article/1866(很棒! 还有栗子)http://www.cnblogs.com/lhb25/p/inside-block-formatting-ontext.htmlhttps://yimity.com/2013/05/10/bfc-bl... 阅读全文
posted @ 2015-05-19 23:07 cart55free99 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 参考https://www.tadywalsh.com/web/cascading-solar-system/首先 旋转有两种方式 一种是使用 transform-origin 另一种是transform: rotate(..) translateY();用这个来理解transfrom-origin... 阅读全文
posted @ 2015-05-12 13:59 cart55free99 阅读(458) 评论(0) 推荐(0) 编辑
摘要: var employees = [] employees[0] = { name: "George", age: 32, retiredate: "March 12, 2014" } employees[1] = { ... 阅读全文
posted @ 2015-05-09 13:41 cart55free99 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 一个小总结 JS Bin ra1 ra2 ra3 .cb1 cb2 cb3 . JS//radio默认选择 获取到对应的radio然后修改checked属性document.querySelectorAll('input[type=rad... 阅读全文
posted @ 2015-04-30 00:41 cart55free99 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 参考http://xahlee.info/js/jquery_diff_querySelectorAll.htmlhttp://stackoverflow.com/questions/11503534/jquery-vs-document-queryselectorall最明显的区别就是 $() 返... 阅读全文
posted @ 2015-04-29 22:26 cart55free99 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 实现一个三列布局 左右固定 中间mainDIV 根据窗体大小而改变 这种写法对HTML的顺序有要求 两个浮动的元素要写在非浮动元素前面 圣... 阅读全文
posted @ 2015-04-19 23:30 cart55free99 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 10元 用 1 2 5 有多少种凑法也是动态规划的方式 当10元里面有一个5元 那么实际上问题就变成了5元怎么凑(是指用 1 2 怎么凑) var sum = 10; var arr = [1, 2, 5]; var selected = []; function get... 阅读全文
posted @ 2015-04-15 23:33 cart55free99 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 查看Node 基本配置$ npm config ls -l$npm help install将展开install的help文档初始化目录 npm init 根据提示完成 将生成package.json全局安装和本地安装globally —- This drops modules in {prefix 阅读全文
posted @ 2015-04-14 15:39 cart55free99 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 找出最长递增序列 O(NlogN)(不一定连续!)参考 http://www.felix021.com/blog/read.php?1587%E5%8F%AF%E6%98%AF%E8%BF%9E%E6%95%B0%E7%BB%84%E9%83%BD%E6%B2%A1%E7%BB%99%E5%87%B... 阅读全文
posted @ 2015-04-10 23:24 cart55free99 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 参考http://www.ahathinking.com/archives/120.htmlvar arr = [2, 8,-2, 3, 5, -3, 2];//传统方法 O(n^2)function fun1(arr){ var maxSum =arr[0]; var maxSumArr = ... 阅读全文
posted @ 2015-04-10 17:32 cart55free99 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 26 下一页