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 rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div class="social-nav type-1">
<li><a href="#" class="twitter" title=""><i class="fa fa-twitter"></i></a></li>
<li><a href="#" class="facebook" title=""><i class="fa fa-facebook"></i></a></li>
<li><a href="#" class="google-plus" title=""><i class="fa fa-google-plus"></i></a></li>
</div>
<div class="social-nav type-2">
<li><a href="#" class="twitter" title=""><i class="fa fa-twitter"></i></a></li>
<li><a href="#" class="facebook" title=""><i class="fa fa-facebook"></i></a></li>
<li><a href="#" class="google-plus" title=""><i class="fa fa-google-plus"></i></a></li>
</div>
<div class="social-nav type-3">
<li><a href="#" class="twitter" title=""><i class="fa fa-twitter"></i></a></li>
<li><a href="#" class="facebook" title=""><i class="fa fa-facebook"></i></a></li>
<li><a href="#" class="google-plus" title=""><i class="fa fa-google-plus"></i></a></li>
</div>
/* "settings" */
body{background: #ff4d4d;}
.social-nav
{
width: 182px;
padding: 20px;
list-style: none;
margin: -1px auto;
background: white;
box-shadow: 20px 20px #cc0044;
}
.social-nav li{display: inline-block;}
.social-nav a
{
display: inline-block;
float: left;
width: 48px;
height: 48px;
color: #FFF;
text-decoration: none;
cursor: pointer;
text-align: center;
line-height: 48px;
position: relative;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-webkit-transition: 0.5s;
transition: 0.5s;
}
/* type-1 */
.type-1 a
{
overflow: hidden;
font-size: 26px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 5px;
margin: 0 5px;
}
.type-1 a:hover
{
background: #fff;
text-shadow: 0px 0px #d4d4d4, 1px 1px #d4d4d4, 2px 2px #d4d4d4, 3px 3px #d4d4d4, 4px 4px #d4d4d4, 5px 5px #d4d4d4, 6px 6px #d4d4d4, 7px 7px #d4d4d4, 8px 8px #d4d4d4, 9px 9px #d4d4d4, 10px 10px #d4d4d4, 11px 11px #d4d4d4, 12px 12px #d4d4d4, 13px 13px #d4d4d4, 14px 14px #d4d4d4, 15px 15px #d4d4d4, 16px 16px #d4d4d4, 17px 17px #d4d4d4, 18px 18px #d4d4d4, 19px 19px #d4d4d4, 20px 20px #d4d4d4, 21px 21px #d4d4d4, 22px 22px #d4d4d4, 23px 23px #d4d4d4, 24px 24px #d4d4d4, 25px 25px #d4d4d4, 26px 26px #d4d4d4, 27px 27px #d4d4d4, 28px 28px #d4d4d4, 29px 29px #d4d4d4, 30px 30px #d4d4d4;
}
.type-1 .google-plus, .type-1 .facebook, .type-1 .twitter
{
text-align: center;
color: white;
font-size: 26px;
background: #00e68a;
text-shadow: 0px 0px #00b36b, 1px 1px #00b36b, 2px 2px #00b36b, 3px 3px #00b36b, 4px 4px #00b36b, 5px 5px #00b36b, 6px 6px #00b36b, 7px 7px #00b36b, 8px 8px #00b36b, 9px 9px #00b36b, 10px 10px #00b36b, 11px 11px #00b36b, 12px 12px #00b36b, 13px 13px #00b36b, 14px 14px #00b36b, 15px 15px #00b36b, 16px 16px #00b36b, 17px 17px #00b36b, 18px 18px #00b36b, 19px 19px #00b36b, 20px 20px #00b36b, 21px 21px #00b36b, 22px 22px #00b36b, 23px 23px #00b36b, 24px 24px #00b36b, 25px 25px #00b36b, 26px 26px #00b36b, 27px 27px #00b36b, 28px 28px #00b36b, 29px 29px #00b36b, 30px 30px #00b36b;
}
.type-1 .twitter:hover
{
color: #00ACED;
}
.type-1 .facebook:hover
{
color: #3B579D;
}
.type-1 .google-plus:hover
{
color: #DD4A3A;
}
/* type-2 */
.type-2 a
{
overflow: hidden;
font-size: 26px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 50px;
margin: 0 5px;
}
.type-2 a:hover
{
background: #fff;
text-shadow: -0px 0px #d4d4d4, -1px 1px #d4d4d4, -2px 2px #d4d4d4, -3px 3px #d4d4d4, -4px 4px #d4d4d4, -5px 5px #d4d4d4, -6px 6px #d4d4d4, -7px 7px #d4d4d4, -8px 8px #d4d4d4, -9px 9px #d4d4d4, -10px 10px #d4d4d4, -11px 11px #d4d4d4, -12px 12px #d4d4d4, -13px 13px #d4d4d4, -14px 14px #d4d4d4, -15px 15px #d4d4d4, -16px 16px #d4d4d4, -17px 17px #d4d4d4, -18px 18px #d4d4d4, -19px 19px #d4d4d4, -20px 20px #d4d4d4, -21px 21px #d4d4d4, -22px 22px #d4d4d4, -23px 23px #d4d4d4, -24px 24px #d4d4d4, -25px 25px #d4d4d4, -26px 26px #d4d4d4, -27px 27px #d4d4d4, -28px 28px #d4d4d4, -29px 29px #d4d4d4, -30px 30px #d4d4d4;
}
.type-2 .twitter, .type-2 .facebook, .type-2 .google-plus
{
text-align: center;
color: white;
font-size: 26px;
background: #ffa64d;
text-shadow: 0px 0px #e67300, 1px 1px #e67300, 2px 2px #e67300, 3px 3px #e67300, 4px 4px #e67300, 5px 5px #e67300, 6px 6px #e67300, 7px 7px #e67300, 8px 8px #e67300, 9px 9px #e67300, 10px 10px #e67300, 11px 11px #e67300, 12px 12px #e67300, 13px 13px #e67300, 14px 14px #e67300, 15px 15px #e67300, 16px 16px #e67300, 17px 17px #e67300, 18px 18px #e67300, 19px 19px #e67300, 20px 20px #e67300, 21px 21px #e67300, 22px 22px #e67300, 23px 23px #e67300, 24px 24px #e67300, 25px 25px #e67300, 26px 26px #e67300, 27px 27px #e67300, 28px 28px #e67300, 29px 29px #e67300, 30px 30px #e67300;
}
.type-2 .twitter:hover{color: #00ACED;}
.type-2 .facebook:hover{color: #3B579D;}
.type-2 .google-plus:hover{color: #DD4A3A;}
/* type-3 */
.type-3 a
{
overflow: hidden;
font-size: 26px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 50px;
margin: 0 5px;
}
.type-3 a:hover
{
background: #fff;
border-radius: 4px;
}
.type-3 .twitter, .type-3 .facebook, .type-3 .google-plus
{
text-align: center;
color: white;
font-size: 26px;
background: #9999ff;
text-shadow: 0px 0px #6666ff, 1px 1px #6666ff, 2px 2px #6666ff, 3px 3px #6666ff, 4px 4px #6666ff, 5px 5px #6666ff, 6px 6px #6666ff, 7px 7px #6666ff, 8px 8px #6666ff, 9px 9px #6666ff, 10px 10px #6666ff, 11px 11px #6666ff, 12px 12px #6666ff, 13px 13px #6666ff, 14px 14px #6666ff, 15px 15px #6666ff, 16px 16px #6666ff, 17px 17px #6666ff, 18px 18px #6666ff, 19px 19px #6666ff, 20px 20px #6666ff, 21px 21px #6666ff, 22px 22px #6666ff, 23px 23px #6666ff, 24px 24px #6666ff, 25px 25px #6666ff, 26px 26px #6666ff, 27px 27px #6666ff, 28px 28px #6666ff, 29px 29px #6666ff, 30px 30px #6666ff;
}
.type-3 .facebook:hover
{
text-shadow: 0px 0px #23335c, 1px 1px #23335c, 2px 2px #23335c, 3px 3px #23335c, 4px 4px #23335c3, 5px 5px #23335c, 6px 6px #23335c, 7px 7px #23335c, 8px 8px #23335c, 9px 9px #23335c, 10px 10px #23335c, 11px 11px #23335c, 12px 12px #23335c, 13px 13px #23335c, 14px 14px #23335c, 15px 15px #23335c, 16px 16px #23335c, 17px 17px #23335c, 18px 18px #23335c, 19px 19px #23335c, 20px 20px #23335c;
}
.type-3 .google-plus:hover
{
text-shadow: 0px 0px #cc0044, 1px 1px #cc0044, 2px 2px #cc0044, 3px 3px #cc0044, 4px 4px #cc0044, 5px 5px #cc0044, 6px 6px #cc0044, 7px 7px #cc0044, 8px 8px #cc0044, 9px 9px #cc0044, 10px 10px #cc0044, 11px 11px #cc0044, 12px 12px #cc0044, 13px 13px #cc0044, 14px 14px #cc0044, 15px 15px #cc0044, 16px 16px #cc0044, 17px 17px #cc0044, 18px 18px #cc0044, 19px 19px #cc0044, 20px 20px #cc0044;
}
.type-3 .twitter:hover{background-color: #9999ff;}
.type-3 .facebook:hover{background-color: #3B579D;}
.type-3 .google-plus:hover{background-color: #DD4A3A;}
Also see: Tab Triggers