Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Created March 7, 2010 16:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kennethreitz/324443 to your computer and use it in GitHub Desktop.
Save kennethreitz/324443 to your computer and use it in GitHub Desktop.
CSS I use on almost all projects.
.block { display: block; }
.inline { display: inline; }
.clrfix { display:inline-block; }
.hide { display: none; }
.fleft { float: left; }
.fright { float: right; }
.fclear { clear: both; }
.hi { background-color: rgb(255, 255, 204); }
.sub { vertical-align: sub; }
.super { vertical-align: super; }
.middle { vertical-align: middle; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.seo { text-indent: -9000px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment