HTML CSS examples for CSS Widget:Hover
CSS hover inner element on outer hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> a {<!-- www .jav a 2s . co m--> background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png'); background-size:cover; display:inline-block; width:201px; height:151px; } a:hover { background-image:url('https://www.java2s.com/style/demo/Google-Chrome.png'); } a input { color:Chartreuse; font-weight:701; background-color:yellow; } a:hover input { background-color:blue; } </style> </head> <body> <a href="#"> <input type="button" class="btn-u" value="Hackschnitzel"> </a> </body> </html>