参考:http://www.imooc.com/video/1331
1.盒子模型工分为5层,由上到下依次是:border,padding+content,background-image,background-color,margin.
2.margin 设置的规则是顺时针,1个值的情况是4个边框,2个值是上下和左右,3个值是上,左右,下,4个值是上,右,下,左.
盒子模型学习笔记
原文:http://www.cnblogs.com/xuezizhenchengxuyuan/p/6412278.html