mihoutao

1、横向居中、纵向居中

 

2、纵向展示3个块级(div标签即可纵向展示)

 

3、横向展示3个块级

 

4、在横向块级上加上边框的两种方法

法一:在父级div上加上和样式一样高的height

 

法二:在父级div上没有加上height,需要在里面加上一句清除浮动的语句

 

 5、内边距padding-top、外边距margin-top:1px、margin-left:1px、margin-bottom:1px、margin-right(这个不用,有问题)或margin:1px 1px 1px 1px

 

 

 

分类:

技术点:

相关文章:

  • 2021-12-29
  • 2021-12-31
  • 2021-12-10
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2022-01-16
  • 2021-11-29
  • 2021-11-15
  • 2022-12-23
  • 2021-12-31
  • 2021-12-10
  • 2021-04-19
相关资源
相似解决方案