title: How to avoid Chrome hide background image and color over an autofill input?
body: <p><strong>Chrome Browser</strong> auto-fill removed effect of <code>background-color</code> and <code>background-image</code> from <code>Username</code> and <code>Password</code> input fields.</p>
  
  <p><strong>Before autocomplete</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/Ww7Hg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Ww7Hg.png" alt="enter image description here"></a></p>
  
  <p><strong>After autocomplete</strong></p>
  
  <p><a href="https://i.stack.imgur.com/hbG2C.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hbG2C.png" alt="enter image description here"></a></p>
  
  <p>But <strong>Chrome Browser</strong> autocomplete hide my icons from inputs and also changed my <code>background-color</code>. So i need my icons stay on inputs as it is.</p>
  
  <p>It is possible to stop <strong>Chrome Browser</strong> from change background color of fields and hide images?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.form-section .form-control {
   border-radius: 4px;
   background-color: #f7f8fa;
   border: none;
   padding-left: 62px;
   height: 51px;
   font-size: 16px;
   background-repeat: no-repeat;
   background-position: left 17px center;
  }
  
  .form-section .form-control:focus {
   -webkit-box-shadow: none;
   box-shadow: none;
  }
  
  .form-section .form-group {
   margin-bottom: 21px;
  }
  
  .form-section .form-control[type="email"] {
   background-image: url('https://i.stack.imgur.com/xhx3w.png');
  }
  
  .form-section .form-control[type="password"] {
   background-image: url('https://i.stack.imgur.com/910l0.png');
  }
  
  .form-btn {
    padding:10px;
      background-color: #65a3fe;
      border: none;
      color: #ffffff;    
      font-size: 18px;
      font-weight: 700;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-section"&gt;
      &lt;form&gt;                                 
          &lt;div class="form-group"&gt;
              &lt;input title="Email" type="email" class="form-control" name="email" placeholder="Your email address" value=""&gt;
    &lt;/div&gt;
          &lt;div class="form-group"&gt;
              &lt;input title="Password" type="password" class="form-control" name="password" placeholder="Your Password"&gt;
    &lt;/div&gt;
          &lt;button type="submit" class="btn btn-primary form-btn"&gt;Log in&lt;/button&gt;
      &lt;/form&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>