HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.5.0 included, to get the result that you can see in the preview selection
Download<div class="container">
<div class="wrapper">
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "> </div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
</div>
</div>
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "> </div>
</div>
</div>
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
</div>
</div>
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
</div>
</div>
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
</div>
</div>
<div class="wrapper-cell">
<div class="image animated-background "></div>
<div class="text">
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
<div class="text-line animated-background "></div>
</div>
</div>
<p class="text-center">Credits: <a href="https://codepen.io/brucevang/pen/qZOPwR">Bruce vang</a></p>
</div>
</div>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.5.0 included, to get the result that you can see in the preview selection
Downloadbody {
margin-top:20px;
background: #E9E9E9;
display: flex;
align-items: center;
justify-content: center;
}
.wrapper {
margin: 30px;
padding: 30px;
background: #fff;
width: 360px;
height: 640px;
display: flex;
flex-direction: column;
}
.wrapper-cell {
display: flex;
margin-bottom: 30px;
}
@keyframes placeHolderShimmer{
0%{
background-position: -468px 0
}
100%{
background-position: 468px 0
}
}
.animated-background {
animation-duration: 1.25s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-name: placeHolderShimmer;
animation-timing-function: linear;
background: #F6F6F6;
background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
background-size: 800px 104px;
height: 96px;
position: relative;
}
.image {
height: 60px;
width: 60px;
@extend .animated-background;
}
.text {
margin-left: 20px
}
.text-line {
height: 10px;
width: 230px;
margin: 4px 0;
}
About this bootstrap example/template
This example/template, Loading Animation like Facebook Style, was published on May 24th 2021, 13:00 by Bootdey Admin and it is free.
We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.
We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.
This code example currectly have 11.8K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.5.0
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.5.0 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working