Skip to content

Instantly share code, notes, and snippets.

@pocotan001
Created April 16, 2014 07:00
Show Gist options
  • Save pocotan001/10820656 to your computer and use it in GitHub Desktop.
Save pocotan001/10820656 to your computer and use it in GitHub Desktop.
Global state rules.
.is-invisible {
visibility: hidden !important;
}
.is-hidden {
display: none !important;
visibility: hidden !important; /* for screenreaders */
}
.is-hidden-visually {
position: absolute !important;
overflow: hidden !important;
clip: rect(1px, 1px, 1px, 1px) !important;
padding: 0 !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
}
.is-processing {
cursor: progress !important;
pointer-events: none !important;
}
.is-disabled {
cursor: default !important;
pointer-events: none !important;
}
.is-fixed {
position: fixed !important;
backface-visibility: hidden; /* for GPU acceleration */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment