<style>
/* CONTAINER SETTINGS */
figure.blurfilter
{ margin: 0;
padding: 0;
display: inline-block;
position: relative;
overflow: hidden; / }
.figcaption img
{ width: 10px; }
figure.blurfilter img
{ display: block;
width: 250px;
height: auto;
transition: all 0.4s 0.4s; }
/* TEXT BOX */
figure.blurfilter figcaption
{ position: absolute;
display: block;
/* TEXT BOX COSMETICS */
text-align: left;
box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
text-align: center;
background: white;
padding: 10px;
z-index: 100;
width: 90%;
height: 90%;
overflow: auto;
top: 5%;
left: 5%;
font-family: Arial;
font-size: 16px;
opacity: 0;
/* TEXT BOX ANIMATION CODE */
transition: all 0.4s;
transition: all 0.4s;
transition: all .4s; }
figure.blurfilter figcaption h3
{ border-bottom: 1px solid red;
text-align: left;
width: 90%;
margin: 0;
}
figure.blurfilter figcaption p
{ text-align: left;
margin-top: 10px;
line-height: 1.5;
}
figure.blurfilter figcaption a
{ text-decoration: none;
}
figure.blurfilter:hover img
{ filter: blur(5px);
filter: blur(5px);
transform: scale(1.3);
transform: scale(1.3);
transition: all 0.4s;
transition: all 0.4s;
transition: all 0.4s; } figure.blurfilter:hover figcaption{ opacity: 1;
transition: all .4s .4s;
transition: all .4s .4s;
transition: all .4s .4s; }
figure.slideup figcaption
{ transform: translateY(100%);
transform: translateY(100%);
}
figure.slideup:hover figcaption
{ transform: translateY(0);
transform: translateY(0); }
.pixel
{ width: 1em !important;
filter: none !important;
display: inline-block; }
figcaption { overflow-y: scroll; }
</style>
<! –– IMAGE URL AND TEXT ––>
<figure class="blurfilter slideup"><img src="https://media.discordapp.net/attachments/890617367284027443/973075508524888124/on_Twittero.jpg?width=581&height=581"><figcaption> Insert the contents of the box here. Adding images here is a little bit tricky because you have to create a special class to size the image and make sure it doesn't blur with the background image on hover. See ".pixel" above and how the image next is tagged "class='pixel'". In order to give an image a class, just add class="classname" add the end of the tag before the brackets cut off. THe class name here is "pixel". Here's a pixel. <img src="https://gnome.crd.co/assets/images/people/25a5305f.gif?v=bc6557bf" class="pixel">
</figcaption></figure>
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. |