Fab.module.scss 457 B

12345678910111213141516171819202122232425262728293031
  1. .grw-fab :global {
  2. // workaround
  3. // https://stackoverflow.com/a/57667536
  4. .fadeInUp {
  5. & :local {
  6. animation: fab-fadeinup 1s ease 0s;
  7. }
  8. }
  9. .fadeOut {
  10. & :local {
  11. animation: fab-fadeout 0.5s ease 0s forwards;
  12. }
  13. }
  14. }
  15. @keyframes fab-fadeinup {
  16. 0% {
  17. opacity: 0;
  18. transform: translateY(100px);
  19. }
  20. 100% {
  21. opacity: 1;
  22. transform: translateY(0px);
  23. }
  24. }
  25. @keyframes fab-fadeout {
  26. 100% {
  27. opacity: 0
  28. }
  29. }