Skip to content

Instantly share code, notes, and snippets.

@nikahmadz
Last active March 19, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikahmadz/e678771404b2452dff2471ceb506893f to your computer and use it in GitHub Desktop.
Save nikahmadz/e678771404b2452dff2471ceb506893f to your computer and use it in GitHub Desktop.
CSS helpers
/* helper */
#mb-loader,
.mb-full-screen {
position:fixed;
top:0;left:0;
width:100%;
height:100%;
overflow:auto;
}
#mb-overlay,
#mb-loader,
.mb-full-screen-clipped {
position:fixed;
top:0;left:0;
width:100%;
height:100%;
overflow:hidden;
}
.mb-pos-center {
margin-left:auto;
margin-right:auto;
}
.mb-bold {
font-weight:bold;
}
.mb-bold-500 {
font-weight:500;
}
.mb-bold-700 {
font-weight:700;
}
.mb-bold-900 {
font-weight:900;
}
.mb-dummy-block {
background-color:#e9e9e9;
min-height:100px;
}
.mb-full-height {
height:100%;
}
.mb-mt-10 {
margin-top:10px;
}
.mb-mb-10 {
margin-bottom:10px;
}
.mb-ml-10 {
margin-left:10px;
}
.mb-mr-10 {
margin-right:10px;
}
.mb-hidden {
display:none;
}
.mb-bg-transparent {
background-color:transparent;
}
#mb-overlay,
.mb-overlay-1 {
background-color:#0003;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment