题目内容

下列样式代码中,用于定义盒子上边框为2像素、单实线、灰色的是( )

A. border-top:2px solid
B. CCC;
C. border-top:2px dashed
D. CCC;
E. border:2px solid
F. CCC;
G. border-top-style:solid; border-top-width:2px; border-top-color:
H. CCC;

查看答案
更多问题

text-transform:capitalize能使文本以大写字母开头。

A. 对
B. 错

text-indent:可改变元素的左边距。

A. 对
B. 错

如果需要在后代选择器中加入更多的元素,只需在元素之间加上逗号即可。

A. 对
B. 错

每个元素都必须定义内边距、边框、外边距等盒子模型的基本属性。( )

A. 对
B. 错

答案查题题库