为啥每一块的上下有间距呢?
小白
小白 2016-12-19 17:02:46
0
2
1095

为啥每一块的上下有间距呢?没看到有margin的代码啊

小白
小白

好好学习,天天向上!!!

reply all(2)
数据分析师

Why is there a gap between the top and bottom of each piece? -PHP Chinese website Q&A-Why is there a gap between the top and bottom of each block? -PHP Chinese website Q&A

Please watch and learn.

迷茫

在html中,标签有自带的属性,块元素默认是有margin和padding的默认值,所以在编写页面时,需要通过css样式清除默认的padding和margin值!如div{margin:0; padding:0;}

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