以下选项,用来设置背景图像URL的样式属性是()。
A: background-image
B: background-repeat
C: background-position
D: background-url
A: background-image
B: background-repeat
C: background-position
D: background-url
举一反三
- 以下选项,用来设置背景图像URL的CSS样式属性是() A: background-url: B: background-repeat: C: background-image: D: background-position:
- (网站)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;
- 以下哪些方式能正确设置背景图像 A: background:url(1.jpg) B: background-image:url(1.jpg); C: background-color:url(1.jpg); D: background-repeat:url(1.jpg);
- 下列CSS代码进行缩写,符合缩写的规范的是() A: background-position:00; B: background-repeat:no-repeat; C: background-image:url(background.gif); D: a-image:"background.gif"no-repeat00; E: background-url:"background.gif")no-repeat00; F: background:url("background.gif")no-repeat00; G: background:"background.gif"no-repeat00;
- 下面对背景样式设置不正确的是() A: background-color:red; B: background:url(pic.png)no-repeat300px25px; C: background-image:fixed; D: background-position:20px-20px;