<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<div class="l-search-index">
<div class="top">
<div class="icon icon-mobile-phone">
<div class="rings"></div>
<!--<div class="rings ring2"></div>-->
</div>
</div>
<div class="bottom">
<div class="message">
sdfgs
</div>
<div class="skip">
dfgd
</div>
</div>
</div>
</body>
</html>
html,
body {
font-family: sans-serif;
/*width:300px;
height:600px;
overflow:hidden;
border:1px solid #f0a;*/
padding: 0;
margin: 0;
}
.l-search-index {
position: fixed;
top: 44px;
left: 0;
bottom: 0;
right: 0;
z-index: -1;
/*width:300px;
height:600px;*/
border: 1px solid #dddddd;
background-color: #e1e4e8;
background: url(http://localhost:999/gfx/bg/white_wall_hash.png) repeat center;
}
.l-search-index .top {
border: 1px solid #ff0000;
height: 70%;
}
.l-search-index .bottom {
border: 1px solid #008000;
top: 70%;
height: 30%;
text-align: center;
}
.l-search-index .bottom .message {
text-shadow: 0 1px white;
line-height: 48px;
font-size: 20px;
vertical-align: middle;
}
.l-search-index .bottom .skip {
display: inline-block;
height: 30px;
}
.l-search-index .icon {
font-size: 200px;
display: block;
width: 200px;
height: 200px;
border: 1px solid;
color: rgba(0, 0, 0, 0.4);
text-shadow: 0 1px rgba(0, 0, 0, 0.8);
text-align: center;
position: relative;
top: 50%;
left: 50%;
margin-left: -100px;
margin-top: -100px;
z-index: 201;
}
Output
300px
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. |