HTML CSS examples for CSS Widget:Button
Html5 button background image
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> button{<!--from w w w. j a v a 2 s. c o m--> width:196px; height:64px; background-image:url("https://www.java2s.com/style/demo/InternetExplorer.png"); background-repeat:no-repeat; } button:active{ background-position:0px -64px; } </style> </head> <body> <button></button> </body> </html>