JavaScript preprocessors can help make authoring JavaScript easier and more convenient. For instance, CoffeeScript can help prevent easy-to-make mistakes and offer a cleaner syntax and Babel can bring ECMAScript 6 features to browsers that only support ECMAScript 5.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
HTML Settings
Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<p>
<i class="fa fa-shopping-cart"></i>
</p>
<p>
<i class="fa fa-leaf fa-2x style1 "></i>
</p>
<!-- Sizes: lg 2x 5x-->
<p>
<i class="fa fa-suitcase fa-5x style5 "></i>
</p>
<!-- Fun with css: style3, 1, 5, 10-->
<p>
</p>
<!-- Spin demo: fa-spin -->
<p>
<i class="fa fa-spinner fa-spin fa-2x style4"></i>
</p>
<!-- Lists: -->
<ul class="fa-ul">
<li><a href="#"><i class="fa-li fa fa-facebook"></i> Facebook</a></li>
<li><a href="#"><i class="fa-li fa fa-twitter"></i> Twitter</a></li>
<li><a href="#"><i class="fa-li fa fa-linkedin"></i> LinkedIn</a></li>
<li><a href="#"><i class="fa-li fa fa-google-plus"></i> Google+</a></li>
</ul>
<!-- Staking demo: -->
<p>
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-flag fa-stack-1x fa-inverse"></i>
</span>
</p>
<p>
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x" style="color:red;"></i>
<i class="fa fa-globe fa-stack-1x fa-inverse"></i>
</span>
</p>
<p>
<span class="fa-stack fa-lg">
<i class="fa fa-certificate fa-stack-2x style3"></i>
<i class="fa fa-bitcoin fa-stack-1x fa-inverse"></i>
</span>
</p>
<p><span class="fa-stack fa-lg">
<i class="fa fa-camera fa-stack-1x"></i>
<i class="fa fa-ban fa-stack-2x" style="color:red;"></i>
</span></p>
body {
font-size: 2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
color: black;
}
p {
width:auto;
text-align:center;
margin:1em auto;
}
p i {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.style1 {
color: rgba(245, 159, 26, 0.8);
text-shadow: 1px 4px 6px #FFF, 0 0 0 #000, 1px 4px 6px #FFF;
}
.style1:hover{
color: rgba(245, 0, 0, 0.8);
}
.style2 {
background-color:#36c;
color:white;
text-shadow: -2px 4px 2px rgba(0,0,0,.4);
/* 3d transform! */
-webkit-transform: skew(10deg, 30deg);
-moz-transform: skew(10deg, 30deg);
-o-transform: skew(10deg, 30deg);
-ms-transform: skew(10deg, 30deg);
transform: skew(10deg, 30deg);
}
.style3 {
color: #2DAEBF;
text-shadow: 0px 1px 0px #0092b3, 0px 2px 0px #0087a6, 0px 3px 0px #008099, 0px 4px 0px #00758c, 0px 5px 0px #555, 0px 6px 0px #006a80, 0px 0px 0px #006073, 0px 8px 7px #005566;
}
.style4 {
color: orange;
text-shadow: -3px 0 4px #006;
opacity:.6;
}
.style4:hover {
-moz-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
-webkit-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
-o-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
-ms-transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
transform: scale(1.5) rotate(10deg) translateX(10px) translateY(-10px) skewX(15deg) skewY(10deg);
}
.style5 {
color:#83a697;
text-shadow: 2px 2px 1px #333, 6px 4px 1px #666, 12px 6px 1px #999, 18px 8px 1px #ccc, 24px 10px 1px #ddd, 30px 12px 1px #eee;
}
.style6 {
-webkit-text-fill-color: #ddd;
-webkit-text-stroke-color: #d78965;
-webkit-text-stroke-width: 6px;
text-fill-color: #ddd;
text-stroke-color: #d78965;
text-stroke-width: 6px;
}
.style7 {
color:red;
text-shadow: 0 0 4px #ccc, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -18px 18px #f20;
/* borrowed from http://kremalicious.com/make-cool-and-clever-text-effects-with-css-text-shadow/ */
}
.style8 {
-moz-transform: rotate(99deg);
-webkit-transform: rotate(99deg);
-o-transform: rotate(99deg);
-ms-transform: rotate(99deg);
transform: rotate(99deg);
color:#666;
background-color:#000;
-moz-box-shadow: 3px 3px 5px 6px #ccc;
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
box-shadow: 3px 3px 5px 6px #ccc;
}
.style9 {
color: #008080;
background:#ddd;
}
.style9:hover {
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
-o-transform-origin: 50% 100%;
transform-origin: 50% 100%;
-webkit-transform: scale(2) perspective(90px) rotateX(25deg);
-moz-transform: scale(2) perspective(90px) rotateX(25deg);
-ms-transform: scale(2) perspective(90px) rotateX(25deg);
-o-transform: scale(2) perspective(90px) rotateX(25deg);
transform: scale(2) perspective(90px) rotateX(25deg);
}
.style10 {
color: transparent;
text-shadow: 0 0 10px #1F849E;
}
.style10:hover {
color: transparent;
text-shadow: 0 0 0 #1F849E;
}
.style11{
color: orange;
-webkit-animation: spin 2s infinite linear;
-moz-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}
Also see: Tab Triggers