Last active
October 13, 2015 08:41
-
-
Save maru0014/915d72b0fb680f965e3c to your computer and use it in GitHub Desktop.
This file contains 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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script> | |
$(window).load(function(){ | |
$(".loadingWrap").fadeOut(); | |
}); | |
</script> | |
<style type="text/css"> | |
.loadingWrap { | |
width: 100%; | |
height: 100%; | |
background: #fff; | |
position: fixed; | |
top: 0; | |
left: 0; | |
z-index: 5; | |
} | |
.loadingWrap img { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
margin: -69px 0 0 -69px; | |
width: auto; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="loadingWrap"> | |
<img src="img/now-loading.gif"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment