@emotion/core#keyframes TypeScript Examples

The following examples show how to use @emotion/core#keyframes. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: site-status-dot.tsx    From desktop with MIT License 6 votes vote down vote up
pulse = keyframes({
  "0%": {
    transform: `scale(0.8)`,
    boxShadow: `0 0 0 0 rgba(0, 255, 0, 0.7)`,
  },
  "70%": {
    transform: `scale(1)`,
    boxShadow: `0 0 0 0 rgba(0, 255, 0, 0.7)`,
  },
  "100%": {
    transform: `scale(0.8)`,
    boxShadow: `0 0 0 0 rgba(0, 255, 0, 0)`,
  },
})
Example #2
Source File: index.tsx    From livepeer-com with MIT License 6 votes vote down vote up
loadingAnim = keyframes`
0% {
  width: 0%;
  left: 0.5%
}
49% {
  width: 99.5%;
  left: 0.5%
}
50% {
  left: 99.5%;
  width: 0%;
}
100% {
  left: 0.5%;
  width: 99.5%
}
`
Example #3
Source File: Logo.tsx    From condo with MIT License 6 votes vote down vote up
SunKeyFrames = keyframes`
  from {
    transform: translate(-15px, -12px);
    opacity: 0
  }
  to {
    transform: translate(28px, -15px);
    opacity: 1
  }
`
Example #4
Source File: UserWelcomeTitle.tsx    From condo with MIT License 6 votes vote down vote up
WelcomeKeyFrames = keyframes`
  0% {
    opacity: 0;
    transform: translate(-20px)
  }
  40% {
    opacity: 1;
    transform: translate(-20px)
  }
  100% {
    transform: translate(0px)
  }
`
Example #5
Source File: UserWelcomeTitle.tsx    From condo with MIT License 6 votes vote down vote up
ManKeyPictureFrames = keyframes`
  0% {
    opacity: 0
  }
  60% {
    transform: translate(-30px);
    opacity: 0
  }
  100% {
    transform: translate(0);
    opacity: 1
  }
`
Example #6
Source File: UserWelcomeTitle.tsx    From condo with MIT License 6 votes vote down vote up
WomanPictureKeyFrames = keyframes`
  0% {
    opacity: 0
  }
  60% {
    transform: translate(-35px);
    opacity: 0
  }
  100% {
    transform: translate(0);
    opacity: 1
  }
`
Example #7
Source File: site-card.tsx    From desktop with MIT License 5 votes vote down vote up
statusAnimation = keyframes({
  "100%": { backgroundPosition: `100% 100%` },
})
Example #8
Source File: index.tsx    From livepeer-com with MIT License 5 votes vote down vote up
rotate = keyframes`
  100% {
    transform: rotate(360deg);
  }
`
Example #9
Source File: App.tsx    From cra-template-typekit with MIT License 5 votes vote down vote up
float = keyframes`
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
`
Example #10
Source File: BoardList.tsx    From knboard with MIT License 5 votes vote down vote up
scaleUp = keyframes`
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.05);
    }
`
Example #11
Source File: MemberDetail.tsx    From knboard with MIT License 5 votes vote down vote up
scaleUp = keyframes`
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.15);
    }
`