Skip to content

Instantly share code, notes, and snippets.

@barlino
Created June 21, 2012 07:07
Show Gist options
  • Save barlino/2964333 to your computer and use it in GitHub Desktop.
Save barlino/2964333 to your computer and use it in GitHub Desktop.
Get lorem via moretext.js
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="http://more.handlino.com/javascripts/moretext-1.1.js" type="text/javascript"></script>
<style>
#text1 {
-webkit-column-width: 200px;
-webkit-column-gap: 20px;
-webkit-column-rule: 3px solid #eee;
-webkit-column-count: 4;
-moz-column-width: 200px;
-moz-column-gap: 20px;
-moz-column-rule: 3px solid #eee;
-moz-column-count: 4;
}
#text2 {
-webkit-column-width: 200px;
-webkit-column-gap: 20px;
-webkit-column-rule: 3px solid #eee;
-webkit-column-count: 4;
-moz-column-width: 200px;
-moz-column-gap: 20px;
-moz-column-rule: 3px solid #eee;
-moz-column-count: 4;
}
</style>
<script type="text/javascript">
(function() {
})();
</script>
</head>
<body>
<div class="lipsum(20)" id = "text1"></div>
<p/>
<div class="lipsum(20)" id = "text2"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment