项目六单元测试
- 下列样式代码中,可以实现静态定位模式的是( )。
- 下列样式代码中,可用于清除子元素浮动对父元素影响的是( )。
- 在CSS中,clear属性用于清除浮动,下列属于clear清除两端浮动的属性值是( )
- 当position属性的取值为absolute时,可以将元素的定位模式设置为绝对定位。( )
- 不可以通过边偏移属性更改相对定位元素的位置。( )
A:position: fixed; B:position: static; C:position: relative; D:position: absolute;
答案:position: static;
A:overflow:hidden; B:clear:center; C:clear:both; D:overflow: visible;
A:both B:center C:left D:right
A:错 B:对
A:对 B:错
温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!