A label of the Pseudo class is only a combination of different action sequence, the trigger sequence of action determines the order of the pseudo class must be lvha to write, next for you to introduce the details, interested friends may wish to refer to the following
The role of a label pseudo-class:
": Link": A label has not been visited in the State;
": Visited": A label has been visited by the State;
": hover": mouse hover over a label on the state;
": Active": The state of a label when the mouse is pressed;
When writing styles, the hairs are written in this order:
In fact, the essence or "the same priority of the style, written in the back will cover the front," a label of the Pseudo class is only a combination of different action sequence, the trigger sequence of actions to determine the order of the Pseudo class must be written according to LVHA.
The following combination of these 4 pseudo class simple:
Because the first 2 of the two states are normal, and then 2 is the real-time state, immediately when the state trigger, to cover the normal, so 2 immediate state to put in the back;
Because in the normal state: If a label is visited, it is necessary to present the status of the visited, so visited should be placed behind link;
Because the mouse is pressed, along with the hover of a label, so to the active coverage of hover, you must put the active behind;
Sequential Memory Tips:
LV Bag Hao with