background什么意思啊,background是啥意思

http://www.itjxue.com  2023-01-07 01:23  来源:未知  点击次数: 

网页制作中CSS设置里background和backgroun-image有什么区别?

1,background 简写属性在一个声明中设置所有的背景属性。

可以设置如下属性:

background-color

background-position

background-size

background-repeat

background-origin

background-clip

background-attachment

background-image

如果不设置其中的某个值,也不会出问题,比如 background:#ff0000 url('smiley.gif'); 也是允许的。

通常建议使用这个属性,而不是分别使用单个属性,因为这个属性在较老的浏览器中能够得到更好的支持,而且需要键入的字母也更少。

2,background-image 属性为元素设置背景图像。

元素的背景占据了元素的全部尺寸,包括内边距和边框,但不包括外边距。

默认地,背景图像位于元素的左上角,并在水平和垂直方向上重复。

简单来讲,background与background-image是包含关系,前者可以完成后者的功能,但后者不可以。

通常在写css的时候,一般来讲都直接用background做全局设置,不单独去设置。

background information是什么意思

background information:

背景信息;背景知识;背景情况

例句:

How much background information about your topic can you assume theybring to the presentation?

您认为他们对您话题的背景知识了解多少?

Here , of course , is where background information helps the public to draw itsconclusions .

当然这便是背景知识能帮助公众得出自己的结论之处。

The background information or history behind the story, video or news reportyou are viewing is known as a back-story .

故事的背景信息或来历、你看的影像或新闻报道被称为幕后故事。

Provides background information and samples to help users develop customWindows Forms controls.

提供帮助用户开发自定义Windows窗体控件的背景信息和示例。

The general manager seriously required that all the staff hand in their personalbackground information before the weekend.

总经理严肃要求所有员工在周末前上交个人背景材料。

The contents of these topics provide background information for the rest ofthis guide.

这些主题的内容为本指南的其余部分提供了背景信息。

Additional background information is necessary to establish a commonbaseline and framework for discussion at the meeting.

需要补充背景信息,以建立本次会议讨论的共同基础。

background是什么意思

background

画等的)背景; 底色; 背景资料; 配乐

Moulded by his background, he could not escape the traditional role of strict father.

受成长环境的影响,他摆脱不了严父的传统角色。

The background to the current troubles is provided by the dire state of the country'seconomy.

目前的问题是在国家经济岌岌可危的背景下出现的。

(责任编辑:IT教学网)

更多

推荐excel文章