Skip to content

Instantly share code, notes, and snippets.

@thatlittlegit
Created September 19, 2018 22:37
Show Gist options
  • Save thatlittlegit/7dbf3525211b0d504219e434f66409f4 to your computer and use it in GitHub Desktop.
Save thatlittlegit/7dbf3525211b0d504219e434f66409f4 to your computer and use it in GitHub Desktop.
Basic CSS things.
/*
* basic.css: basic css rules.
*
* Once from wAPI, now separate. Licensed under the Unlicense <https://unlicense.org>
*/
.font-100 { font-weight: 100; }
.font-200 { font-weight: 200; }
.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }
.bold { font-weight: bold; }
.regular { font-weight: normal; }
.italic { font-style: italic; }
.xxlarge { font-size: 600%; }
.xlarge { font-size: 450%; }
.large { font-size: 225%; }
.medium { font-size: 150%; }
.small { font-size: 90%; }
.left { text-align: left; }
.center { text-align: center; }
.white { color: white; }
.grey { color: lightgrey; }
.black { color: black; }
.inline { display: inline; }
.block { display: block; }
.relative { position: relative; }
.float-left { float: left; }
.float-right { float: right; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment