题目内容

background-position属性的值通常设置为两个,中间用空格隔开,用于定义背景图像在元素的()?

A. 距离左边和下边
B. 距离右边和上边
C. 距离右边和下边
D. 距离左边和上边

查看答案
更多问题

( )代码表示背景图片距离父元素左边缘为50px,距离父元素上边缘为80px。

A. background-position:50px 80px;
B. background-position:80px 50px;
C. background:50px 80px;
D. background:80px 50px;

背景图像平铺background-repeat属性中,下面()项代表的是沿水平方向平铺?

A. repeat
B. no-repeat
C. repeat-x
D. repeat-y

如果希望背景图像固定在屏幕上,不随着页面元素滚动,可以使用如下()代码来实现?

A. background-attachment: scroll;
B. background-position:0px 0px;
C. background-repeat: no-repeat;
D. background-attachment: fixed;

请问用()属性设置网页背景图像效果?

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

答案查题题库