<html lang="de">
<head>
<meta name="description" content="Flip" />
<!-- CSS -->
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet" />
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="http://fonts.googleapis.com/css?family=Titillium+Web:400,300,600,700" rel="stylesheet" type="text/css">
<link href="https://rawgit.com/janstieler/4a9875ef67fe3aa5d7fc/raw/e4bb9aecc02de01e275fd41ca52f2f1b3b15043e/redacted.css" rel="stylesheet" type="text/css" />
<!-- Javascript -->
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<title></title>
</head>
<body>
<!-- Help Area-->
<nav class="alert navbar-default alert-dismissable highlvl">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<ul class="list-unstyled list-inline">
<li><strong>Help:</strong></li>
<li><a href="http://www.getbootstrap.com" target="_blank">Bootstrap</a></li>
<li><a href="http://fontawesome.io/icons/" target="_blank">Font Awesome</a></li>
<li><a href="https://rawgit.com/" target="_blank">RawGit</a></li>
</ul>
</nav>
<div class=card_container>
<input type="checkbox" name="switch" id="switch">
<div class="card">
<div class="front face">
<img class="logo center-block" src="http://placehold.it/150x150/FF0000/000&text=Logo">
<output class="name text-center" for="InputName" id="OutputName"></output>
<output for="InputSurname" id="OutputSurname"></output>
<output class="position text-center" id="OutputPosition"></output>
</div>
<div class="back face">
<output for="InputEmail" id="OutputEmail"></output>
<output for="InputMobile" id="OutputMobile"></output>
<output for="InputNumber" id="OutputNumber"></output>
<output for="InputFax" id="OutputFax"></output>
<output for="InputStreet" id="OutputStreet"></output>
<output for="InputStreetnumber" id="OutputStreetnumber"></output>
<output for="InputZip" id="OutputZip"></output>
<output for="InputCity" id="OutputCity"></output>
</div>
</div>
</div>
<button class="btn btn-default switch" name="switch">Rückseite</button>
</body>
</html>
html, body {
height: 100%;
}
body {
font-family: titillium;
}
.highlvl {
position: relative;
z-index: 99999;
}
.show-grid [class^=col-] {
padding-top: 10px;
padding-bottom: 10px;
background-color: #eee;
border: 1px solid #ddd;
}
.redacted-regular {
font-family: redacted-regular;
}
.redacted-script-bold {
font-family: redacted-script-bold;
}
.redacted-script-regular {
font-family: redacted-script-regular;
}
.redacted-script-light {
font-family: redacted-script-light;
}
/*--------------------------------------*/
.form-control,
.btn {
border-radius: 0;
border-radius: 0;
border-radius: 0;
}
.well {
border-radius: 0;
}
form {
margin-bottom: 15px;
}
.aria-show {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
.card_container {
position: relative;
width: 450px;
height: 281px;
z-index: 1;
margin-top: 60px;
margin-bottom: 61px;
perspective: 1000px;
perspective: 1000px;
perspective: 1000px;
perspective: 1000px;
}
.card {
width:100%;
height:100%;
border: 1px solid #D6D6D6;
transform-style: preserve-3d;
transition: all 1.0s linear;
transform-style: preserve-3d;
transition: all 1.0s linear;
transform-style: preserve-3d;
transition: all 1.0s linear;
transform-style: preserve-3d;
transition: all 1.0s linear;
display:block;
color: #fff;
box-shadow: 2px 2px 10px 0 #aaa;
box-shadow: 2px 2px 10px 0 #aaa;
}
.card .logo {
padding-top: 21px;
}
.card .name {
margin-top: 20px;
}
.card .name output {
display: inline;
}
.card .position {
margin-top: -9px;
}
.card .position {
display: inline;
}
.card output {
padding-top: 0;
font-size: inherit;
vertical-align: middle;
margin-right: 5px;
color: inherit;
}
.card #outputStreet {
float: left;
}
.card #outputzip {
float: left;
}
#switch {
display: none;
}
input:checked + .card{
transform: rotateY(180deg);
transform: rotateY(180deg);
transform: rotateY(180deg);
transform: rotateY(180deg);
box-shadow: 2px 2px 10px 0 #aaa;
box-shadow: -2px 2px 10px 0 #aaa;
}
.face {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
backface-visibility: hidden;
backface-visibility: hidden;
backface-visibility: hidden;
color:#000;
}
.face.back {
display: block;
transform: rotateY(180deg);
box-sizing: border-box;
transform: rotateY(180deg);
box-sizing: border-box;
transform: rotateY(180deg);
box-sizing: border-box;
transform: rotateY(180deg);
box-sizing: border-box;
padding: 10px;
}
$(function() {
$('.switch').on('click',function () {
var btn = $(this);
btn.button('toggle');
if(btn.hasClass('active')) {
$('#switch').prop('checked', true);
btn.text('Vorderseite');
} else {
$('#switch').removeAttr('checked');
btn.text('Rückseite');
}
});
});
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. |