HTML CSS examples for CSS Widget:Hover Effect
@media handheld - no hover effects
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> a.my_element {<!--from w w w. j a va 2 s . c o m--> color:Chartreuse; } a.my_element:hover { color:yellow; } @media (max-width: 480px) { a.my_element:hover { color:blue; } } </style> </head> <body> <a href="#" class="my_element">Lorem ips</a> </body> </html>