Created
July 23, 2013 12:26
-
-
Save ornj/6061994 to your computer and use it in GitHub Desktop.
Zen Coding template to generate 10,000 lis formatted with CSS to appear as divs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>Speed Test</title> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" charset="utf-8"> | |
var start = new Date().getTime() / 1000; | |
window.onload = function() | |
{ | |
var end = new Date().getTime() / 1000; | |
console.log(end - start); | |
} | |
</script> | |
<style type="text/css" media="screen"> | |
li { | |
display: block; | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- use Zen Coding to generate divs. ⌘E in Textmate, Ctrl+Y+, in Vim --> | |
ul>li*10000 | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment