Blogger Information
Blog 35
fans 0
comment 0
visits 26704
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3. 对于盒 模型中的内外边距, 边框的样式设置有什么不同, 写出你的理解
锋芒天下的博客
Original
708 people have browsed it

3. 对于盒 模型中的内外边距, 边框的样式设置有什么不同, 写出你的理解:



外边距margin:是盒子与同个层级盒子的距离,是透明的不能设置样式;

内边距padding:是外层盒子与内层盒子的距离,是透明的不能设置样式;

边框border:相当与给盒子穿了个衣服,可以设置宽度,样式,颜色;

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments