<html>
<head>
<meta charset=utf-8 />
</head>
<body>
text
<span>ddd</span>
</body>
</html>
/* FOOTER AT BOTTOM IMPORTANT */
*:not(#nav) {
margin: 0;
max-width: 96%;
font-weight: normal !IMPORTANT;
}
html, body {
height: 100%;
font-weight: normal !IMPORTANT;
}
#nav {
margin-top: 3%;
margin-bottom: 2%;
color: #1e5799;
min-width: 100%;
right: 0 !IMPORTANT;
text-align: right;
}
.logo {
width: 350px;
height: auto;
}
.hr {
width: 400px;
}
#wrapper {
min-height: 100%;
height: auto !important;
height: auto;
margin: 0 auto -2em;
}
#footer, #push {
height: 2em;
}
body {
background:url("http://pattersoncode.ca/incls/pw_pattern.png");
color: white;
width: 100%;
max-width: 96%;
font-family: 'Muli', sans-serif;
}
#wrapper {
animation: fadein 2s;
animation: fadein 2.0s;
animation: fadein 2.0s;
animation: fadein 2.0s;
min-width: 100%;
padding: 2%;
}
/* FADE IN EFFECTS */
@keyframes fadein {
from {
opacity:0;
}
to {
opacity:1;
}
}
@-moz-keyframes fadein { /* Firefox */
from {
opacity:0;
}
to {
opacity:1;
}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
from {
opacity:0;
}
to {
opacity:1;
}
}
@-o-keyframes fadein { /* Opera */
from {
opacity:0;
}
to {
opacity: 1;
}
}​
#greeting {
width: 100%;
margin-left: 3%;
margin-top: 10px;
margin-bottom: 0px;
}
#content {
color: white;
font-family: 'Quicksand', sans-serif;
background: #1e5799;
background: linear-gradient(top, #1e5799 0%, #2d89e5 100%);
background: gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#2d89e5));
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(to bottom, #1e5799 0%,#2d89e5 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2d89e5',GradientType=0 );
border-radius: 8px;
border-radius: 8px;
border-radius: 8px;
border-radius: 8px;
min-height: 15%;
padding-left: 3%;
margin: 0;
width: 75%;
padding-top: 8px;
font-weight: normal;
padding-bottom: 8px;
}
p {
color: white;
opacity:1;
opacity: 1;
opacity:1;
padding: 3px;
font-weight: normal;
}
a:link, a:visited {
text-decoration: none;
transition-property: background-color, color;
transition-duration: 0.3s;
transition-timing-function: ease-out;
color: #1e5799;
background: transparent;
}
a:hover {
color: white;
background-color: #1e5799;
transition-property: background-color, color;
transition-duration: 0.3s;
transition-timing-function: ease-out;
border-radius: 2px;
border-radius: 2px;
border-radius: 2px;
padding-right: 8px !IMPORTANT;
padding-left: 8px !IMPORTANT;
}
input:focus:invalid, textarea:focus:invalid {
box-shadow: 0 0 8px #d45252 !IMPORTANT;
border-color: #b03535 !IMPORTANT;
}
input:required:valid, textarea:required:valid {
box-shadow: 0 0 8px #5cd053 !IMPORTANT;
border-color: #28921f !IMPORTANT;
}
select {
width: 165px;
}
label {
color: white;
font-weight: bold;
}
input.submit {
text-transform: lowercase;
}
#footer {
color: #4bb3e6;
text-align: left;
background: transparent;
font-size: 12px;
bottom: 0;
margin-left: 0px;
left: 0 !IMPORTANT;
}
#validatedlogo {
float: right;
}
#tester {
display:none;
}
.no {
text-align: center;
min-width: 100%;
background-color: black;
border-radius: 5px;
border-radius: 5px;
border-radius: 5px;
border-radius: 5px;
color: #4bb3e6;
}
/* Tooltips */
.tooltipform{
display: inline;
position: relative;
text-decoration: none !IMPORTANT;
}
.tooltipform:hover:after{
background: #4bb3e6;
background: rgba(0,0,0,.8);
border-radius: 5px;
bottom: 26px;
color: #fff;
content: attr(title);
left: 13%;
padding: 5px 15px;
position: absolute;
z-index: 98;
width: 220px;
}
.tooltipform:hover:before{
border: solid;
border-color: #333 transparent;
border-width: 6px 6px 0 6px;
bottom: 20px;
content: "";
left: 50%;
position: absolute;
z-index: 99;
}
#signature {
float: right;
margin-top: 0.75%;
padding-left: 10px;
padding-right: 15px;
margin-bottom: 20px;
background: linear-gradient(top, #1e5799 0%, #2d89e5 100%);
background: gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#2d89e5));
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(to bottom, #1e5799 0%,#2d89e5 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2d89e5',GradientType=0 );
border-radius: 6px;
border-radius: 6px;
border-radius: 6px;
border-radius: 6px;
border-top-right-radius: 0px;
border-top-right-radius: 0px;
top-left-radius: 0px;
border-top-left-radius: 0px;
border-top-color: white;
border-top-style: dashed;
border-top-width: 1px;
box-shadow: 0 0 5px rgba(0,0,0,0.6) !IMPORTANT;
box-shadow: 0 0 5px rgba(0,0,0,0.6) !IMPORTANT;
box-shadow: 0 0 5px rgba(0,0,0,0.6) !IMPORTANT;
}
h2 {
color: white;
text-decoration: underline;
padding-bottom: 7px;
font-weight: bolder;
}
#content a, a:hover:not(sup) {
color: white ;
text-decoration: underline ;
padding-right: 0px !IMPORTANT;
padding-left: 0px !IMPORTANT;
}
#content b {
color: white !IMPORTANT;
text-decoration: none !IMPORTANT;
}
/* PLACEHOLDER COLORS */
::input-placeholder { /* WebKit browsers */
color: white;
}
:placeholder { /* Mozilla Firefox 4 to 18 */
color: white;
}
::placeholder { /* Mozilla Firefox 19+ */
color: white;
}
:input-placeholder { /* Internet Explorer 10+ */
color: white;
}
.warning {
color: red;
}
#sidebar {
float: right;
color: white !IMPORTANT;
width: 20%;
text-align: right;
font-size: small;
font-weight: normal;
font-family: 'Quicksand', sans-serif;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
border-radius: 8px;
border-radius: 8px;
border-radius: 8px;
border-radius: 8px;
background: #1e5799;
background: linear-gradient(top, #1e5799 0%, #2d89e5 100%);
background: gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#2d89e5));
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(top, #1e5799 0%,#2d89e5 100%);
background: linear-gradient(to bottom, #1e5799 0%,#2d89e5 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2d89e5',GradientType=0 );
}
#sidebar a {
color: white;
text-decoration: underline;
}
#sidebar a:hover, #content a:hover {
color: #1e5799;
background-color: white;
transition-property: background-color, color;
transition-duration: 0.3s;
transition-timing-function: ease-out;
border-radius: 2px;
border-radius: 2px;
border-radius: 2px;
min-width: 120%;
padding-right: 8px;
padding-left: 8px;
}
#sidebar p {
color: white;
}
input, textarea, select, .select, .input {
margin: 0;
padding: 0;
padding: 5px;
fontsize: 0.85em;
outline: nonel;
font-family: inherit;
border-radius: 5px;
border-radius: 5px;
border-radius: 5px;
color: white;
border-style: solid;
border-width: 1px;
border-color: white;
background-color: #2d89e5;
box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
box-shadow: inset 1px 4px 9px -6px rgba(0, 0, 0, 0.5);
box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}
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. |