<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<div id="all">
<img class="bg" src="resources/images/bg.jpg">
<div id="logo">
<img class="logo" src="resources/images/logo.png">
</div>
<div id="login">
<form action="actions.php?a=login" method="POST" id="login-form">
<table>
<tr>
<td><input type="text" id="username" placeholder="Correo electrónico"/></td>
</tr>
<tr>
<td><input type="password" id="pass" placeholder="Contraseña"/></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Entrar"/></td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
html, body {
height: 95%;
margin: 0 auto;
padding: 0px;
width: 100%;
}
body {
overflow-x: hidden;
font-family: "Arial", "Verdana";
background-color: #00B8F5;
}
input[type="text"], input[type="password"] {
width: 160%;
height: 35px;
positon: relative;
margin-top: 7px;
font-size: 16px;
font-weight: 300;
color: #221919;
outline: none;
border: 1px solid rgba(0, 0, 0, .49);
padding-left: 12px;
border-radius: 6px;
background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
background-image: linear-gradient(bottom, #FFFFFF 0%, #F2F2F2 100%);
box-shadow: inset 0px 2px 0px #d9d9d9;
box-shadow: inset 0px 2px 0px #d9d9d9;
}
input[type="submit"] {
width: 40%;
height: 35px;
position: relative;
margin-top: 7px;
font-size: 16px;
color: #4d4d4d;
outline: none;
border: 1px solid #c3c3c3;
border-radius: 6px;
background-color: #f0eded;
background: linear-gradient(top, #fdfcfc, #fbf9f9 50%, #f7f5f6 50%, #f2f0f0);
background: linear-gradient(top, #fdfcfc, #fbf9f9 50%, #f7f5f6 50%, #f2f0f0);
background: linear-gradient(top, #fdfcfc, #fbf9f9 50%, #f7f5f6 50%, #f2f0f0);
background: linear-gradient(top, #fdfcfc, #fbf9f9 50%, #f7f5f6 50%, #f2f0f0);
cursor: pointer;
}
#all {
background: url("direccion url de la imagen");
background-position: 100% 100%;
}
#login {
position: relative;
margin: auto;
width: 20%;
top: 30%;
}
#logo>img.logo {
width: 30%;
}
#logo {
position: relative;
left: 37%;
}
.button {
width: 43%;
height: 35px;
color: #fff;
font-size: 16px;
border: solid 1px #0076a3;
background: #0095cd;
background: gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
background: linear-gradient(top, #00adee, #0078a5);
background:linear-gradient(top, #00adee, #0078a5);
background: linear-gradient(top, #00adee, #0078a5);
display: inline-block;
zoom: 1;
outline: none;
cursor: pointer;
text-align: center;
border-radius: 6px;
border-radius: 6px;
border-radius: 6px;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover{
background: #0086b8;
}
#actionbuttons {
position: relative;
margin: auto;
width: 55%;
left: 17.9%;
margin-top: 1%;
}
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. |