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

浙公网安备 33010602011771号