diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-25 03:56:11 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-25 03:56:11 +0800 |
commit | 6da6540c038640abf75f703a294cb758c6defc47 (patch) | |
tree | bf320d263a86da9b0f75358305649f4d00b94265 /packages/instant/src/components/animations | |
parent | f89b314a94f867fa905a1ce18eba9336ee4d1634 (diff) | |
parent | 06ba26a6d30565e7c6c4032528089d30ecc39fdd (diff) | |
download | dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar.gz dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar.bz2 dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar.lz dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar.xz dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.tar.zst dexon-0x-contracts-6da6540c038640abf75f703a294cb758c6defc47.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/input-fees-rounding
Diffstat (limited to 'packages/instant/src/components/animations')
-rw-r--r-- | packages/instant/src/components/animations/pulse.tsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/instant/src/components/animations/pulse.tsx b/packages/instant/src/components/animations/pulse.tsx new file mode 100644 index 000000000..01d6ea070 --- /dev/null +++ b/packages/instant/src/components/animations/pulse.tsx @@ -0,0 +1,15 @@ +import { keyframes, styled } from '../../style/theme'; + +const pulsingKeyframes = keyframes` + 0%, 100% { + opacity: 0.2; + } + 50% { + opacity: 100; + } +`; +export const Pulse = styled.div` + animation-name: ${pulsingKeyframes} + animation-duration: 2s; + animation-iteration-count: infinite; +`; |