单项选择题
(网站)float属性的破坏性是指它会使父容器的()塌陷,也就是父元素在()计算的时候会忽略浮动的元素。
A.宽度,高度
B.宽度,宽度
C.高度,宽度
D.高度,高度
点击查看答案&解析
相关考题
-
单项选择题
(网站)左上角:20px的圆角,这样的圆角样式设置正确的是()
A.border-left-radius:20px;
B.border-top-left-radius:20px;
C.border-radius-left-top:20px;
D.border-radius-top-left:20px; -
单项选择题
(网站)想要在span标签上设置width、height、margin等属性,需要将span的display属性设为()
A.inline-block
B.inline
C.block
D.none -
单项选择题
(网站)()样式可以定义一个10px蓝色向下的三角形?
A.width:0;height:0;border:10pxsolidtransparent;border-top-color:#00f;
B.width:10px;height:10px;border:10pxsolid#00f;border-top-color:transparent;
C.width:0;height:0;border:10pxsolidtransparent;border-bottom-color:#00f;
D.width:10px;height:10px;border:0pxsolid#00f;border-bottom-width:10px;
