阅读:1011回复:3
問4個CSS样式意思?
這4行CSS代表什麼意思?
.test{box-orient:horizontal} .test{box-align:center} .test{display:-moz-box} @media all and (min-width:600px){.test{margin:0}} 前3行在 W3C CSS level 3 Validator 都驗證錯誤?! box-orient, box-align 不是 CSS3 的東西嗎? -moz-box 好像沒 box 寫法? |
|
|
1楼#
发布于:2012-08-02 15:48
加上前缀moz
-moz-box-orient -moz-box-align 论坛经常超时,让我情何以堪啊。。。我再发 |
|
2楼#
发布于:2012-08-02 15:48
前3个现在都为试验性质的要在前面加-moz-
第一个是设置弹性盒模型中子元素的排列方式为水平排列 第二个为设置弹性盒模型中子元素对齐方式为居中对齐 第三个为设置对象元素显示方式为弹性盒模型显示 第四个是所有媒体设备类型显示宽度最小为600px时,应用外边距为0px的规则 |
|
3楼#
发布于:2012-08-02 15:48
弹性盒模型 是做啥用的啊
-moz 前綴的是 Mozilla 私有的,在 W3C 不可能會通過... errors (3): 1 .test Property box-orient doesn't exist : horizontal 2 .test Property box-align doesn't exist : center 3 .test Value Error : display -moz-box is not a display value : -moz-box |
|
|