Bootstrap snippet. Loading Animation like Facebook Style

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
Tags: loading,animation

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<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, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body { 
    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;
  @ .animated-background;
}

Similar snippets

Bootstrap page loader example

page loader

Bootstrap bs4 navbar with dropdown animations example

bs4 navbar with dropdown animations

Bootstrap bs4 alpha Dynamic Loading progress Bar example

bs4 alpha Dynamic Loading progress Bar

Bootstrap load page indicator example

load page indicator

Bootstrap timeline steps example

timeline steps

Bootstrap bs5 edit profile account details example

bs5 edit profile account details

Bootstrap user profile bio graph and total sales example

user profile bio graph and total sales

Bootstrap chat app example

chat app

Bootstrap Loading Animation like Facebook Style example

About this bootstrap snippet

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 snippet currectly have 4.1K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.5.0

This snippet 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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working