B
B
boostnow2019-06-18 05:12:37
css
boostnow, 2019-06-18 05:12:37

Why does background image disappear in input in chrome?

Why in chrome, if you do not enter manually, but insert the previously entered text into the input, then the background image disappears? can this be fixed somehow? Firefox doesn't have this.
5d0848686d7aa063208110.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
boostnow, 2019-06-18
@boostnow

Сделал наложив поверх label картинкой с z-index, спасибо за ответы

E
Eugene Chefranov, 2019-06-18
@Chefranov

Можно испарвить дописыванием autocomplete="off", но тогда не будет вариантов
<input name="user" autocomplete="off">

Алексей Зольников, 2019-06-18
@Aleksey_Aleksandrovich

Попробуйте это

input:-webkit-autofill {
  -webkit-box-shadow: none !important;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question