会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cart55free99
咦 点不到 就是点不到
首页
新随笔
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
26
下一页
2015年5月19日
关于BFC
摘要: 参考 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
阅读(190)
评论(0)
推荐(0)
2015年5月12日
CSS3 旋转 太阳系
摘要: 参考https://www.tadywalsh.com/web/cascading-solar-system/首先 旋转有两种方式 一种是使用 transform-origin 另一种是transform: rotate(..) translateY();用这个来理解transfrom-origin...
阅读全文
posted @ 2015-05-12 13:59 cart55free99
阅读(466)
评论(0)
推荐(0)
2015年5月9日
JS表格排序
摘要: var employees = [] employees[0] = { name: "George", age: 32, retiredate: "March 12, 2014" } employees[1] = { ...
阅读全文
posted @ 2015-05-09 13:41 cart55free99
阅读(184)
评论(0)
推荐(0)
2015年4月30日
Radio Checkbox Select 操作
摘要: 一个小总结 JS Bin ra1 ra2 ra3 .cb1 cb2 cb3 . JS//radio默认选择 获取到对应的radio然后修改checked属性document.querySelectorAll('input[type=rad...
阅读全文
posted @ 2015-04-30 00:41 cart55free99
阅读(429)
评论(0)
推荐(0)
2015年4月29日
querySelectorAll 和 jQuery选择器
摘要: 参考http://xahlee.info/js/jquery_diff_querySelectorAll.htmlhttp://stackoverflow.com/questions/11503534/jquery-vs-document-queryselectorall最明显的区别就是 $() 返...
阅读全文
posted @ 2015-04-29 22:26 cart55free99
阅读(480)
评论(0)
推荐(0)
2015年4月19日
圣杯(双飞翼)布局
摘要: 实现一个三列布局 左右固定 中间mainDIV 根据窗体大小而改变 这种写法对HTML的顺序有要求 两个浮动的元素要写在非浮动元素前面 圣...
阅读全文
posted @ 2015-04-19 23:30 cart55free99
阅读(183)
评论(0)
推荐(0)
2015年4月15日
硬币问题
摘要: 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
阅读(167)
评论(0)
推荐(0)
2015年4月14日
NodeJS 从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
阅读(197)
评论(0)
推荐(0)
2015年4月10日
算法面试题 之 最长递增子序列 LIS
摘要: 找出最长递增序列 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
阅读(221)
评论(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
阅读(263)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
26
下一页