由内到外内容 、填充 、边框 、外边距 组成盒子模型
盒子模型分类
1
2 " en " >
3
4 " UTF-8 " >
5 CSS3-boxModel
6 " stylesheet " type= " text/css " href= " styles/main.css " >
7 " scripts/jquery-1.12.3.min.js " type= " text/javascript " >
8 " text/javascript " >
9 $(function(){
10 var sbox = $.boxmodel ? " 标准w3c " : " ie " ;
11 console.log( " 您的页面目前支持: " +sbox+ " 盒子模型 " );
12 })
13
14
15
16
17
18
W3C盒子模型IE盒子模型都具备内容(content)、填充(padding)、边框(border)、边界(margin)这些属性W3C盒子模型IE盒子模型都具备内容(content)、填充(padding)、边框(border)、边界(margin)这些属性
19
查看更多关于CSS3盒子模型<BoxModel>-Avenstar的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did115616