Css
You may have realized that you can create a CSS rollover effect by specifying a different style for each key link, which includes normal link (normal), access, flip, and activate. And, you may also know that the order of CSS types can have an effect difference, and the style of the CSS code will replace the style of the previous order for the same element. It is important to establish the type Order of tumbling effects.
Now let's see how to schedule the type of link state to support normal rollover effects without conflict, and how to rearrange these type orders to get a different rollover effect.
Link state
A typical CSS rollover effect relies on a standalone type of one of the four states in the hyperlink. You can create a <a> (hyperlink) type that comes with a CSS pre-class to specify the link state:
a:link--General, non-access hyperlinks
a:visited--Access to hyperlinks
a:hover--the link when the visitor operates the mouse
a:active--Click on the link
In order to make a typical CSS rollover work, the CSS type Order in CSS code is important, whether it's an external type table or a type rule embedded in the HIML page title bar.
The A:link type occurs as early as it can be applied to all links. The a:visited type is ranked second, and it replaces any linked a:link format. (If the A:link type follows the A:visited,a:link, the a:visited type may be substituted.) followed by the a:hover type, which is used only to access the link under the mouse. The last is a:active, so when the link is clicked, it can replace all other types. A total of 3 pages. 1 2 3 8: