keep links visible after hovering - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover Link

Description

keep links visible after hovering

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">
#portfolio {<!--from   w  w  w  .  ja va2 s.c o  m-->
   width:71px;
   background:green;
}

#portfolio2 {
   display:none;
   width:201px;
   background:lightblue;
}

#portfolio:hover>#portfolio2 {
   display:block;
}
</style> 
 </head> 
 <body> 
  <div id="portfolio"> 
   <a href="portfolio.html" onclick="readCookie();">Lorem ips</a> 
   <div id="portfolio2"> 
    <a href="portfolio_Sim.html" onclick="readCookie();">Lorem ipsum</a> 
    <a href="portfolio_Gimp" onclick="readCookie();">Lore</a> 
    <a href="portfolio_Ink" onclick="readCookie();">Lorem ip</a> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials