如果希望背景图像固定在屏幕上,不随着页面元素滚动,可以使用如下()代码来实现?
A: background-attachment: scroll;
B: background-position:0px 0px;
C: background-repeat: no-repeat;
D: background-attachment: fixed;
A: background-attachment: scroll;
B: background-position:0px 0px;
C: background-repeat: no-repeat;
D: background-attachment: fixed;
举一反三
- 要图像固定在屏幕上,不随页面元素滚动,以下正确的是() A: background-position:center; B: background-attachment:fixed; C: background-attachment:scroll; D: background-repeat:no-repeat;
- 以下关于背景描述正确的是( ). A: background-image B: background-repeat C: background-attachment D: background
- 假设页面背景中包含背景图像,则下列()可以使该元素内容在滚动的过程中,背景图像保持不动。 A: background-attachment: fixed; B: background-attachment: scroll; C: background-attachment: local; D: background-attachment: normal;
- 设置可以插入背景图片的属性有 A: background-image B: background-repeat C: background-attachment D: background
- 可以设置背景图像平铺方式的是________。 A: background-attachment:fixed; B: background-repeat:repeat-x; C: background-attachment:scroll; D: background-attachment:none;