Css may use the background of the tag to produce interesting results. This effect is an effect that someone wrote an email to me today. I wrote A similar effect using the background of the tag before. So I wrote the effect he requested when I got back! By the way, I will share with you that if you are very creative, you will certainly be able to make more interesting results.
The effect he proposed is the effect of a FLASH on the nine-day music homepage. It may be because he does not want to use FLASH or SEO to imitate the same effect. So I used FW to make two GIF images to imitate this effect. Because it is used for testing, I did not consider the pictures in many aspects. It's a bit rough, but it seems so interesting ......
A: link, a: visited, a: hover, a: active, what others tell you is always faster than self-understanding.
The Code is as follows:
A: link {}
A: visited {}
A: hover {}
A: active {}
The preceding statements define the "normal link", "accessed link", "mouse over top", and "mouse over.
For beginners, please note that during the writing process, the four rows must be written in the order above. Otherwise, the displayed results will be different from expected. The simple memory is "LVHA ". Love ha.
The following figure shows two images used for this effect:
The following is the CSS section:
The Code is as follows:
The layout section is as follows:
Program code
The Code is as follows:
The following are the results:
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]