background有哪些属性

作者&投稿:伏怖 (若有异议请与网页底部的电邮联系)
background 中有几个属性值,分别是什么~

background-color 规定要使用的背景颜色。
background-image 规定要使用的背景图像。
background-repeat 规定如何重复背景图像。
background-attachment 规定背景图像是否固定或者随着页面的其余部分滚动。
background-position 规定背景图像的位置。

一、字体属性
  与字体有关的属性包括:font-family,font-style,font-variant,font-weight,
font-size,font。执行顺序是:font-style,font-variant,font-weight,font-size
1、font-family:如果字体的名称中含有空格,那么要加上双引号。
2、font-style:normal|italic|oblique
3、font-variant:normal|small-caps
4、font-weight:normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900
  normal相当于400,bold相当于700
5、font-size:absolute-size|relative-size|length|percentage
absolute-size:xx-small|x-small|small|medium|large|x-large|xx-large
relative-size:larger|smaller
6、font:font-style|font-variant|font-weight|font-size|line-height|font-family
  font属性可以一次定义前边提到的所有的字体属性。

background-attachment:scroll | fixed scroll:背景图像是随对象内容滚动。 fixed:背景图像固定。background-color:transparent | color transparent:背景透明色。 color:指定颜色、background-image:none | url none:无背景图。 url:使用绝对或相对地址指定背景图像。background-position : length || length length :  百分数 | 由浮点数字和单位标识符组成的长度值。
background-position : position || position position :  top | center | bottom | left | center | right
background-positionX : length | left | center | right length :  百分数 | 由浮点数字和单位标识符 组成的长度值。 left :  居左 ,center :  居中 ,right :  居右
background-positionY : length | top | center | bottom length :  百分数 | 由浮点数字和单位标识符组成的长度值。left :  居左 ,center :  居中 ,right :  居右
background-repeat : repeat | no-repeat | repeat-x | repeat-y repeat :  背景图像在纵向和横向上平铺,no-repeat :  背景图像不平铺,repeat-x :  背景图像在横向上平铺,repeat-y :  背景图像在纵向平铺

Background Properties
属性CSS Version
版本Compatibility
兼容性Inherit From Parent
继承性Description
简介backgroundCSS1IE4+ , NS4+无复合属性。设置或检索对象的背景特性background-attachmentCSS1IE4+ , NS6+无设置或检索背景图像是随对象内容滚动还是固定的background-colorCSS1IE4+ , NS4+无设置或检索对象的背景颜色background-imageCSS1IE4+ , NS4+无设置或检索对象的背景图像background-positionCSS1IE4+ , NS6+无设置或检索对象的背景图像位置background-positionXIE专有属性IE5.5+无设置或检索对象的背景图像横坐标位置background-positionYIE专有属性IE5.5+无设置或检索对象的背景图像纵坐标位置background-repeatCSS1IE4+ , NS4+无设置或检索对象的背景图像是否及如何铺排layer-background-colorNS专有属性NS4+无设置或检索对象整个区域的背景颜色layer-background-imageNS专有属性NS4+无设置或检索对象整个区域的背景图像

background-color
background-position
background-size
background-repeat
background-origin
background-clip
background-attachment
background-image
给你一个网站 http://www.w3school.com.cn/css/pr_background.asp

属性有金,木水火土

参考:http://www.w3school.com.cn/css/pr_background.asp




background是什么意思 英语background是什么意思
1、background英[ b kɡra nd]美[ b kɡra nd],n.出身背景; 学历; 经历; (事态发展等的)背景; 后景; 背景; 不显眼的位置; 底色。2、[例句]She didnt enlighten him about her background.她未向他讲明自己的出身背景。

背景用英语怎么写?
background主要用作可数名词。作“后景;背景”“底色”解时常用作单数名词;作“(事态发展等的)背景”解时常用作单数名词,也可用作不可数名词;作“不显眼的位置;幕后 ”解时只用作单数名词。background后接介词for,of或to表示“某方面的背景或经历”; 接介词in 表示“在…背景中;在幕后”;前面...

background是什么意思中文翻译
background的中文意思为“出身背景;学历;经历;(事态发展等的)背景;后景;背景;门第;幕后;背景资料,基本情况;隐蔽的地位;【纺织】底子”。background 一、读音 英 [?bækɡra?nd] 美 [?bækɡra?nd]二、释义 n. 出身背景;学历;经历;(事态发展等的)背景;后...

background什么意思
background的意思是背景。以下是详细解释:1. 基本定义 在多种语境下,“background”这个词都可以表示“背景”。例如,在计算机网络中,它可以指代网站或应用程序的背景设计;在谈论个人信息时,它可以指个人的教育背景、工作背景等。2. 在不同领域的应用 工作环境背景:在职业领域,“background”常常用...

background是什么意思
background最直接的意思是“背景”。在计算机领域,它可以指一个界面或图像中的背景部分,也可以指代某个程序或系统的背景设置。此外,在网页设计或移动应用设计中,background常用来描述页面的背景颜色、图像或样式。2. 深层含义:除了直观的视觉含义,background在编程中也有更深层的意义。例如,在编程中...

background是什么意思
background [英][ˈbækgraʊnd][美][ˈbækˌɡraʊnd]n.(画等的)背景; 底色; 背景资料; 配乐;复数:backgrounds 例句 1.Paint the background tones lighter and the colours cooler.将背景色调涂淡一点,颜色偏冷一些。2.At that time, I had no...

“背景”的英文怎么说?
background 1、读音 \/'bækɡraʊnd\/ 2、释义 n. 背景;隐蔽的位置 vt. 作…的背景 adj. 背景的;发布背景材料的 3、例句 And have it in the background.把它用作电影的背景。

background和backdrop区别
意思不同、用途不同。1、“Background”通常指的是一个人、事物或场景出其他事物或场景的后面,作为背景或环境的一部分,“Backdrop”通常指的是一个装饰性的幕布或背景布景,特别是在舞台、摄影棚或其他表演场所使用。2、“Background”可以用来描述一个物体或场景在一个更大的背景中的位置或状态。“...

background是什么意思
1、background的基本意思是“背景”“底色”,主要指图画或照片中在主要人物或景象之后起衬托作用的部分。引申可表示“人的背景资料”,主要包括家庭、所属社会阶层、经历、学历状况等。还可表示“背景情况”,指事情发生时所处的时间、地点和外部环境等。2、background主要用作可数名词。作“后景;背景...

background什么意思
background意思有背景、背景资料、知识背景、背景音乐、背景检查等。1、背景:在描述一幅画、照片或场景时,我们经常使用"background"来指代背景部分。这表示一个物体或人物的周围环境,它通常位于前景之后,提供了整体视觉上的衬托和补充信息。2、背景资料:在某些情况下,"background"也可以指个人或事物的...

遵义市15714955262: css中的background的属性 -
坚冠金馨: background里面有背景颜色,背景图片,背景图片是x或者y平铺,或者是no-reapt,还有背景图片不平铺的话水平方向和垂直方向的间距等等,具体你要知道哪些,可以hi我.

遵义市15714955262: background 中有几个属性值,分别是什么 -
坚冠金馨: background-color 规定要使用的背景颜色.background-image 规定要使用的背景图像.background-repeat 规定如何重复背景图像.background-attachment 规定背景图像是否固定或者随着页面的其余部分滚动.background-position 规定背景图像的位置.

遵义市15714955262: background有哪些属性 -
坚冠金馨: background-attachment:scroll | fixed scroll:背景图像是随对象内容滚动. fixed:背景图像固定. background-color:transparent | color transparent:背景透明色. color:指定颜色、 background-image:none | url none:无背景图. url:使用绝对...

遵义市15714955262: CSS 属性求高人详解!!BACKGROUND: url(In - Rc - 54.gif) repeat - y right 50%...
坚冠金馨: 是这样的,我们从background 属性说起: background,可以按顺序设置如下属性: * background-color-----------------背景颜色 * background-image----------------背景图像---------------------------url(In_Rc_54.gif) * background-repeat---------------背景图像...

遵义市15714955262: 网页制作中CSS设置里background和backgroun - image有什么区别? -
坚冠金馨: 1,background 简写属性在一个声明中设置所有的背景属性.可以设置如下属性:background-color background-position background-size background-repeat background-origin background-clip background-attachment background-image 如果不设...

遵义市15714955262: html background属性 -
坚冠金馨: background 属性在一个声明中设置所有的背景属性.语法:Object.style.background=background-color background-image background-repeat background-attachment background-position 参数 描述 值 background-color 设置元素的背景色. color...

遵义市15714955262: 在htm <table> 标签的中background和bgcolor两个属性有什么关系? -
坚冠金馨: 两者没有关系,一个设置制定标签的背景图片一个是设置背景颜色. 1、background 属性是在一个标签中设置所有的背景属性,在表格中也是如此,例如: html> <body> <table border="1"> <tr> <td background="1.jpg" width="100px" ...

遵义市15714955262: html中background如何设置?格式是什么?
坚冠金馨: 只图片的话可以用background-image属性 background有以下几种属性

遵义市15714955262: css中的background属性问题! -
坚冠金馨: 首先background图片的位置对于转载它的元素的宽度不会有任何影响,所以它既不算padding也不算margin,应该用position的left和top来解释.如果一定要套用padding或者margin的概念的话,我想它应该是属于padding,所谓的padding,就是内填充,如果我们设置了背景图片位置的同时,又设置了背景颜色,那么背景颜色的边界并不会因为背景图片的位置发生了改变而改变,从这个角度来看,它应该类似于padding.

遵义市15714955262: css 背景background属性的简写我看不懂意思? -
坚冠金馨: 0px 32px; 距离顶部0px 左边32px 相当于margin. right右对齐.-132px表述距离顶部-132px,也就是顶部132px的背景是在body之外的. left top就是左对齐 顶头对其了

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网