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
"Loader"
Bootstrap 4.0.0 Snippet by
AlexSemenov
4.0.0
loader
Preview
HTML
CSS
View Full Screen
Fork
Fork this
31.6K
 
7 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <svg class="loader" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 340 340"> <circle cx="170" cy="170" r="160" stroke="#E2007C"/> <circle cx="170" cy="170" r="135" stroke="#404041"/> <circle cx="170" cy="170" r="110" stroke="#E2007C"/> <circle cx="170" cy="170" r="85" stroke="#404041"/> </svg> </div> https://codepen.io/matchboxhero/pen/bomWGK?editors=1100
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; min-height: 100vh; background-color: #ededed; } .loader { max-width: 15rem; width: 100%; height: auto; stroke-linecap: round; } circle { fill: none; stroke-width: 3.5; -webkit-animation-name: preloader; animation-name: preloader; -webkit-animation-duration: 3s; animation-duration: 3s; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; -webkit-transform-origin: 170px 170px; transform-origin: 170px 170px; will-change: transform; } circle:nth-of-type(1) { stroke-dasharray: 550; } circle:nth-of-type(2) { stroke-dasharray: 500; } circle:nth-of-type(3) { stroke-dasharray: 450; } circle:nth-of-type(4) { stroke-dasharray: 300; } circle:nth-of-type(1) { -webkit-animation-delay: -0.15s; animation-delay: -0.15s; } circle:nth-of-type(2) { -webkit-animation-delay: -0.3s; animation-delay: -0.3s; } circle:nth-of-type(3) { -webkit-animation-delay: -0.45s; -moz-animation-delay: -0.45s; animation-delay: -0.45s; } circle:nth-of-type(4) { -webkit-animation-delay: -0.6s; -moz-animation-delay: -0.6s; animation-delay: -0.6s; } @-webkit-keyframes preloader { 50% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes preloader { 50% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
Related:
See More
Template
Vue Material Dashboard PRO
38.8K
41
Boll css loader
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76