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

style(refact): understanding skeleton component #8

@mu-hun

Description

@mu-hun

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)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededrefactThis doesn't seem rightstyle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions