Activating div while hovering over underlaying div - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Div

Description

Activating div while hovering over underlaying div

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials