Skip to content

Instantly share code, notes, and snippets.

@wnqueiroz
Last active August 9, 2018 18:52
Show Gist options
  • Select an option

  • Save wnqueiroz/1ee4286d890475f7cf57bd6590b2608d to your computer and use it in GitHub Desktop.

Select an option

Save wnqueiroz/1ee4286d890475f7cf57bd6590b2608d to your computer and use it in GitHub Desktop.
React Context: index.css
.overlay-content {
display: flex;
width: 100%;
left: 0;
top: 0;
align-items: center;
height: 100%;
justify-content: center;
position: fixed;
z-index: 999999;
background: rgba(0, 0, 0, 0.7);
flex-direction: column;
}
.overlay-content .wrapper {
display: inherit;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
flex-direction: column;
}
.overlay-content .wrapper .message {
margin-top: 20px;
color: white;
font-weight: bold;
text-shadow: 0 2px 5px black;
}
/* react-spinkit */
.sk-spinner.pacman > div:nth-child(n+3):nth-child(-n+5) {
color: white;
z-index: -1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment