We talked about the ID selector and class selector, and their differences and relationships, and let's explore the magical categories and pseudo-elements. In fact, I used to pseudo-class and pseudo-elements are also confused, and now decided to peel off its mysterious cloak, first of all, what is pseudo-class? What is a pseudo-element? Pseudo-class and pseudo-elemental understanding: The official explanation: the Pseudo-class was initially used to represent the dynamic state of some elements, typically the various states of the links (link, active, hover, visited) that were commonly used, and then the CSS2 standard extended its conceptual scope, Makes it a "ghost" category that all logically exists but is not identified in the document tree. Pseudo-elements represent the child elements of an element that, although logically present, do not actually exist in the document tree, such as after, before, etc., which we normally use. His superficial understanding is that the pseudo-class is a class that does not need to be identified, the pseudo-element is an element, but does not exist with the document tree. About usage: A pseudo-class is preceded by a colon, and a pseudo-element is preceded by two colons. E:first-child Pseudo class, E::fir
1. CSS common attributes pseudo-elements and pseudo-elements summary
Introduction: In the previous several times we talked about the ID selector and class selector, as well as their differences and relations, let's explore the magic for the class and pseudo-elements.
2. Colors and units of CSS common properties
Introduction: In the CSS coding, the estimation of colors and units is essential, but in the CSS on the color and unit values are written in many ways, it is necessary to make it clear.
3. CSS Common Properties First bullet: ID and class Selector
Summary: CSS Common Properties first bullet: ID and class Selector
4. CSS Common Properties
Summary: About CSS Properties personal advice to view manuals more detailed and convenient, I am here to classify several common properties and simply take a few common attribute values, only for the same as I just learn the front end as a primer.
5. CSS Common Properties Summary four
Summary: ******* CSS Common Properties ********* the font font to set or retrieve text attributes in an object. This property is a composite property. The first method of declaring a parameter must be in the same order as above, and the font-
6. CSS Common Properties Summary three
Introduction: ******* CSS Common Properties ********* "margin" margin retrieves or sets the extended margin of the object margin-top retrieves or sets the epitaxial margin of the top edge of the object Margin-right
7. CSS Common Properties Summary two
Summary: ******* CSS Common Properties ********* "layout" clear: The value of this property indicates an edge that does not allow floating objects. Default value: Nonenone: Allow floating objects on both sides both: not allowed
8. CSS Common Properties Summary One
Summary: ******* CSS Common Properties *********z-index:auto (default) retrieves or sets the stacking order of objects. The object of the class, the larger the value of this property parameter, is stacked on top. This property, such as two objects, has a
9. CSS Common Properties and Values _html/css_web-itnose
Summary: CSS Common Properties and values