Copy code The code is as follows:<style type="text/css"> #ab{margin:0 25px;position:relative;border:1px solid; font:bold;text-decoration:none;list-style:none;} a:hover{display:block;color:#000;width:50px;} #cd{display:none;} a:hover #cd{ display:block;background:#edecdc; border:1px solid #f3f3f8; padding:10px 20px;color:#009933; } </style> <a href="" title="" id="ab"> Try moving here! <span id="cd">Here is the prompt information!</span> <span id="cd">Here is the prompt information!</span> </a> <a href="" title="" id="ab"> Try moving here! <span id="cd">Here is the prompt information!</span> <span id="cd">Here is the prompt information!</span> </a> <!-- 1. The menu should be wrapped in <a></a>, because IE6 only supports a:hover effect 2. a:hover to open display:block: 3. Selectors should be related to each other, such as: a#cd:hover span{} 4. Use table --> |
<<: Detailed steps for deploying Tomcat server based on IDEA
>>: css add scroll to div and hide the scroll bar
Table of contents 1. Pre-analysis 1. Variable pre...
This article is mysql database Question 1 Import ...
We use the translate parameter to achieve movemen...
IE8 will have multiple compatibility modes . IE pl...
In the previous article, we talked about MySQL tr...
The mysql on the server is installed with version...
Putting input and img on the same line, the img ta...
1. Check BIOS First check which startup mode your...
Solve the problem that the vue project can be pac...
If we introduce the nesting rules of basic HTML w...
This article example shares the specific code of ...
I have always been interested in wireless interac...
summary Docker-compose can easily combine multipl...
Original article, please indicate the author and ...
react-native installation process 1.npx react-nat...