Last active
December 2, 2023 18:40
-
-
Save softiconic/7425c13b5d7acd4c0802acc653c8c8a8 to your computer and use it in GitHub Desktop.
Page loader or customized preloader.
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 class="loader" style="display:block" ></div> | |
<style type='text/css'> | |
.loader{ | |
display: none; | |
} | |
.loader { | |
position: fixed; | |
left: 0px; | |
top: 0px; | |
width: 100%; | |
height: 100%; | |
z-index: 99999999; | |
background:#051D40; | |
} | |
</style> | |
<script type='text/javascript'> | |
jQuery(document).ready(function($) { | |
jQuery(function($){ | |
jQuery('.loader').slideToggle('slow'); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment