项目六单元测试
  1. 下列样式代码中,可以实现静态定位模式的是( )。

  2. A:position: fixed; B:position: static; C:position: relative; D:position: absolute;
    答案:position: static;
  3. 下列样式代码中,可用于清除子元素浮动对父元素影响的是( )。

  4. A:overflow:hidden; B:clear:center; C:clear:both; D:overflow: visible;
  5. 在CSS中,clear属性用于清除浮动,下列属于clear清除两端浮动的属性值是( )

  6. A:both B:center C:left D:right
  7. 当position属性的取值为absolute时,可以将元素的定位模式设置为绝对定位。( )

  8. A:错 B:对
  9. 不可以通过边偏移属性更改相对定位元素的位置。( )

  10. A:对 B:错

温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!
点赞(1) dxwkbang
返回
顶部