Web Design Guide 2023-12-11 10:29:21 | 2.0.0

Animation

<p>missing documentation about animation</p>
<p>missing documentation about animation</p>
/* No context defined for this component. */
  • Content:
    /* Animation */
    
    .-spin {
      animation: spin 2s infinite linear;
    }
    
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
    
      100% {
        transform: rotate(360deg);
      }
    }
    
    .-come-in {
      filter: blur(0);
      opacity: 0;
      animation: come-in var(--animation-duration) ease forwards;
      will-change: transform;
    
      &.-come-from-left {
        transform: translateX(calc(-1 * var(--animation-distance)));
      }
    
      &.-come-from-right {
        transform: translateX(var(--animation-distance));
      }
    
      &.-come-from-bottom {
        transform: translateY(var(--animation-distance));
      }
    }
    
    @keyframes come-in {
      to {
        opacity: 1;
        transform: translateX(0) translateY(0);
      }
    }
    
  • URL: /components/raw/animation/_animation.scss
  • Filesystem Path: src/components/03-css-utilities/02-helpers/animation/_animation.scss
  • Size: 660 Bytes
  • Handle: @animation
  • Preview:
  • Filesystem Path: src/components/03-css-utilities/02-helpers/animation/animation.hbs

There are no notes for this item.