摘要: width,height 百分比参考点 为其父元素的宽高 绝对定位position: absolute元素; 其width,height,left,right,top,bottom属性百分比参考点为其位移参考点,即离其最近一个具有定位属性的父元素的width,height。固定定位position: 阅读全文
posted @ 2018-02-24 17:53 全世界最帅的程序员 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 相关文章 http://blog.csdn.net/junreycen/article/details/51261653 http://www.html-js.com/article/2402 https://segmentfault.com/a/1190000004403496 https://w 阅读全文
posted @ 2018-02-24 17:50 全世界最帅的程序员 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1.对于animation和keyframes和transform开头的属性,最好还要写一种兼容的,就是加上webkit的前缀 2.backface-visibility 需要加webkit前缀,移动端backface-visibility 即使是跟随父元素翻转,也能有效。pc端跟随父元素的翻转是无 阅读全文
posted @ 2018-02-24 17:45 全世界最帅的程序员 阅读(124) 评论(0) 推荐(0) 编辑
摘要: max-width,min-width ie7以上支持 rgba 只支持ie9及以上浏览器,ie8要用滤镜处理 border-radius 也只支持ie9以上 不需要加前缀 box-sizing ie8以上都兼容 但是要加上前缀 -moz-box-sizing: border-box; -webki 阅读全文
posted @ 2018-02-24 17:40 全世界最帅的程序员 阅读(633) 评论(0) 推荐(0) 编辑