04 2016 档案

摘要:static 默认值 正常流中,不受left,bottom,right,top影响 relative相对于其原本位置(static)定位,原来的位置依然被占用 absolute 绝对定位,定义上下文为position不是static的祖先元素 脱离正常流,生成BFC fixed 与absulote的 阅读全文
posted @ 2016-04-18 11:55 miaolq 阅读(121) 评论(0) 推荐(0)
摘要:B.prototype=new A();或B.prototype=A.prototype;之后 var b=new B(); b instanceof A ==true;b instanceof B ==true; instanceof操作符和isPrototypeOf()函数,只要原型链出现过,就 阅读全文
posted @ 2016-04-08 16:52 miaolq 阅读(148) 评论(0) 推荐(0)