<body role="document">
<header class="masthead" style="top:0px">
<video poster="http://www.planwallpaper.com/static/images/HD-Wallpapers1.jpeg" muted="" loop="" autoplay="" class="video" id="masthead-video">
<source type="video/mp4" src="http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4"></source>
<source type="video/webm" src="video/video.webm"></source>
Veuillez mettre à jour votre navigateur pour accéder correctement à ce site.
</video>
<div class="muteOptions" onClick="alert('test');">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Mute_Icon.svg/1024px-Mute_Icon.svg.png" id="masthead-video-mute" onclick="alert('yo');" style="mouse:pointer;"/>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/3f/Mute_Icon.svg/1024px-Mute_Icon.svg.png" id="masthead-video-unmute" onclick="alert('test');"/>
</div>
<div class="opener">
<div class="container rel-1">
<div class="row">
<div class="text-center col-lg-4 col-lg-offset-4 col-sm-6 col-sm-offset-3 col-xs-8 col-xs-offset-2">
<div class="lead" style="visibility: visible;">
<p class="lead-text">LA VIE <br />EST BELLE<br />NOS FILMS<br />S'EN<br />INSPIRENT</p>
</div>
</div>
</div>
</div>
</div>
</header>
.masthead{
position: relative;
color:#fff;
z-index:-1;
overflow:hidden;
}
.opener{
display: table-cell;
vertical-align: middle;
width: 1%;
height: 100vh;
padding: 100px 0 100px;
}
.video{
position:absolute;
top: 0;
left: 50%;
bottom: 0;
min-width: 100%;
min-height: 100%;
transform: translate(-50%, 0);
transform: translate(-50%, 0);
transform: translate(-50%, 0);
transform: translate(-50%, 0);
}
.rel-1
{
z-index: 1;
position: relative;
}
.muteOptions
{
z-index: 1;
position: relative;
}
.muteOptions img
{width:20px; background-color:white;}
.lead{
font-size: 32pt;
margin:30px 0 0;
}
.lead-text{
text-align:center;
padding: 30px 0;
}
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. |