Home > Web Front-end > HTML Tutorial > padding和margin的区别_html/css_WEB-ITnose

padding和margin的区别_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:32:41
Original
1273 people have browsed it

简单来说,padding就是内边距,margin就是外边距如下图:

margin和padding的区别用图表示为:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template