<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<ul class="comments block">
<li>
<span class="floor">
0
</span>
<div class="left">
<img src="https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=48&r=pg&d=mm">
</div>
<div class="content">
<span class="name">
jack
</span>
<span class="time">
几秒前
</span>
<span class="reply">
<a href="">
<span class="ds-ui-icon ds-ui-reply">
</span>
<span>
回复
</span>
</a>
</span>
<div class="markdown">
<p>
11
</p>
</div>
</div>
</li>
<li>
<span class="floor">
1
</span>
<div class="left">
<img src="https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?s=48&r=pg&d=mm">
</div>
<div class="content">
<span class="name">
chem
</span>
<span class="time">
几秒前
</span>
<span class="reply">
<a href="">
<span class="ds-ui-icon ds-ui-reply">
</span>
<span>
回复
</span>
</a>
</span>
<div class="markdown">
<p>
foo
</p>
</div>
</div>
</li>
</ul>
</body>
</html>
.left{
float:left
}
/* line 386 : /home/jack/work/blog/public/styles/style.styl */
ul.comments {
padding: 0px;
}
/* line 388 : /home/jack/work/blog/public/styles/style.styl */
ul.comments h1,
ul.comments h2,
ul.comments h3 {
font-size: 1.5em;
line-height: 2em;
}
/* line 391 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li {
position: relative;
list-style: none;
padding: 15px 20px 15px 30px;
border-bottom: 1px solid #e2e2e2;
}
/* line 392 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li:hover {
background: #f5f5f5;
}
/* line 394 : /home/jack/work/blog/public/styles/style.styl */
/* line 395 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li:hover .content .reply {
visibility: visible;
}
/* line 401 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li:last-child {
border-bottom-width: 0px;
}
/* line 403 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .floor {
position: absolute;
right: 20px;
top: 20px;
font-size: 10px;
line-height: 10px;
display: inline-block;
background-color: #bbb;
color: #fff;
padding: 3px 5px;
}
/* line 413 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .left img {
border-radius: 3px;
border-radius: 3px;
}
/* line 415 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content {
margin-left: 60px;
}
/* line 417 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .time {
color: #999;
}
/* line 419 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .reply {
visibility: hidden;
}
/* line 421 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .reply a {
color: #999;
}
/* line 423 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .reply a:hover {
text-decoration: none;
color: #555;
}
/* line 424 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .reply a:hover .ds-ui-icon {
opacity: 1;
filter: none;
filter: none;
}
/* line 428 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content > span {
font-size: 12px;
margin-right: 10px;
}
/* line 431 : /home/jack/work/blog/public/styles/style.styl */
ul.comments li .content .name {
font-weight: 700;
color: #000;
}
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. |