Skip to content

fix(input): fix autofill styling #451

Merged
merged 1 commit into from
Dec 29, 2017
Merged

Conversation

tx44
Copy link
Contributor

@tx44 tx44 commented Dec 29, 2017

Небольшие фиксы стилей для автофилла.

Взяты отсюда:
#408

/* Hack from http://stackoverflow.com/a/29350537 */
transition: background-color 5000s ease-in-out 0s;
transition: background-color 999999s ease-in-out 0s;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А что произойдет если анимация завершится? Нужно всего лишь подождать 11 дней :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поле будет жёлтым в webkit-браузерах. Не нашёл инфы о максимально допустимом значении здесь, но при 5000s желтение проявляется довольно быстро при неактивной вкладке.

@tx44 tx44 merged commit 99fcd0c into master Dec 29, 2017
@SiebenSieben SiebenSieben deleted the fix/input-autofill-pseudoclass branch May 8, 2018 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants