Css background-input with image - HTML CSS CSS Property

HTML CSS examples for CSS Property:background

Description

Css background-input with image

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

input {<!--from  w w  w . ja v  a  2s  .c  o m-->
   background: url(https://www.java2s.com/style/demo/InternetExplorer.png) 98% 50% no-repeat;
   width: 240px;
   height: 26px;
   border: 1px solid #ddd;
   border-radius: 3px;
}


      </style> 
 </head> 
 <body> 
  <input type="text">  
 </body>
</html>

Related Tutorials