barriers / 阅读 / 详情

在css中background-attachment: fixed的意思是啥

2023-06-25 10:35:24
TAG: nt tac ground hme
共5条回复
max笔记
在CSS中,首先需要理解background-attachment的意思是定义背景图片随滚动轴的移动方式,取值方式有:scroll | fixed | inherit,scroll: 随着页面的滚动轴背景图片将移动,fixed: 随着页面的滚动轴背景图片不会移动,inherit: 继承,具体的用法通过代码来理解:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS background-attachment 属性示例</title>
<style type="text/css" media="all">
body
{
background-image:url("/images/list-orange.png"); //图片的地址你可以去自行添加,这里只是假设的一种图片
background-attachment:fixed;
background-repeat:repeat-x;
background-position:center center;
position:absolute;
height:5000px;
}
</style>
</head>
<body>
<p>拖动滚动条,并且注意中间有一条橙色线并不会随滚动条的下移而上移.</p>
北境漫步
background-attachment :定义背景图片随滚动轴的移动方式
取值: scroll | fixed | inherit
scroll: 随着页面的滚动轴背景图片将移动
fixed: 随着页面的滚动轴背景图片不会移动
inherit: 继承初始值: scroll
继承性: 否
适用于: 所有元素
LocCloud

background-attachment:设置或检索背景图像是随对象内容滚动还是固定的;

fixed:固定

cloudcone

背景图片固定,不随滚动条滚动

okok云

..不加这句.firefox之类的浏览器就不兼容..

相关推荐

inherit是什么意思

2023-06-25 08:34:413

inherit;是什么意思

inherit英[u026anu02c8heru026at]美[u026anu02c8hu025bru026at]vt.& vi.继承vt.经遗传获得(品质、身体特征等),继任第三人称单数:inherits现在分词:inheriting过去式:inherited过去分 1He has no son to inherit his land.他没有儿子来继承田产。
2023-06-25 08:34:542

inherit是什么意思

inherit[英][u026anu02c8heru026at][美][u026anu02c8hu025bru026at]vt.& vi.继承; vt.经遗传获得(品质、身体特征等),继任; 第三人称单数:inherits现在进行时:inheriting过去式:inherited过去分词:inherited双语例句 Why didn"t he inherit that charm?他为什么没有继承那种魅力呢?
2023-06-25 08:35:014

inherit;是什么意思

inherit[英][u026anu02c8heru026at][美][u026anu02c8hu025bru026at]vt.& vi.继承; vt.经遗传获得(品质、身体特征等),继任; 第三人称单数:inherits现在进行时:inheriting过去式:inherited过去分词:inherited
2023-06-25 08:35:093

传承 英文怎么翻译?

古韵今风 , 无限传承Old rhythms and modern styles,pass on from generation to generation.
2023-06-25 08:35:173

继承英语

继承的英语是inherit。英[u026an"heru026at];美[u026an"heru026at]。v.继承;遗传。例句:She inherited a house from her father.翻译:她从她父亲那儿继承了一所房子。短语:1、inherit a fortune:继承财产。2、inherit one"s father:(子)承父业。3、inherit sb"s job:接某人的班,接替某人的工作。近义词receive英[ru026a"siu02d0v];美[ru026a"siu02d0v]。v.接到;收到;接待。例句:Neither John nor I am to receive the award.翻译:约翰和我谁都不会接到奖赏。用法:1、receive的基本意思是“接受”“收到”,仅指接到或收到某物的客观事实,而不表示主观态度(接受或拒绝)。引申表示“受到教育、惩罚、支持等”“赞同某一意见或看法”。有时还可表示“接见某人”。2、receive可用作及物动词,也可用作不及物动词。用作及物动词时,接名词或代词作宾语,还可接以as短语充当补足语的复合宾语。可用于被动结构。
2023-06-25 08:35:441

inherit;是什么意思

继承双语对照词典结果:inherit[英][u026anu02c8heru026at][美][u026anu02c8hu025bru026at]vt.& vi.继承; vt.经遗传获得(品质、身体特征等),继任; 第三人称单数:inherits过去分词:inherited现在进行时:inheriting过去式:inherited以上结果来自金山词霸例句:1.His son will soon inherit control of the corporation. 他儿子很快将继承公司的控制权。
2023-06-25 08:35:561

inherit什么意思

inherit什么意思如下:inherit,英语单词,主要用作为动词,意为继承;遗传而得;成为继承人。短语搭配:Inherit Velocity 继承速度 ; 速度继承 ; 粒子速度的变换因素Inherit Menu 继承菜单to inherit 继承 ; 嗣位 ; 承继 ; 承袭Interface inherit 接口继承Inherit Factor 继承因子 ; 继承因数inherit dream 继承梦 ; 继承的梦想Legal Inherit 法定继承inherit assets 继承财产双语例句:We inherit one chromosome from each of our parents.我们从自己的父母亲那里各自继承一条染色体。Any format you implement must inherit from one of these classes.所实现的任何格式都必须继承自这些类中的一个。So, if you inherit the abstract class in multiple concrete classes, then the properties of the abstract class will be part of each table of the concrete class.因此如果你在多个具体的类中,继承了抽象类的话,那么这个抽象类的属性将会是每一个具体的类(表)的属性的一部分。
2023-06-25 08:36:031

继承的英文是什么

  继承是按照法律或遵照遗嘱接受死者的财产、职务、头衔、地位等。那么你知道吗?一起来学习一下吧!    继承的英文单词1: inherit    继承的英文单词2: succeed   继承的英文单词例句:   1. Princess Alexandra was to inherit the title of Duchess of Fife.   亚历山德拉公主将会继承法夫女公爵的爵位。   2. The meek shall inherit the earth.   谦卑的人必承受地土。   3. They are to inherit 100,000 US dollars.   他们将会继承10万美元。   4. He intended that his son should inherit his business.   他打算让他的儿子继承他的生意.   5. In the event of his death, his daughter will inherit the money.   一旦他故去, 他的女儿将会继承这笔钱.   6. If he dies without making a will, his closest relative will inherit.   如果他没有立下遗嘱就去世了, 他的至亲将成为其继承人.   7. We must inherit in a critical way.   我们要以批判的方式继承.   8. Her favorite Beatitude is " Blessed are the meek for they shall inherit the earth ".   她最喜欢的至福是 “ 保佑温顺的人,他们将继承土地 ”.   9. Good as it is to inherit a library, it is better to collect one.   继承藏书虽好, 收集藏书更有意义.   10. Because it is carried by a dominant gene, an affected individual can expect about half of his or her children to inherit the illness.   因为它是由显性基因携带,所以感染者的孩子会有约50%的可能性遗传该疾病。   11. We inherit from our parents many of our physical characteristics.   我们的许多身体特征都是从父母那里遗传而来的。   12. He has no son to inherit his land.   他没有儿子来继承田产。   13. The newly - formed variety would probably inherit from its progenitor some characteristic.   新形成的变种或许会从它的祖先遗传来某些特性的差异.   14. In the event of his death Sheila will inherit the money.   一旦他故去,希拉就会继承这笔钱.   15. His father often asked him to inherit the glorious revolutionary tradition.   他的父亲经常要求他要继承光荣的革命传统.   1. I have a sneaking suspicion that they are going to succeed.   我隐隐觉得他们恐怕要成功了。   2. He was too inexperienced and too inexpert to succeed.   他太缺乏经验,太不熟练,难以成功。   3. They are waiting anxiously to see who will succeed him.   他们焦急地等待着看谁会接替他上任。   4. He sacrificed his own career so that his avaricious brother could succeed.   他牺牲了自己的事业,这样他贪婪的弟弟才能成功。   5. His natural shrewdness tells him what is needed to succeed.   他与生俱来的精明告诉他成功所需要的一切。   6. His opposition acted as a goad to her determination to succeed.   他的反对反而 *** 她坚定了取得成功的决心。   7. He"s realistic enough to know he"s not going to succeed overnight.   他很现实,知道自己的成功不会一蹴而就。   8. His critics write him off as too cautious to succeed.   批评他的人不把他当回事,认为他太过谨慎,不能成事。   9. In the past he has pooh-poohed suggestions that he might succeed Isaacs.   过去他对自己会接替艾萨克斯之说嗤之以鼻。   10. I think that there is every chance that you will succeed.   我想你取得成功的机会很大。   11. His son, Arthur Ochs Junior, is expected to succeed him as publisher.   他的儿子,小阿瑟·奥克斯,有望子承父业继续从事出版。   12. If you believe in yourself you can succeed.   只要自信,就能成功。   13. He has it in him to succeed.   他具备成功的潜质。   14. To succeed, you must learn to overe obstacles.   必须学会克服困难才能成功。   15. Barring accidents, I believe they will succeed.   不出意外的话,我相信他们会成功的。
2023-06-25 08:36:161

inherit是什么意思及用法

inherit是及物动词,基本释义为“继承”,用法如下:
2023-06-25 08:36:351

继承的的英文,继承的的翻译,怎么用英语翻译继承的

inherit,望采纳
2023-06-25 08:36:482

html中inherit什么意思

inherit 指它将继承母体要素的可视性设置。值 inherit 为缺省值。这使单元继承父单元的可见性。所以,如果某一段是隐藏的,则它包含的任何行间单元也都被隐藏。这一继承性可被明确指定的可见性取代。例如,段内的 EM 单元被指定为可见,这时如果该段被隐藏,则段内的所有其它内容都将消失,而唯有 EM 单元中的文本是可见的。拓展资料:css inherit和auto的区别inherit是继承父类的属性,一般用于字体、颜色、背景等auto是按情况自适应,一般用于高度、宽度、外边距和内边距等关于长度的属性现在一般常用的属性都支持inherit,用的不多,auto自适应长度用的比较多。如{ margin:0 auto}加上这个属性的元素只要定义了宽度就会相对于他的父元素自居中。
2023-06-25 08:37:181

inherit名词形式

inherit名词形式是inheritor。名词是词类的一种,属于实词。它表示人、事、物、地点或抽象概念的统一名称。它分为专有名词和普通名词,在英语中,名词的格有3种:主格、宾格、所有格。 扩展资料 个体名词表示某类人或东西中的"个体,如girl(女孩)等;集体名词表示若干个个体组成的集合体,如audience(观众,听众)等;物质名词表示无法分为个体的实物,如water水等;抽象名词表示动作、状态、品质、感情等抽象概念,如work(工作),happiness幸福等。对于普通名词来说,可分为可数名词和不可数名词。
2023-06-25 08:37:251

succeed 和inherit 的区别

两者都有继承的意思,前者强调继承事业,后者继承遗产。
2023-06-25 08:37:593

INHERIT是哪个公司旗下的品牌?主要是做什么的?

INHERIT是中山市世嘉商贸有限公司旗下的品牌,主要是以成人用品为主,具体产品为实体的娃娃。
2023-06-25 08:38:081

Inherit 的英文解释

keeping outthe "new people" whom New York was
2023-06-25 08:38:153

“传承”这个词英文怎么译?

...
2023-06-25 08:38:446

传承 英文怎么翻译?

古韵今风 , 无限传承Old rhythms and modern styles,pass on from generation to generation.
2023-06-25 08:38:593

继承的英文怎么写?

inheritcarry forwardcarry on
2023-06-25 08:39:404

inherit 和succeed什么区别?

inheritvt.继承, 遗传而得succeed1)vi.(~ in) 成功2)v.继...之后, 继任, 继承, 取得成功
2023-06-25 08:39:503

说下css样式的这几个属性值initial、inherit、unset、revert的理解?

initialinitial 关键字用于设置 CSS 属性为它的默认值,可作用于任何 CSS 样式。inherit每一个 CSS 属性都有一个特性就是,这个属性必然是默认继承的 (inherited: Yes) 或者是默认不继承的 (inherited: no)其中之一,我们可以在 MDN 上通过这个索引查找,判断一个属性的是否继承特性。unset名如其意,unset 关键字我们可以简单理解为不设置。其实,它是关键字 initial 和 inherit 的组合
2023-06-25 08:39:571

OC学习总结1 继承(Inherit)和类别(category)、扩展(extension)的区别

1.继承Inherit 这个是面向对象语言都有的一个特性,子类会继承父类的方法和属性。 对于以下情况,无法使用类别,必须使用继承。 1)在子类中新扩展的方法与原方法同名,但是还需要使用父类的实现要用继承。因为使用类别,会覆盖原类的实现,无法访问到原来的方法。 2)扩展类的属性和实例变量,这个类别无法做到。 2.类别category 这是Objective-C语言的一个特性,可以在不改变类名和原来类的实现的前提下,实现对类的方法扩展。 以下两种方式最后使用类别。 类别的特点: 类别在实际中的应用: 1)针对系统提供的一些类,例如:NSString,NSArray,NSNumber等类,系统本身不提倡使用继承去扩展方法,因为这些类内部实现对继承有所限制,所以最后使用类别来进行方法扩展。 2)类别支持开发人员针对自己构建的类,把相关的方法分组到多个单独的文件中,对于大型而复杂的类,这有助于提高可维护性,并简化单个源文件的管理。 3.类的扩展 OC中的扩展只是在.m文件中@implementation之上加一段@interface~@end,在其中声明变量属性和方法。在本身的@implementation中实现。 扩展就像是匿名的类别,扩展中声明的实例变量和属性、方法都是私有的。扩展中声明的方法可以不实现(但会有issues提示)。 (应当注意的是OC中的扩展和swift中的扩展完全是两回事。swift中的扩展基本上完全相当于OC的类别。)
2023-06-25 08:40:031

css 中 padding-top:inherit; 这个inherit值代表什么意思啊?

继承
2023-06-25 08:40:253

inheriting是什么意思

inheriting 继承But because Prince Abdullah was not crown prince, neither he nor his new wife anticipated inheriting the throne. 但因为阿卜杜拉王子并非王储,所以他和她的新婚妻子都无法继承王位。
2023-06-25 08:40:514

CSS里 width:inherit 什么意思

inherit规定应该从父元素继承 width 属性的值。也就是使用和上一级父元素同样的width。其他的规则也是如此,inherit就表示继承父元素的值。注释:任何版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。width:100%和width:inherit,除去兼容性,大多数情况下,两者作用是一样的,甚至都很难想出不一样的理由。
2023-06-25 08:41:015

inherit属性无效,求解

不是什么属性都能继承的,height就不能继承,用height:100%;试试
2023-06-25 08:41:182

INHERIT成人用品的实体娃娃是整体的吗?

INHERIT的实体娃娃是采用的组装的方式的,不是整体的,组装的在清洗的时候可以更方便清洗,比整体的更好运输。
2023-06-25 08:41:241

succeed 和inherit 的区别

两者都有继承的意思,前者强调继承事业,后者继承遗产。
2023-06-25 08:41:311

继承者用英语怎么说

问题一:继承者的英文怎么说 你好! 继承者 successor 英[s?k?ses?(r)] 美[s?k?s?s?] n. 接替的人或事物; 继承人,继任者; [例句]He set out several principles that he hopes will guide his successors. 他制订了几条原则,希望可以引导继任者。 问题二:继承者,英文怎么说? 继承者 successor;?heres;?continuator 问题三:继承者们用英语怎么说 Successors 问题四:继承者用英语怎么说 inheritor 百度专家组为您解答,请按一下手机右上角的采纳!谢谢! 问题五:继承者们的英文简介 由金恩淑作家打造的新剧《继承者们》以上层社会富二代们的爱情和友情为主,但它在华丽奢华的拍摄下却一点也不浪漫和明朗,[3-4]和其他总是描写青春剧的风格和出发点完全不一样。是一部描绘富家土豪高中生的友情和爱情的惊心动魄的青春浪漫轻喜剧。[5] Create new writers from Jin Enshu successors two rich generation in the upper classes of society love and friendship, but it is in the gorgeous luxury taken was notromantic and clear, [3-4] and the other always describe youth style of play and the starting point of a pletely different. Is a depiction of rich local tyrants of senior high school students of friendship and love be struck with fright youth romantic edy. [5] 李敏镐将恢复英俊本性,在剧中出演一位富家子弟和朴信惠所饰演的贫穷继承者展开恋爱。金宇彬则在剧中饰演一个高智商的纨绔子弟与李敏镐展开激烈的神经战,形成了浪漫的三角关系。在剧中崔振赫将扮演李敏镐的同父异母兄长,也是韩国最高企业帝国集团年轻有为的老板,将与李敏镐展开继承权的竞争。 Lee Min Ho will restore handsome nature, poor inheritance as in drama in a richand Park Shin Hye start dating. Jin Yubin plays a high IQ Playboys and Lee Min Hofierce war of nerves, formed a romantic triangle. Lee Min Ho"s half brother will playin the play Cui Zhenhe, South Korea is also the highest corporate empire groupyoung boss, will launch the inheritance of the petition and Lee Min Ho. 问题六:继承的英文怎么写? 最常见的是inherit 其他的根据具体的语境还可以用 succession succeed succeed to e into inheritance e to... descent e by naturally came by naturally heirdom succeedto hereditament came by honestly inherited e by honestly 例如: 他继承了那片庄园及其一切特权。 He inherited the manor and 鼎ll its appurtenances. 她继承了一大笔财产。 She inherited a large fortune. 她叔叔死後她继承了财产。 She came into a fortune when her uncle died. 问题七:继承人的英文怎么写? heir 继承人 heritor 继承人 successor 继承人 legal heir 法定继承人 heir in tail 限定继承人 heir at law 法定继承人 successor in title 权利继承人 forced heir 法定继承人 coparcener 共同继承人 lawful successor 合法继承人 successor in title 业权继承人 heir of the blood 纯血亲继承人 universal legatee 全财产盯承人 irregular heir 非正式继承人 universal successor 全财产继承人
2023-06-25 08:41:381

继承和发扬 英语怎么说

不会
2023-06-25 08:41:464

帮手翻译几个词语同短语成英文

高瞻远瞩!
2023-06-25 08:42:0210

inherit;是什么意思

inherit继承双语对照词典结果:inherit[英][u026anu02c8heru026at][美][u026anu02c8hu025bru026at]vt.& vi.继承; vt.经遗传获得(品质、身体特征等),继任; 第三人称单数:inherits过去分词:inherited现在进行时:inheriting过去式:inherited以上结果来自金山词霸-----------------------------------如有疑问欢迎追问!满意请点击右上方【选为满意回答】按钮
2023-06-25 08:43:011

inherit和transmit区别

词性不同。1、inherit主要用作为动词,意为继承,遗传而得,称为继承。2、transmit主要作为名词,意为播送,发射,感染,例:Thisinfectionistransmittedbymosquitoes。
2023-06-25 08:43:201

javascript中的inherit是什么意思

你确定你你没看错吗?insert?
2023-06-25 08:43:464

float:inherit中,inherit是什么意思呀,有什么用处?

inherit 指它将继承母体要素的可视性设置. 值 inherit 为缺省值.这使单元继承父单元的可见性.所以,如果某一段是隐藏的,则它包含的任何行间单元也都被隐藏.这一继承性可被明确指定的可见性取代.例如,段内的 EM 单元被指定为可见,这时如果该段被隐藏,则段内的所有其它内容都将消失,而唯有 EM 单元中的文本是可见的.
2023-06-25 08:43:531

inherit不是继承财产吗?可以继承文化吗?

可以的啊~~inherit[in5herit]vt.继承(传统、遗产、权利等)经遗传而得(性格、特征等)inherit the tradition继承传统He -s his father"s bad temper.他继承了父亲的坏脾气。inherit[in5herit]vi.继承, 遗传A son -s from his father.儿子继承父亲的遗产。Astronomy -s from astrology.天文学是由占星术演变而来的。
2023-06-25 08:44:271

float:inherit中,inherit是什么意思呀,有什么用处?

inherit 指它将继承母体要素的可视性设置。 值 inherit 为缺省值。这使单元继承父单元的可见性。所以,如果某一段是隐藏的,则它包含的任何行间单元也都被隐藏。这一继承性可被明确指定的可见性取代。例如,段内的 EM 单元被指定为可见,这时如果该段被隐藏,则段内的所有其它内容都将消失,而唯有 EM 单元中的文本是可见的。
2023-06-25 08:44:451

英语heritage的动词是什么?

动词 inherit
2023-06-25 08:45:523

8.padding.inherit表示 __-|||- 以px单?

padding 属性是css用于在一个声明中设置所有 padding 属性的简写属性。Padding属性包含了padding left :左补距离(设置距左内边距) ;padding top:头顶补距离(设置距顶部内边距);padding right :右补距离(设置距右内边距) ;padding bottom :底补距离(设置距低内边距)。其二维构建图可见CSS属性二维图。AAffA0nNPuCLAAAAAElFTkSuQmCCpadding left用法:padding-left:10px; 这个意思距离左边补距10像素,可跟百分比如(padding-left:10%; 距离左边补10%的距离);padding right用法:padding-right:10px; 这个意思距离右边补距10像素,可跟百分比如(padding-right:10%; 距离右边补10%的距离);padding top用法:padding-top:10px; 这个意思距离顶边补距10像素,可跟百分比如(padding-top:10%; 距离顶边补10%的距离);padding bottom用法:padding-bottom:10px; 这个意思距离低边补距10像素,可跟百分比如(padding-bottom:10%; 距离底边补10%的距离);
2023-06-25 08:46:291

CSS里width:inherit什么意思

inherit是继承的意思,也就是使用和上一级父元素同样的width。其他的规则也是如此,inherit就表示继承父元素的值。
2023-06-25 08:46:351

css里边width:100%和width:inherit的区别是什么

inherit继承父容器高度,父容器变多高,他就会变多高
2023-06-25 08:46:432

【承袭】

词典解释 :inherit;follow;adopt 承继;沿袭。
2023-06-25 08:46:491

求辨析 legacy inherit estate

legacy:n,遗产;遗留问题inherit: vt. 继承;遗传而得estate :n,财产,资产,产业,并不一定是遗产希望帮到你,谢谢
2023-06-25 08:46:582

FONT-FAMILY: inherit;什么意思

从父元素继承字体系列。不过好像有些浏览器不支持FONT-FAMILY的inherit属性值
2023-06-25 08:47:172

HTML中 font-style: inherit 是什么意思?字体样式是继承?

inherit 表示该属性从父标签中继承而来
2023-06-25 08:47:251

继承的英语翻译 继承用英语怎么说

你好!继承inherit 英[u026anu02c8heru026at] 美[u026anu02c8hu025bru026at] vt. 继承; vt. 经遗传获得(品质、身体特征等),继任; [例句]He has no son to inherit his land.他没有儿子来继承田产。
2023-06-25 08:47:331

background-color:inherit;的翻译是:什么意思

背景色 继父
2023-06-25 08:47:423

inherit-product 和 include的区别

<jsp:include>和<%@include%>的区别:JSP中的两种包含页面的方法第一种:include指令:当JSP转换成Servlet时引入指定文件<%@ pagecontentType="text/html;charset=GB2312" language="java"errorPage=""%><%@ include file="head.jsp"%><%@ include file="body.jsp"%><%@ include file="tail.jsp"%>第二种:<jsp:include>动作元素:当JSP页面被请求时引入指定文件<%@ page contentType="text/html; charset=GB2312"language="java" errorPage=""%><jsp:include page="head.jsp"/><jsp:include page="body.jsp"/><jsp:include page="tail.jsp"/>第二种方法可以很方便的用<jsp:param>来向所包含页传递参数,方法如下:<%@ page contentType="text/html; charset=GB2312"language="java" errorPage=""%><jsp:include page="head.jsp"/><jsp:includepage="body.jsp"><jsp:param name="uid"value="username"/><jsp:param name="pwd"value="password"/></jsp:include><jsp:includepage="tail.jsp"/>
2023-06-25 08:47:501

table {font-size:inherit;font:100%;}高手帮忙解释下???

字体大小继承上一级的设置,font-weight 100%
2023-06-25 08:47:582

继承传统 英文

inherit the tradition
2023-06-25 08:48:063