老师同学,为什么绝对定位,top:0px 实际PS测量多了3PX?谢谢
。_玻璃心
。_玻璃心 2017-03-26 15:38:17
0
3
2094


124.png

老师同学,为什么绝对定位,top:0px  实际PS测量多了3PX?谢谢


。_玻璃心
。_玻璃心

reply all(3)
Peter Zhu

To make a digression, if the value is 0, it is strongly recommended not to add the unit px


数据分析师

Teacher and classmates, why is absolute positioning, top:0px, the actual PS measurement 3PX more? Thank you - PHP Chinese website Q&A - Teachers and classmates, why is absolute positioning, top:0px, the actual PS measurement 3PX more? Thank you - PHP Chinese website Q&A

Take a look and learn.

Ty80

最好直接贴代码,不要截图。加  

box-sizing:border-box;

试试

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template