HTML CSS examples for CSS Widget:Hover Link
keep links visible after hovering
<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>