HTML CSS examples for CSS Form:input
change the size of icon inside input using css
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .form_input { font-size:11px; font-family:Roboto; font-weight:normal; width:343px; border:none; border-bottom:2px solid; } #input-icon {<!-- w ww .j a va 2s. c om--> background:url('https://www.java2s.com/style/demo/Google-Chrome.png') no-repeat scroll 6px 6px; background-position:right; background-size:13px; height:5px; opacity:0.5; } .form_input::-webkit-input-placeholder { color:Chartreuse; } </style> </head> <body> <div class="form_group"> <input id="input-icon" type="text" class="form_input " placeholder="W jakim celu z nami kontaktujesz?"> </div> </body> </html>