<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>columns</title>
<style type="text/css">
body {
background-color: #687078;
margin: 0px;
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
}
#container {
width: 680px;
margin: auto;
}
#main {
width: 680px;
margin: auto;
float:left;
overflow: auto;
background-color: #EEE;
}
.section .content {
column-count: 2;
column-gap: 24px;
column-rule: 1px solid #000;
column-count: 2;
column-gap: 24px;
column-rule: 1px solid #000;
column-count: 2;
column-gap: 24px;
column-rule: 1px solid #000;
margin: 10px 0 10px 0;
padding: 0px;
}
h1, h2, h3, h4 {
margin-left: 0px;
}
p {
line-height: 24px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
#thumbs img { float: left; margin: 12px 24px 12px 0; }
#thumbs img:nth-child(8n) { float: left; margin: 12px 0 12px 0; }
</style>
</head>
<body>
<div id="container">
<div id="main">
<div class="section">
<h1>Heading 1</h1>
<div class="content">
<p>— Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>
</div><!-- end of .content -->
<img src="http://zorl.net/t20130131/100811_001.jpg" width="680" height="443" alt=" "> </div><!-- end of .section -->
<div class="section">
<h1>Heading 1</h1>
<div class="content">
<h2>Heading 2</h2>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<p>Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</p>
</div><!-- end of .content -->
</div><!-- end of .section -->
<img src="http://zorl.net/t20130131/img01.png" width="680" height="48" style="" />
<div id="thumbs">
<p>This is new pararaph element that is also included in nth-child calculation and thus making 7th image to be selected.</p>
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
<img src="http://zorl.net/t20130131/thumb.png" width="64" height="64" />
</div>
</div><!-- end of #main -->
</div>
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |