Skip to content

Instantly share code, notes, and snippets.

@LucasCalazans
Created November 24, 2021 18:54
Show Gist options
  • Save LucasCalazans/e865846456dded2b45cf039444585901 to your computer and use it in GitHub Desktop.
Save LucasCalazans/e865846456dded2b45cf039444585901 to your computer and use it in GitHub Desktop.
Skeleton effect
.placeholder {
animation-name: fade;
animation-duration: 1s;
background-color: #e5e5e5;
animation-iteration-count: infinite;
}
@keyframes fade {
0% {
opacity: .6
}
50% {
opacity: 1
}
100% {
opacity: .6
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment