题目内容

以下可以实现对背景图片定位的属性是()。

A. background-image
B. background-position
C. background-color
D. background

查看答案
更多问题

以下能实现计算盒子尺寸时将边框包含在内的样式表是()。

A. box-sizing:border-box;
B. box-sizing:border;
C. border-box:border;
D. border:border;

以下能把多个块元素排雷成一行,且从左到右排列的样式表是()。

A. float:right;
B. float:left;
C. float:none;
D. display:none;

以下能实现相对于离自己最近的父元素定位的样式表是()。

A. position:relative;
B. position:absolute;
C. position:fixed;
D. position:static;

以下能实现元素永远位于窗口中央的样式表的是()。

A. position:relative;top:0;left:0;right:0;bottom:0;
B. position:absolute;margin:atuo;top:0;left:0;right:0;bottom:0;
C. position:fixed;margin:atuo;top:0;left:0;right:0;bottom:0;
D. position:static;margin:atuo;top:0;left:0;right:0;bottom:0;

答案查题题库