Bootstrap spinners – How to use spinners in website using bootstrap 4

{ // deep_execution_view
const authorName = "Ankit Agrawal";
//
const publishDate = "July 26, 2019";

Bootstrap spinners are used to indicate loading state of a component or page. They are built with HTML and css, that’s mean they no require any JavaScript code. We can change their size, color, appearance and alignment by using bootstrap utility classes.

Types of spinners :

1 : Border Spinner

<div class="spinner-border" role="status">
  <span class="sr-only">Loading...</span>
</div>

2 : Growing Spinner

<div class="spinner-grow" role="status">
  <span class="sr-only">Loading...</span>
</div>

Read more about bootstrap spinners

}