background image的意思|示意

美 / ˈbækɡraund ˈimidʒ / 英 / ˈbækˌɡraʊnd ˈɪmɪdʒ /

背景影像


background image的用法详解

'

很多时候我们想在网页上显示一张背景图片,这时需要使用background image这个属性。

Background image是CSS样式语言(Cascading Style Sheets)中的一项属性,它用来指定一个网页或元素的背景图片。它可以使用图像URL,设置背景图片的类型、位置、是否重复等属性。

Background image的常用语法:

background-image:[image url] | none | inherit;

background-image: url(image url);

其中,image url表示的是图片的URL,none表示没有背景图片,inherit表示继承父元素的背景图片。

background-image还可以设置四个附加属性:

background-repeat:repeat | repeat-x | repeat-y | no-repeat | inherit;

background-position:[% | x-offset | y-offset] | top left | top center | top right | center left | center center | center right | bottom left | bottom center | bottom right | inherit;

background-attachment:scroll | fixed | inherit;

background-size:[width | height] | auto | contain | cover | inherit;

以上就是关于英语单词background image的用法讲解。Background image通常在网页设计中使用,它可以使用图像URL,并设置背景图片的类型、位置、是否重复等属性,使得网页更加精彩有趣。

'

background image相关短语

1、 Update Background Image 更新背景,更新背景图像,更新配景

2、 background-image 背景图片,背景图像,只是渐变,背景图片属性

3、 background image interference 背景图像干扰

4、 Modifying a Background Image 改进背景图

5、 Choosing a Background Image 选择背景图

6、 Remove Background Image 去除背景图像

7、 Full Size Background Image 全背景图插件

8、 Open background image 打开背景图

9、 Background Image-forward 背景图像转发式