Skip to content

Instantly share code, notes, and snippets.

@trumball
Created May 24, 2013 17:03
Show Gist options
  • Save trumball/5644946 to your computer and use it in GitHub Desktop.
Save trumball/5644946 to your computer and use it in GitHub Desktop.
CSS3 Column Text CSS3 columns would be nice to see in website layouts, but the reality is how we can split up text based on column styles. Use this snippet to place any number of columns inline with your paragraphs, where text will split evenly based on your column number.
#columns-3 {
text-align: justify;
-moz-column-count: 3;
-moz-column-gap: 12px;
-moz-column-rule: 1px solid #c4c8cc;
-webkit-column-count: 3;
-webkit-column-gap: 12px;
-webkit-column-rule: 1px solid #c4c8cc;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment