Skip to content

Instantly share code, notes, and snippets.

@qholzweg
Created December 19, 2013 09:46
Show Gist options
  • Save qholzweg/8036819 to your computer and use it in GitHub Desktop.
Save qholzweg/8036819 to your computer and use it in GitHub Desktop.
basic distances
.m-0 {margin: 0;}
.mb-1 {margin-bottom: 1em !important;}
.mb-2 {margin-bottom: 2em !important;}
.mb-3 {margin-bottom: 3em !important;}
.mb-4 {margin-bottom: 4em !important;}
.mb-5 {margin-bottom: 5em !important;}
.mt-1 {margin-top: 1em;}
.mt-2 {margin-top: 2em;}
.mt-3 {margin-top: 3em;}
.mt-4 {margin-top: 4em;}
.mt-5 {margin-top: 5em;}
.mr-1 {margin-right: 1em;}
.mr-1 {margin-right: 2em;}
.ml-1 {margin-left: 1em;}
.ml-2 {margin-left: 2em;}
.p-0 {padding:0;}
.p-5 {padding: 5px;}
.p-10 {padding: 10px;}
.pt-1 {padding-top: 1em;}
.pt-2 {padding-top: 2em;}
.pt-3 {padding-top: 3em;}
.pt-4 {padding-top: 4em;}
.pb-1 {padding-bottom: 1em;}
.pb-2 {padding-bottom: 2em;}
.pb-3 {padding-bottom: 3em;}
.pb-4 {padding-bottom: 4em;}
.small {font-size:80%;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment