forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
398 B
24 lines
398 B
// <3: https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
|
|
@keyframes onAutoFillStart {
|
|
from {
|
|
/**/
|
|
}
|
|
to {
|
|
/**/
|
|
}
|
|
}
|
|
@keyframes onAutoFillCancel {
|
|
from {
|
|
/**/
|
|
}
|
|
to {
|
|
/**/
|
|
}
|
|
}
|
|
input:-webkit-autofill {
|
|
animation-name: onAutoFillStart;
|
|
transition: transform 1ms;
|
|
}
|
|
input:not(:-webkit-autofill) {
|
|
animation-name: onAutoFillCancel;
|
|
}
|
|
|