HTML CSS examples for CSS Widget:Hover
Hover to enlarge
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .sten {<!--from w w w . jav a2s . c o m--> display:none; } #hover { opacity:0; } #hover:hover + .sten { display:block; } </style> </head> <body> <div class="per"> <label for="hover"> <a>Lorem ipsum do</a> </label> </div> <input id="hover" type="checkbox" checked> <div class="sten"> Lorem ipsum dolor sit </div> </body> </html>