_hacks.scss 437 B

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