_hacks.scss 398 B

123456789101112131415161718192021222324
  1. // <3: https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
  2. @keyframes onAutoFillStart {
  3. from {
  4. /**/
  5. }
  6. to {
  7. /**/
  8. }
  9. }
  10. @keyframes onAutoFillCancel {
  11. from {
  12. /**/
  13. }
  14. to {
  15. /**/
  16. }
  17. }
  18. input:-webkit-autofill {
  19. animation-name: onAutoFillStart;
  20. transition: transform 1ms;
  21. }
  22. input:not(:-webkit-autofill) {
  23. animation-name: onAutoFillCancel;
  24. }