Created
May 11, 2013 12:50
-
-
Save gcyrillus/5559887 to your computer and use it in GitHub Desktop.
bascic loading for iframe
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
/* bascic loading for iframe */ | |
.ifrHold {display:table;margin:3em auto;position:relative;border:solid; | |
background:linear-gradient(0deg,turquoise,purple);} | |
.ifrHold:before {content:"LOADING";position:absolute;width:100%;text-align:center;top:40%;font-size:4em;} | |
iframe {width:900px;height:600px;opacity:1;animation: 10s showifr;position:relative;z-index:1} | |
@keyframes showifr { | |
0% {opacity:0} | |
100% {opacity:1;} | |
} |
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
<h1>Rafrichir la page pour relancer l'animation/chargement de l'iframe, ou modifier le html</h1> | |
<p>test avec ajout d'une animation si le chargement de l'iframe est trop rapide a l'ouverture de la page.</p> | |
<div class="ifrHold"> | |
<iframe src="http://dabblet.com/help/index.html"> | |
</iframe> | |
</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":"split-vertical","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