Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

style(refact): understanding skeleton component #8

Open
mu-hun opened this issue Nov 14, 2019 · 0 comments
Open

style(refact): understanding skeleton component #8

mu-hun opened this issue Nov 14, 2019 · 0 comments
Labels
help wanted Extra attention is needed refact This doesn't seem right style

Comments

@mu-hun
Copy link
Member

mu-hun commented Nov 14, 2019

ref: 87d5f33#r345821409

const SkeletonPulse = styled.div`
display: inline-block;
height: 100%;
width: 100%;
background: linear-gradient(-90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
background-size: 400% 400%;
animation: pulse 1.2s ease-in-out infinite;
@keyframes pulse {
0% {
background-position: 0% 0%;
}
100% {
background-position: -135% 0%;
}
}
`
export const Skeleton = styled(SkeletonPulse)`

@mu-hun mu-hun added the refact This doesn't seem right label Nov 14, 2019
@BasixKOR BasixKOR added the help wanted Extra attention is needed label Nov 14, 2019
@mu-hun mu-hun added the style label Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed refact This doesn't seem right style
Projects
None yet
Development

No branches or pull requests

2 participants