Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

ajustes para cobrir toda a app

html:

<div id="loading" class="displayLoading">
  <div class="displaySpinner"></div>
</div>

css:

.displayLoading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  display: none;
}

.displaySpinner {
  position: absolute;
  left:50%;
  top:50%;
  width: 100px;
  height: 100px;
  z-index: 9999;
  background-image: url('/img/ajax-loader.gif');
}

--

outro exemplo:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment