摘要: setTimeOut(function,time,arg) function:要执行的函数 time:延时,毫秒 arg:传给function的参数 function test(){ console.log(arguments); } setTimeout(test,1000,1,2,3,4) 可以 阅读全文
posted @ 2017-05-12 17:37 IsaacYoung 阅读(407) 评论(0) 推荐(0)
摘要: 1.初始包含块,浏览器viewport大小 2.非根元素,position:relative/static,包含块为最近的块级框,表格单元或行内祖先框的内容区 3.非根元素,position:absolute,包含块为最近的position不是static的祖先元素,没有的话就是初始包含块 - 若祖 阅读全文
posted @ 2017-05-12 15:25 IsaacYoung 阅读(278) 评论(0) 推荐(0)