HTML CSS examples for CSS Widget:Button
Transparent png button hover without background
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .container {<!-- ww w .jav a 2s. co m--> position:relative; } .circle { position:absolute; top:100px; left:100px; width:100px; height:100px; border-radius:51%; background:Chartreuse; } .circle:hover+img { border:6px solid yellow; } </style> </head> <body> <div class="container"> <div class="circle"></div> <img src="https://www.java2s.com/style/demo/Opera.png"> </div> </body> </html>