<html>
<head>
<meta charset="utf-8">
<title>Урок 12</title>
<link rel="stylesheet" type="text/css" href="css/lesson12.css">
</head>
<body>
<h1>Пример заголовка</h1>
<p>Пример текста</p>
<div class="text">
<p>По неизвестным нам причинам, руководству пароходства до сих пор не удалось. связатся с моряками.</p>
</div>
<div class="text">
<p>Скептики утверждают, что пропавшее судно должно было пройти ремонт в 2012 году, но по странному стечению обстоятельств...</p>
</div>
<div id="fon">
</div>
<div class="banner">
<button class="exit">×</button>
<p class="top">Вход на сайт</p>
<p class="log">Пожалуйста, введите ваш логин и пароль:</p>
<form class="form" name="login" method="post" action="">
<input class="log" type="text" size="50" placeholder="Логин">
<input class="log" type="text" size="50" placeholder="Пароль">
<button class="remember">Забыли пароль?</button>
<button class="enter">Войти</button>
</form>
</div>
</body>
</html>
.text{
border: 3px dashed #777;
margin: 10px;
padding: 10px;
width: 30%;
}
#fon{
opacity: 0.5;
background: #000;
width:100%;
height: 100%;
position: fixed;
left: 0px; top: 0px;
}
.banner{
opacity: 1;
font-family: Arial;
font-size: 14px;
line-height: 1.5;
opacity: 1;
max-width: 400px;
max-height: 202px;
margin: auto;
position: fixed;
background: #FFFFFF;
top:0; left: 0; bottom: 0; right: 0;
border-radius: 10px;
}
p.top{
padding: 10px 10px 10px 15px;
margin: 0px;
font-family: Arial;
font-size: 18px;
line-height: 25px;
border-bottom: 1px solid #EEE;
}
p.log{
padding: 10px 10px 0px 15px;
margin: 0px;
line-height: 25px;
white-space: nowrap;
}
.form{
margin: 5px 15px 15px 15px;
}
input.log{
padding: 3px;
margin-bottom: 10px;
border: 1px solid #8b8b8b;
border-bottom: 1px solid #e3e3e3;
border-right: 1px solid #e3e3e3;
border-radius: 2px;
width: 100%
}
.exit{
float: right;
background: none;
border: none;
margin: 10px 5px 10px 10px;
color: #CCC;
}
.remember{
margin: 8px 8px 8px 0px;
padding: 0px;
float: left;
border: none;
background: none;
color: #428bca;
}
.enter{
padding: 8px;
float: right;
background: #428bca;
color: #FFF;
border: none;
border-radius: 3px;
}
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. |