摘要:
1、margin: autodiv { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;}2、transformdiv { position: absolute; top: ... 阅读全文
posted @ 2017-04-06 16:07
ning0_o
阅读(103)
评论(0)
推荐(0)
摘要:
// 各种浏览器兼容var hidden, state, visibilityChange;if (typeof document.hidden !== "undefined") { hidden = "hidden"; visibilityChange = "visib... 阅读全文
posted @ 2017-04-06 14:28
ning0_o
阅读(641)
评论(0)
推荐(0)
摘要:
除了常用的for和while循环外,还有其他几种函数可以快速的处理数组1、forEach() array.forEach(function(currentValue, index, arr), thisValue) 返回值: undefinedvar arr = [10, 20... 阅读全文
posted @ 2017-04-06 11:37
ning0_o
阅读(487)
评论(0)
推荐(0)

浙公网安备 33010602011771号