Writing sequence of Hyperlink styles in CSS
There are four hyperlink styles:
A. Link {}/* normal style */
A. Visited {}/* style accessed */
A. Hover {}/* outdated style of mouse hyperlink movement */
A. Active {}/* specifies the style when you right-click the mouse over the superconnection */
The normal writing order should be written in the above way, that is, lvha, which can help the memory by "love, hate ".
If it is not in this order, the displayed results may cause problems. For example, in a recent project, I encountered a problem. hover wrote in. in front of visited, and then when I click the mouse to trigger. after visited,. hover will lose its role, and the next time you move the mouse over the hyperlink, the hyperlink will not become. the style defined in hover.
There are four hyperlink styles:
A. Link {}/* normal style */
A. Visited {}/* style accessed */
A. Hover {}/* outdated style of mouse hyperlink movement */
A. Active {}/* The style when you right-click the mouse over the hyperlink */
The normal writing order should be written in the above way, that is, lvha, which can help the memory by "love, hate ".
If it is not in this order, the displayed results may cause problems. For example, in a recent project, I encountered a problem. hover wrote in. in front of visited, and then when I click the mouse to trigger. after visited,. hover will lose its role, and the next time you move the mouse over the hyperlink, the hyperlink will not become. the style defined in hover.