: #f00;}
p + P {color: #f00;}
Third, CSS 2.1 property Selector
Serial number
Selector Selector
Meaning
9.
E[att]
Matches all e elements that have the ATT attribute, regardless of its value. (Note: E can be omitted here, such as "[cheacked]". to the same. )
10.
E[att=val]
Matches
) selectors (CSS2): E>f{}:ef can not be generational, E can only match to the next neighboring generation F.Two-Attribute Selector1. E[att^= "Val"]: Select the e element with the ATT attribute and the property value as a string starting with Val.2. E[att$= "Val"]: Select the e element that has the ATT attribute and the
; F
child element Selector, matching all e element's child elements F
div > Strong {color: #f00;}
E + F
Adjacent element selector, matching all sibling elements immediately following the E element f
p + P {color: #f00;}
3.CSS 2.1 Property Selector
Selector Selector
Meaning
Example
E[att]
Matches all e elements that have the ATT
First, the basic selector1. * Universal Element Selector, matches any element2. E tag Selector, matching all elements using e tag3.. info class selector that matches all elements of the class attribute that contain info4. #footer the ID selector to match all elements of the id attribute equal to footerTwo, multi-element combination Selector5. E,f Multi-element selector, matching all e elements or F elements, separated by commas between E and F6. E F descendant element selector, matching all f el
are descendants of the e element, separated by a space between E and F
7.
E > F
child element Selector, matching all e element's child elements F
8.
E + F
Adjacent element selector, matching all sibling elements immediately following the E element f
Instance:
div p {color: #f00;}
#nav li {display:inline;}
#nav a {font-weight:bold;}
div > Strong {color: #f00;}
p + P {color: #f00;}
Third, CSS 2.1 property S
When learning Css3.0 selector, refer to "CSS3.0 reference manual". There is a place not to explain, so was the pit for half an hour Ah!Here to share with you, in the selector category there, there is a category is the property selector is a string to match!The form has the following types:
Property name SelectorE[att]--matches the E element with the ATT attribute in the documentProperty value Selector
Syntax Description:
E--Elements
Att--Properties
Val--Property value
E:first-child
E:last-child
Match the e element with the ATT attribute in the document
Grammar: E[att]
Matches the e element with the ATT attribute in the document with a value of Val
Grammar: E[att=v
During the test, the dongle intercepted the SQL query on the website where the dongle was used. However, the dongle was able to bypass the security and obtain the database information. For the protection device, if important information is obtained by the passer when it is enabled, I think it has been bypassed... the test procedure is as follows: bbs.siteserver.c
I haven't been back to my hometown for the new year for many years. I went back to my hometown with my wife and baby for a spring festival last year. When I came back and saw my blog for more than a month, I couldn't help but sigh that the time was so fast. Last year, I published a FastReport-based Web Printing control on the Internet, which attracted everyone's attention. Many friends leave a message to apply for free registration. I try to send the registration code to your email as quickly as
.
Binary Attribute Selector
1. E [att ^ = "val"]: select an Eelement of a string with the att attribute and the attribute value starting with val.
2. E [att $ = "val"]: select an Eelement with the att attribute and the attribute value is a string ending with val.
3. E [att *
9.
E [att]
Matches all the eElements with the att attribute, regardless of its value. (Note: E can be omitted here, for example, "[cheacked]". .)
10.
E [att = val]
Matches all the eElements whose att attribute is equal to "val ".
11.
E [at
Recently, a key part of the C language algorithm needs to be implemented in assembly language. In Linux, ATT assembly is basically used for Embedded Assembly. For example, ATT assembly is used for Linux system startup. I have studied ATT assembly before, but I have forgotten it after a while, but I am familiar with Intel assembly basics. The two are basically sim
simultaneously. Separate E and F with commas (,).
6.
E F
The descendant element selector matches all f elements belonging to the descendant of the Eelement. E and F are separated by spaces.
7.
E> F
Child element selector, matching the child element F of all eElements
8.
E + F
Adjacent to the element selector, matching all elements of the same level F that follow the Eelement
Instance:
Div P {color: # f00 ;}
# Nav Li {display: inline ;}
# Na
element, such as p: first-of-type, is the first of all the child elements of the p type. It is no longer the first child element, as long as it is the first element of this type. Attention: of course, these elements belong to the same level, that is, their peers. The same type of selector: last-child and: last-of-type,: nth-child (n) and: nth-of-type (n) can also be understood in this way.
[Attribute selector]Version description
E [att]CSS2 select an
Element Selector
E (an Element)
ID (using #id)
. class (using. Class)
Wildcard characters *
Relationship Selector
Contains E F (e First all F contains descendants, grandchildren, etc.)
Sub-selector e
Adjacent selector E+f (and e adjacent F, one not counted)
Sibling selector E~f (and e-sibling F)
Property Selector
E[att] (an element with an att att
: #ff0;}
p.info.error {color: #900; font-weight:bold;}
#info {background: #ff0;}
P#info {background: #ff0;}
Combination selector with multiple elements
Serial number
Selector
Meaning
5.
E,f
Multi-element Selector, matching all E or F elements, separated by commas between E and F
6.
E F
Descendant element selector that matches all f elements that are descendants of the e element, separated by a space between E and F
Original http://blog.csdn.net/bigloomy/article/details/6581754
Att assembly and 8086 assembly language, although the two are very similar, but still cannot read att Assembly according to the 8086 syntax rules, so we still need to look at the syntax rules of att assembly, when reading the kernel code, some of the Code that deals with hardware is compiled by
Various selectors for CSSFirst, the basic selector1. * Universal element Selector, matches any element2. E Tag Selector, matching all elements using e tag3.. info class selector that matches all elements of the class attribute that contain info4. #footer the ID selector to match all elements of the id attribute equal to footerTwo, multi-element combination Selector5. E,f multi-element selector, matching all e elements or F elements, separated by commas between E and F6. E F descendant element se
----------------------------------------CSS Selector----------------------------------------1, combination selector:1) e>f: direct descendant selector.2) E+f: Sibling element selector, matching the sibling element F immediately following the E element.3) E~f: matches any of the sibling F elements after the E element.4) E F: descendant selector.5) E,f: Group selector.cation:+ and ~ differences, + can only match one sibling element immediately following it; ~ matches all sibling elements immediate
1. In intel format, most of them use upper-case letters (both in lower case) and lower-case letters in att format.
2. In att format, Register names must be prefixed with "%", which is not required in intel.
3. The original operation of the command is different from that of the destination operand. For example, if the eax value is passed into the EBX command, in Intel, the target is in the front, and the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.