Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Preloader : Demo4"
Bootstrap 3.0.0 Snippet by
napsterbd
3.0.0
loader
Preview
HTML
CSS
View Full Screen
Fork
Fork this
4.5K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="loader"> <div class="loader-inner"> <div class="loading one"></div> </div> <div class="loader-inner"> <div class="loading two"></div> </div> <div class="loader-inner"> <div class="loading three"></div> </div> <div class="loader-inner"> <div class="loading four"></div> </div> </div> </div> </div> </div>
.loader{ width: 150px; height: 150px; margin: 40px auto; transform: rotate(-45deg); font-size: 0; line-height: 0; animation: rotate-loader 5s infinite; padding: 25px; border: 1px solid #cf303d; } .loader .loader-inner{ position: relative; display: inline-block; width: 50%; height: 50%; } .loader .loading{ position: absolute; background: #cf303d; } .loader .one{ width: 100%; bottom: 0; height: 0; animation: loading-one 1s infinite; } .loader .two{ width: 0; height: 100%; left: 0; animation: loading-two 1s infinite; animation-delay: 0.25s; } .loader .three{ width: 0; height: 100%; right: 0; animation: loading-two 1s infinite; animation-delay: 0.75s; } .loader .four{ width: 100%; top: 0; height: 0; animation: loading-one 1s infinite; animation-delay: 0.5s; } @keyframes loading-one { 0% { height: 0; opacity: 1; } 12.5% { height: 100%; opacity: 1; } 50% { opacity: 1; } 100% { height: 100%; opacity: 0; } } @keyframes loading-two { 0% { width: 0; opacity: 1; } 12.5% { width: 100%; opacity: 1; } 50% { opacity: 1; } 100% { width: 100%; opacity: 0; } } @keyframes rotate-loader { 0% { transform: rotate(-45deg); } 20% { transform: rotate(-45deg); } 25% { transform: rotate(-135deg); } 45% { transform: rotate(-135deg); } 50% { transform: rotate(-225deg); } 70% { transform: rotate(-225deg); } 75% { transform: rotate(-315deg); } 95% { transform: rotate(-315deg); } 100% { transform: rotate(-405deg); } }
Related:
See More
Free Template
Now UI Kit
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76