Skip to content

Instantly share code, notes, and snippets.

@XOP
Created September 20, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XOP/14d2ea5168009cec63e9 to your computer and use it in GitHub Desktop.
Save XOP/14d2ea5168009cec63e9 to your computer and use it in GitHub Desktop.
Facebook feed preloader animation
.feed{
-webkit-animation-duration: 1s;
-webkit-animation-fill-mode: forwards;
-webkit-animation-iteration-count: infinite;
-webkit-animation-name: placeHolderShimmer;
-webkit-animation-timing-function: linear;
background: #f6f7f8;
background-image: -webkit-linear-gradient(left, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
background-image: linear-gradient(left, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
background-repeat: no-repeat;
background-size: 800px 104px;
height: 104px;
position: relative;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment