HTML CSS examples for CSS Widget:Image
HTML custom icon class
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .searchButton {<!--from w w w.ja v a 2 s . com--> background:Chartreuse url('https://www.java3s.com/style/demo/Google-Chrome.png') no-repeat; background-size:contain; width:5%; height:22px; } </style> </head> <body> <div id="search"> <input type="text" class="searchTerm" placeholder="What are you looking for?"> <button type="submit" class="searchButton"> <span class="icon"></span> </button> </div> </body> </html>