Created
May 25, 2014 13:56
-
-
Save rlog/8fe67b2d9aa3536d5c72 to your computer and use it in GitHub Desktop.
facebook post loading
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* facebook post loading | |
*/ | |
#loading { | |
animation-duration: 1s; | |
animation-fill-mode: forwards; | |
animation-iteration-count: infinite; | |
animation-name: placeHolderShimmer; | |
animation-timing-function: linear; | |
background-clip: border-box; | |
background-origin: padding-box; | |
background-attachment: scroll; | |
background-clip: border-box; | |
background-color: rgb(246, 247, 248); | |
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, from(rgb(246, 247, 248)), color-stop(0.2, rgb(237, 238, 241)), color-stop(0.4, rgb(246, 247, 248)), to(rgb(246, 247, 248))); | |
background-origin: padding-box; | |
height: 104px; | |
position: relative; | |
width: 470px; | |
zoom: 1; | |
} | |
p{ | |
height: 10px; | |
background: #fff; | |
} | |
@-webkit-keyframes placeHolderShimmer { | |
0% { | |
background-position: -468px 0 | |
} | |
100% { | |
background-position: 468px 0 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="loading"> | |
<p></p> | |
<p></p> | |
<p></p> | |
<p></p> | |
<p></p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment