HTML CSS examples for CSS Widget:Div
Activating div while hovering over underlaying div
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> </style> <!--from w w w. j a va 2 s .c o m--> </head> <body> <ul> <li> <div class="hover"> <a href="#"> <p>Test</p> </a> </div> <img src="https://www.java2s.com/style/demo/InternetExplorer.png" alt="img"> <div class="text"> <p>Test</p> </div> </li> </ul> </body> </html>