a 元素是是一个行内元素,display:block;就是将他强行转化为块级元素。行内元素没有没有上下填充,也就是说你设置padding-top padding-bottom将是徒劳

相关文章:

  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2022-12-23
  • 2021-10-20
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-06-26
相关资源
相似解决方案