折什么时候读she|
福禄双全是什么意思|
苏打水有什么好处|
母亲节送什么|
mle是什么意思|
血糖高可以吃什么零食|
昆明有什么好玩的|
身上长疮是什么原因引起的|
什么地问填词语|
猫怕什么气味|
食道癌有什么症状|
孕妇梦见自己出轨是什么意思|
弓箭是什么时候发明的|
山楂什么季节成熟|
鬼死了叫什么|
老鼠人是什么意思|
去黄疸吃什么药|
英特纳雄耐尔是什么意思|
阴阴阳是什么卦|
回归热是什么病|
今天什么年|
怀孕不到一个月有什么症状|
42天产后检查都检查什么项目|
入职是什么意思|
立秋什么意思|
下午3点到5点是什么时辰|
野鸭子吃什么|
撒贝宁是什么民族|
胃窦充血水肿意味着什么|
hrv是什么意思|
水平是什么意思|
绿豆汤不能和什么一起吃|
结石能喝什么茶|
黄芪配升麻有什么作用|
秒杀什么意思|
胀气打嗝是什么原因|
什么产品美白效果最好最快|
lcr是什么意思|
成手是什么意思|
天秤和什么星座最配|
湿疹有什么症状|
何以笙箫默是什么意思|
什么是春梦|
三情六欲是什么意思|
磨玻璃结节影是什么意思|
月经可以吃什么水果|
什么叫黑户|
喝什么茶降血脂|
为什么白带是黄色的|
跟腱炎吃什么药|
呕血是什么意思|
淋巴结反应性增生是什么意思|
心脏主要由什么组织构成|
内疚是什么意思|
省内流量是什么意思|
寒包火感冒吃什么药|
脑子疼是什么原因|
贵圈是什么意思|
ig什么意思|
1RM什么意思|
油性皮肤适合用什么牌子的护肤品|
黄体功能不足是什么原因造成的|
刺梨有什么功效|
末梢神经炎是什么症状|
最早的春联是写在什么上面的|
新生儿睡觉突然大哭是什么原因|
肺与大肠相表里是什么意思|
铂金是什么颜色|
长公主是什么意思|
异卵双胞胎什么意思|
被蝎子蛰了用什么药|
阑尾炎疼吃什么药|
驾驶证和行驶证有什么区别|
石决明是什么|
红霉素软膏和眼膏有什么区别|
什么是简历|
吃什么化痰效果最好最快|
过敏应该挂什么科|
顾名思义的顾是什么意思|
社康是什么意思|
黄花苗泡水喝有什么作用|
梦见龙是什么预兆|
什么是卤水|
3加2是什么意思|
口臭要做什么检查|
梦见做棺材是什么意思|
孔子属什么生肖|
吟诗作赋是什么意思|
大限将至什么意思|
灰指甲用什么药最好|
男人左眼下有痣代表什么|
检查乙肝挂什么科|
麻雀吃什么食物|
11月23日是什么星座|
细胞骨架是由什么构成|
什么的高楼|
6点是什么时辰|
小儿流清鼻涕吃什么药效果好|
色达在四川什么地方|
复位是什么意思|
婴儿蓝是什么颜色|
亚麻籽是什么植物|
大便发黑是什么情况|
患难见真情的上一句是什么|
流涎是什么意思|
透骨草治什么病最有效|
it代表什么|
关节痛去医院挂什么科|
红面是什么面|
牛肚是什么部位|
情绪化什么意思|
孺子可教也什么意思|
进国企需要什么条件|
怀孕什么时候显怀|
cbp是什么意思|
铎读什么|
吃完避孕药不能吃什么东西|
w代表什么单位|
典型是什么意思|
cy是什么意思|
鼻炎用什么药|
藕粉对身体有什么好处|
珩是什么意思|
下身瘙痒什么原因|
头顶爱出汗是什么原因|
为什么会长湿疹|
什么地飞翔|
湿气重喝什么|
眉目比喻什么|
灸石门为什么会不孕|
恶心是什么原因|
师父的老公叫什么|
梦见蛇挡路是什么意思|
今日冲什么生肖|
早上为什么不能洗澡|
酷暑难当是什么意思|
乙肝两对半245阳性是什么意思|
usim卡是什么卡|
老年人喝什么奶粉好|
青岛有什么好吃的|
憋是什么意思|
没经验的人开什么店好|
羊毛疔是什么病|
什么叫布施|
人为什么要日b|
hisense什么牌子|
82年的拉菲是什么意思|
lof什么意思|
机位是什么意思|
wear是什么意思|
两融是什么意思|
supra是什么牌子|
省长是什么级别|
处心积虑是什么意思|
什么是半月板损伤|
花青素有什么作用|
孕妇地中海贫血对胎儿有什么影响|
什么是处方药和非处方药|
垚字是什么意思|
边字是什么结构|
密度单位是什么|
发物是什么|
梅毒是什么症状图片|
物料是什么意思|
口苦是什么毛病|
病毒是什么生物|
hp是阳性什么意思|
刘强东开什么车|
霍金得了什么病|
奔波是什么意思|
消化道出血吃什么药|
一般什么人会有美人尖|
毛囊炎挂什么科|
bambi什么意思|
蘑菇是什么菌|
北字五行属什么|
鲁班是干什么的|
胃不舒服喝什么|
6月15号是什么星座|
农业户口和非农业户口有什么区别|
胆囊萎缩是什么原因|
什么是耳石症|
熬夜对心脏有什么影响|
美尼尔综合征是什么原因引起的|
apf值是什么意思|
日光灯属于什么光源|
宜什么意思|
下肢血液循环不好吃什么药|
嗓子疼是什么原因引起的|
下面有点痒用什么药|
白居易是诗什么|
bid是什么意思啊|
什么的油菜花|
梅艳芳什么病|
膝关节疼是什么原因|
乌鸡煲汤放什么材料|
管科是什么专业|
牛叉是什么意思|
牡丹鹦鹉吃什么|
梦见吃花生是什么意思|
补肾最好的药是什么药|
经常吃生花生有什么好处和坏处|
髓母细胞瘤是什么病|
常规血检能查出什么|
尿素高不能吃什么|
高烧吃什么药|
tsh是什么意思|
腊梅什么时候开花|
丁亥年五行属什么|
7.17是什么日子|
奶酪是什么东西|
多动症挂什么科|
cpi是什么|
阿胶糕什么人不能吃|
烫伤忌口不能吃什么|
肠道感染吃什么消炎药|
什么什么不得|
穿刺是什么手术|
为什么睾丸一边大一边小|
物竞天择是什么意思|
洛阳有什么大学|
做梦梦到别人死了是什么征兆|
参苓白术散治什么病|
store是什么|
心志是什么意思|
野生刺猬吃什么|
闰月年有什么讲究|
甲状腺结节3类什么意思|
头皮屑多是什么原因引起的|
什么的藤|
嘴苦是什么原因|
尿少尿黄是什么原因引起的|
粘胶是什么材质|
吃奇亚籽有什么好处|
永垂不朽是什么意思|
sla是什么|
和什么细什么|
震楼神器楼上什么感觉|
内膜厚是什么原因|
得了破伤风是什么症状|
富不过三代是什么意思|
升天是什么意思|
肾痛在什么位置痛|
儿童喉咙发炎吃什么药|
一生一世是什么意思|
心肌梗塞有什么症状|
百字五行属什么|
鱼腥草长什么样|
附件炎是什么引起的|
玉兰油适合什么年龄|
低压高有什么危险|
宫颈多发潴留囊肿是什么意思|
天津市市长是什么级别|
泓字五行属什么|
六月十二号是什么星座|
脖子下面的骨头叫什么|
什么门不能开|
8.1号是什么星座|
女人吃什么越来越年轻|
小狗是什么意思|
kg是什么单位|
肺结核挂什么科|
秀五行属什么|
相刑什么意思|
百度
美一男子街头直播枪杀老人 自称已杀14人遭通
百度 这条线路的走向是这样的其中,在浙江省境内:杭州西-衢州西-江山(杭衢高铁)计划2022年建成;在福建省境内:武夷山-南平段(既有合福线)、南平-三明-龙岩段(南三龙铁路)已基本建成;在广东省境内:龙岩-梅州-龙川段(双龙铁路)计划2022年建成、龙川-深圳段(赣深高铁)正在建设中。
Contents
The key words "MUST",
"MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document
are to be interpreted as described in RFC 2119 (see [RFC2119]).
However, for readability, these words do not appear in all uppercase
letters in this specification.
At times, this specification recommends good practice
for authors and user agents. These recommendations are not normative
and conformance with this specification does not depend on their
realization. These recommendations contain the expression "We
recommend ...", "This specification recommends ...", or some similar
wording.
The fact that a feature is marked as deprecated (namely the 'aural' keyword) or going to
be deprecated in CSS3 (namely the system colors) also has no influence
on conformance. (For example, 'aural' is marked as non-normative, so
UAs do not need to support it; the system colors are normative, so UAs
must support them.)
All sections of this specification, including appendices, are
normative unless otherwise noted.
Examples and notes
are not normative.
Example(s):
Examples usually have the word "example" near
their start ("Example:", "The following example…," "For
example," etc.) and are shown in the color maroon, like this
paragraph.
Notes start with the word "Note," are indented and
shown in green, like this paragraph.
Figures are for illustration only. They are not reference
renderings, unless explicitly stated.
- Style sheet
- A set of statements that specify presentation of a document.
Style sheets may have three different origins: author, user, and user agent. The interaction of these sources is
described in the section on cascading and
inheritance.
- Valid style
sheet
- The validity of a style sheet depends on the level of CSS
used for the style sheet. All valid CSS1 style sheets are valid CSS 2.1
style sheets, but some changes from CSS1 mean that
a few CSS1 style sheets will have slightly different semantics in
CSS 2.1. Some features in CSS2 are not part of CSS 2.1, so not all CSS2
style sheets are valid CSS 2.1 style sheets.
A valid CSS 2.1 style sheet must be written according to the grammar of CSS 2.1. Furthermore, it must contain
only at-rules, property names, and property values defined in this
specification.
An illegal (invalid) at-rule,
property name, or property value is one that is not valid.
- Source
document
- The document to which one or more style sheets apply. This is
encoded in some language that represents the document as a tree of elements. Each element consists of a name that
identifies the type of element, optionally a number of attributes, and a (possibly empty) content. For example, the source document could be
an XML or SGML instance.
- Document language
- The encoding language of the source document (e.g., HTML, XHTML, or
SVG). CSS is used to describe the presentation of document languages
and CSS does not change the underlying semantics of the document
languages.
- Element
- (An SGML term, see [ISO8879].) The primary syntactic constructs
of the document language. Most CSS style sheet rules use the names of
these elements (such as P, TABLE, and OL in HTML) to specify
how the elements should be rendered.
-
Replaced
element
An element whose content is outside the scope of the CSS
formatting model, such as an image, embedded document, or applet. For
example, the content of the HTML IMG element is often replaced by the
image that its "src" attribute designates. Replaced elements often
have intrinsic dimensions: an intrinsic width, an intrinsic height,
and an intrinsic ratio. For example, a bitmap image has an intrinsic
width and an intrinsic height specified in absolute units (from which
the intrinsic ratio can obviously be determined). On the other hand,
other documents may not have any intrinsic dimensions (for example, a
blank HTML document).
User agents may consider a replaced element to not have any
intrinsic dimensions if it is believed that those dimensions could
leak sensitive information to a third party. For example, if an HTML
document changed intrinsic size depending on the user's bank balance,
then the UA might want to act as if that resource had no intrinsic
dimensions.
The content of replaced elements is not considered in the CSS
rendering model.
- Intrinsic dimensions
- The width and height as defined by the element itself, not imposed
by the surroundings. CSS does not define how the intrinsic dimensions
are found. In CSS 2.1 only replaced elements can come with
intrinsic dimensions.
For raster images without reliable resolution information, a size of
1 px unit per image source pixel must be assumed.
- Attribute
- A value associated with an element, consisting of a name, and an
associated (textual) value.
- Content
- The content associated with an element in the source document.
Some elements have no content, in which case they are
called empty. The content
of an element may include text, and it may include a number of
sub-elements, in which case the element is called
the parent of those
sub-elements.
- Ignore
- This term has two slightly different meanings in this
specification. First, a CSS parser must follow certain rules when it
discovers unknown or illegal syntax in a style sheet. The parser must
then ignore certain parts of the style sheets. The exact rules for
which parts must be ignored are described in these sections (Declarations and properties, Rules for handling parsing
errors, Unsupported
Values) or may be explained in the text where the term "ignore"
appears. Second, a user agent may (and, in some cases must) disregard
certain properties or values in the style sheet, even if the syntax is
legal. For example, table-column elements cannot affect the font of the
column, so the font properties must be ignored.
- Rendered
content
- The content of an element after the rendering that applies to it
according to the relevant style sheets has been applied. How a
replaced element's content is rendered is not defined by this
specification. Rendered content may also be
alternate text for an element (e.g., the value of the XHTML "alt"
attribute), and may include items inserted implicitly or explicitly by
the style sheet, such as bullets, numbering, etc.
-
Document
tree
- The tree of elements encoded in the source document. Each element
in this tree has exactly one parent, with the exception of the
root element, which has none.
- Child
- An element A is called the child of element B if and only if B is
the parent of A.
- Descendant
- An element A is called a descendant of an element B, if either (1)
A is a child of B, or (2) A is the child of some element C that is a
descendant of B.
- Ancestor
- An element A is called an ancestor of an element B, if and only if
B is a descendant of A.
- Sibling
- An element A is called a sibling of an element B, if and only if B
and A share the same parent element. Element A is a preceding sibling
if it comes before B in the document tree. Element B is a following
sibling if it comes after A in the document tree.
- Preceding element
- An element A is called a preceding element of an element B, if and
only if (1) A is an ancestor of B or (2) A is a preceding sibling of
B.
- Following
element
- An element A is called a following element of an element B, if and
only if B is a preceding element of A.
- Author
- An author is a person who writes documents and associated style
sheets.
An authoring
tool is a User Agent
that generates style sheets.
- User
- A user is a person who interacts with a user agent to view, hear, or
otherwise use a document and its associated style sheet. The user
may provide a personal style sheet that encodes personal
preferences.
- User Agent (UA)
- A user
agent is any program that interprets a document written in
the document language and applies associated style sheets according
to the terms of this specification. A user agent may display a
document, read it aloud, cause it to be printed, convert it
to another format, etc.
- An HTML user agent is one that supports one or more of the HTML
specifications. A user agent that supports XHTML [XHTML], but not
HTML is not considered an
HTML user agent for the purpose of conformance with this
specification.
- Property
- CSS defines a finite set of parameters, called properties, that
direct the rendering of a document. Each property has a name (e.g.,
'color', 'font', or border') and a value (e.g., 'red', '12pt Times', or
'dotted'). Properties are attached to various parts of the document
and to the page on which the document is to be displayed by the
mechanisms of specificity, cascading, and inheritance (see the chapter
on Assigning property values, Cascading, and
Inheritance).
Here is an example of a source document written in HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<TITLE>My home page</TITLE>
<BODY>
<H1>My home page</H1>
<P>Welcome to my home page! Let me tell you about my favorite
composers:
<UL>
<LI> Elvis Costello
<LI> Johannes Brahms
<LI> Georges Brassens
</UL>
</BODY>
</HTML>
This results in the following tree:
According to the definition of HTML 4, HEAD elements will be
inferred during parsing and become part of the document tree even if
the "head" tags are not in the document source. Similarly, the parser
knows where the P and LI elements end, even though there are no
</p> and </li> tags in the source.
Documents written in XHTML (and other XML-based languages) behave
differently: there are no inferred elements and all elements must have
end tags.
This section defines conformance with
the CSS 2.1
specification only. There may be other levels of CSS in the future
that may require a user agent to implement a different set of features
in order to conform.
In general, the following points must be observed by a user agent
claiming conformance to this specification:
- It must recognize one or more of the CSS 2.1 media types.
- For each source document, it must attempt to retrieve all
associated style sheets that are appropriate for the recognized media
types. If it cannot retrieve all associated style sheets (for instance,
because of network errors), it must display the document using those
it can retrieve.
- It must parse the style sheets according to this specification.
In particular, it must recognize all at-rules, blocks, declarations,
and selectors (see the grammar of CSS 2.1).
If a user agent encounters a property that applies for a supported
media type, the user agent must parse the value according to the property
definition. This means that the user agent must accept all valid
values and must
ignore declarations with
invalid values. User
agents must ignore
rules that apply to unsupported media
types.
- For each element in a document tree, it
must assign a value for every property according to the
property's definition and the rules of cascading and inheritance.
- If the source document comes with alternate style sheet sets (such as
with the "alternate" keyword in HTML 4 [HTML4]), the UA must
allow the user to select which style sheet set the UA should apply.
- The UA must allow the user to turn off the influence of author style sheets.
Not every user agent must observe every point, however:
- An application that reads style sheets without rendering any
content (e.g., a CSS 2.1 validator) must respect points 1-3.
- An authoring tool is only required to output valid style sheets
- A user agent that renders a document with associated style
sheets must respect points 1-6 and render the document
according to the media-specific requirements set forth in this
specification. Values
may be approximated when required by the user agent.
The inability of a user agent to implement part of this
specification due to the limitations of a particular device (e.g., a
user agent cannot render colors on a monochrome monitor or page) does
not imply non-conformance.
UAs must allow users to specify a file that contains the user style
sheet. UAs that run on devices without any means of writing or
specifying files are exempted from this requirement. Additionally, UAs
may offer other means to specify user preferences, for example, through
a GUI.
CSS 2.1 does not define which properties apply to form controls and
frames, or how CSS can be used to style them. User agents may apply CSS
properties to these elements. Authors are recommended to treat such
support as experimental. A future level of CSS may specify this further.
In general, this document specifies error handling behavior
throughout the specification. For example, see the rules for handling parsing errors.
CSS style sheets that exist in separate files are sent over the
Internet as a sequence of bytes accompanied by encoding
information. The structure of the
transmission, termed a message
entity, is defined by RFC 2045 and RFC 2616 (see
[RFC2045] and [RFC2616]). A message entity with a content type of
"text/css" represents an independent CSS document. The "text/css"
content type has been registered by RFC 2318 ([RFC2318]).
洁身自爱是什么生肖hcv8jop8ns9r.cn |
身上发抖是什么原因hcv8jop3ns4r.cn |
三跪九叩是什么意思clwhiglsz.com |
什么叫尿毒症hcv7jop9ns7r.cn |
男人吃什么食物可以补肾壮阳sanhestory.com |
活佛是什么意思呀hcv7jop9ns0r.cn |
格力空调睡眠模式1234什么意思hcv7jop9ns2r.cn |
血栓弹力图是查什么的hcv9jop7ns2r.cn |
吃生洋葱有什么好处hcv9jop7ns1r.cn |
轶字五行属什么hcv9jop5ns4r.cn |
食指中指交叉什么意思hcv8jop3ns0r.cn |
内热外寒感冒用什么药hcv8jop7ns9r.cn |
什么去甲醛最快有效hcv8jop4ns1r.cn |
5月有什么节日hcv8jop7ns1r.cn |
腿脚肿是什么原因hcv9jop5ns7r.cn |
树叶为什么是绿色的hcv8jop2ns3r.cn |
血糖偏高吃什么水果好hcv8jop8ns3r.cn |
生肖马和什么生肖最配hcv8jop1ns3r.cn |
什么叫代孕hcv9jop8ns2r.cn |
柔是什么意思hcv8jop9ns4r.cn |
百度