摘要: 除了height以外垂直方向上的margin-top(bottom)或者padding-top(bottom)的百分比取值都是相对于父元素的宽度 在默认的content-box盒模型下元素的width就是指的content的宽度: .box { width: 200px; height: 400px 阅读全文
posted @ 2018-07-20 14:49 心无引擎,眼无流派 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: var eventCenter = { sub:function(mesName, mesCallback){ this.argus=this.argus||{}; this.argus[mesName]=this.argus[mesName]||[]; this.argus[mesName].pu 阅读全文
posted @ 2018-07-20 09:28 心无引擎,眼无流派 阅读(211) 评论(0) 推荐(0) 编辑