设置图像不平铺,正确的是( )。
A: background-image:no
B: background-image: repeat
C: background-image: repeat-x
D: background-image:no-repeat
A: background-image:no
B: background-image: repeat
C: background-image: repeat-x
D: background-image:no-repeat
举一反三
- 以下( )代码可以实现背景平铺效果 A: div{background-image:url(image/bg.gif);} B: div{background-image:url(image/bg.gif) repeat-x;} C: div{background-image:url(image/bg.gif) repeat-y;} D: div{background-image:url(image/bg.gif) no-repeat;}
- 以下CSS属性中,哪一个用于设置背景图像? A: background-img; B: background; C: background-image; D: image;
- 下列设置图片背景的语法正确的是( )。 A: p{background-image:url(image/flower.jpg)} B: p{background-image: (image/flower.jpg)} C: p{background-image:src(image/flower.jpg)} D: p{background-image:href(image/flower.jpg)}
- (网站)background-color:#ccc;background-image:url(bg.png);background-repeat:no-repeat;background-position:-100pxcenter;以上样式的缩写正确的是?() A: background:#ccc,url(bg.png)no-repeat,-100pxcenter; B: background:#cccurl(bg.png)no-repeat-100pxcenter; C: background:#ccc;background-image:url(bg.png)no-repeat-100pxcenter; D: background-color:#ccc;background-image:url(bg.png)no-repeat-100pxcenter;
- 设置CSS背景图片中,用于设置网页元素的背景图像无背景的代码是什么 A: background-image:repeat; B: background-image:repeat-x; C: background-image:repeat-y; D: background-image:none;