Chapter advance understanding of terms and concepts
Be sure you understand the jargon of the world such as CSS
.vocabulary{ height:99px; color:transparent; }
- Properties: As height, color
- value
- Integer: z-index: 1 1 belonging to
Also - Values: line-height: 1.5 of 1.5, belongs
- Percentage values: padding: 50% of 50%. belong
- Length value: 99px
- Color value: # 999
- String value, the position value,
- In CSS3, the angle value, the frequency value, time value, and other types
- Integer: z-index: 1 1 belonging to
- Keywords:
- 如 transprent,solid,inherit...
- Which is also known as the Pan inherit keyword, CSS properties can be used all his
- variable
- CSS3 in currentColor
- Unit of length
- Time units: s, ms
- Angle Unit: deg, rad ...
- 2%; value is a complete unit of length is not
-
= Length of unit + - Relative length unit
- Font relative length units: em, ex and CSS3 in rem, ch
- Viewport relative length unit: vh, vx, vmin, vmax
- Absolute length units
- px, pt, cm, mm, pc etc.
- Relative length unit
- Function symbols
- rgba(0,0,0,0.5), url('css-world.png'),attr('href'),scale(-1)
- Attribute value: after the colon is the attribute value
- As 1px solid rgb (0,0,0) + value key function symbols +
- z-index: 1 1 is the value of
- Disclaimer: attribute name with the property value is declared
- color:transparent;
- Declaration block: {} is wrapped in a series of statements
- As the above code
- Rule set or rule: selector occurred, and there declaration blocks.
- If all of the above code
- Selector: as above .vocabulary
- Class Selector: .vocabulary
- ID selector: #id
- Attribute selectors
- [sttribute]
- [attribute=value]
- [Sttribute ~ = value] for the element selected attributes includes the specified words
- [Attribute | = value] for selecting the element with the attribute value to begin with a specified value, this value must be a whole word.
- [Attribute ^ = value] match the beginning of the attribute value of each element of the specified value.
- [Sttribute $ = value] matching attribute value of each element end with the specified value.
- [Attribute * = value] contained in the property value matches the specified value of each element.
- Pseudo class selector: The: first-child, last-child
- Pseudo-element selector: :: first-line, :: first-letter, :: before, :: after
- Relations selector
- Descendant selectors; connecting spaces
- Adjacent descendant selectors: selecting only son Elements>
- Brothers Select: Select the current rules of the Council of adjacent serious siblings -
- Adjacent sibling selector: just choose that will fit the rules of the current element adjacent siblings +
- @rule
- @media
- @ Font-face
- @page
- @support
Learn CSS world "undefined behavior"
- Like browser norms to achieve not take into account the minutiae, called "undefined behavior."