以下CSS背景属性中,哪个样式用于设置背景图片的路径。
A: background-image:url('bgimage.gif');
B: background-repeat:no-repeat;
C: background-attachment:fixed;
D: background-position:center;
A: background-image:url('bgimage.gif');
B: background-repeat:no-repeat;
C: background-attachment:fixed;
D: background-position:center;
举一反三
- 以下CSS背景属性中,哪个样式用于设置背景图片的位置。 A: background-image:url('bgimage.gif'); B: background-repeat:no-repeat; C: background-attachment:fixed; D: background-position:center;
- 以下CSS属性中,哪一个用于设置背景图像? A: background-img; B: background; C: background-image; D: image;
- (网站)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-image B: background-repeat C: background-attachment D: background
- 设置背景颜色为 green, 背景图片垂直居中显示, 背景图片充 满整个区域,但是背景图片不能变形 , 图片只出现一次,以下书 写正确的是(): A: background:url("../img/img1.jpg") no-repeat center/cover green; B: background:url("../img/img1.jpg") repeat center/cover green; C: url("../img/img1.jpg") no-repeat center/100% green; D: url("../img/img1.jpg") no-repeat center/100% 100% green;