首页 > Web开发 > 详细

CSS学习笔记:盒子模型

时间:2018-07-15 14:25:36      阅读:252      评论:0      收藏:0      [点我收藏+]

盒子模型(CSS basic box model):When laying out a document, the browser‘s rendering engine represents each element as a rectangular box according to the standard CSS basic box model. CSS determines the size, position, and properties(color, background, border, size, etc.) of these boxes.

Every box is composed of four parts(or areas), defined by their respective edges: 

  1. content edge
  2. padding edge
  3. border edge
  4. margin edge

 

 技术分享图片

 

(非原创,侵删,内容来自https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Introduction_to_the_CSS_box_model)

CSS学习笔记:盒子模型

原文:https://www.cnblogs.com/colin220/p/9313392.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!