①盒模型: 内容(content)、填充(padding)、边界(margin)、 边框(border)

②类型: IE 盒子模型、标准 W3C 盒子模型;

③两种盒模型的主要区别是:标准盒模型的宽高是值内容宽高(content)
 
④而IE盒模型的宽高是指content+padding+border。
 
⑤设置盒模型的方式是:设置box-sizing
    box-sizing:content-box  标准盒模型
    box-sizing:border-box IE盒模型
 
盒子模型的定位
   网页默认的布局方式
   浮动
   Position定位

 

相关文章:

  • 2021-09-09
  • 2021-06-22
  • 2021-11-18
  • 2021-06-07
  • 2021-03-29
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-05-01
  • 2022-12-23
  • 2022-01-27
相关资源
相似解决方案