[jquery] How can I create a "Please Wait, Loading..." animation using jQuery?

I use CSS3 for animation

_x000D_
_x000D_
/************ CSS3 *************/_x000D_
.icon-spin {_x000D_
  font-size: 1.5em;_x000D_
  display: inline-block;_x000D_
  animation: spin1 2s infinite linear;_x000D_
}_x000D_
_x000D_
@keyframes spin1{_x000D_
    0%{transform:rotate(0deg)}_x000D_
    100%{transform:rotate(359deg)}_x000D_
}_x000D_
_x000D_
/************** CSS3 cross-platform ******************/_x000D_
_x000D_
.icon-spin-cross-platform {_x000D_
  font-size: 1.5em;_x000D_
  display: inline-block;_x000D_
  -moz-animation: spin 2s infinite linear;_x000D_
  -o-animation: spin 2s infinite linear;_x000D_
  -webkit-animation: spin 2s infinite linear;_x000D_
  animation: spin2 2s infinite linear;_x000D_
}_x000D_
_x000D_
@keyframes spin2{_x000D_
    0%{transform:rotate(0deg)}_x000D_
    100%{transform:rotate(359deg)}_x000D_
}_x000D_
@-moz-keyframes spin2{_x000D_
    0%{-moz-transform:rotate(0deg)}_x000D_
    100%{-moz-transform:rotate(359deg)}_x000D_
}_x000D_
@-webkit-keyframes spin2{_x000D_
    0%{-webkit-transform:rotate(0deg)}_x000D_
    100%{-webkit-transform:rotate(359deg)}_x000D_
}_x000D_
@-o-keyframes spin2{_x000D_
    0%{-o-transform:rotate(0deg)}_x000D_
    100%{-o-transform:rotate(359deg)}_x000D_
}_x000D_
@-ms-keyframes spin2{_x000D_
    0%{-ms-transform:rotate(0deg)}_x000D_
    100%{-ms-transform:rotate(359deg)}_x000D_
}
_x000D_
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>_x000D_
_x000D_
_x000D_
<div class="row">_x000D_
  <div class="col-md-6">_x000D_
    Default CSS3_x000D_
    <span class="glyphicon glyphicon-repeat icon-spin"></span>_x000D_
  </div>_x000D_
  <div class="col-md-6">_x000D_
    Cross-Platform CSS3_x000D_
    <span class="glyphicon glyphicon-repeat icon-spin-cross-platform"></span>_x000D_
  </div>_x000D_
</div>
_x000D_
_x000D_
_x000D_