Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 251 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 251 Bytes

行内元素的margin 和 padding

  • 水平方向:水平方向上,都有效;
  • 垂直方向:垂直方向上,都无效;(padding-toppadding-bottom 会显示出效果,但是高度不会撑开,不会对周围元素有影响)