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.
<body>
<div class="container sessao"><!-- bootstrap -->
<div class='row' style="margin-top: 30px;">
<div class="col-md-8 col-md-offset-2">
<a href="#" class="link-social fb-color"><i class="fa fa-facebook-square"></i> facebook </a>
<a href="#" class="link-social gplus-color"><i class="fa fa-google-plus-square"></i> google+ </a>
<a href="#" class="link-social twi-color"><i class="fa fa-twitter-square"></i> twitter </a>
<a href="whatsapp://send?text=Hello World!" data-action="share/whatsapp/share" class="link-social what-color"><i class="fa fa-whatsapp"></i> whatsapp </a>
<!-- AddToAny BEGIN -->
<div class="a2a_kit">
<a class="a2a_button_whatsapp link-social what-color"> whatsapp</a>
</div>
<script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<br/>
<a class="styled-link">Home</a>
<a class="styled-link">About</a>
<a class="styled-link">Contact</a>
<input class="styled-input2" placeholder="nome"/>
<input class="styled-input2" placeholder="email"/>
<textarea class="styled-input2" placeholder="mensagem"></textarea>
<button class="test send-message-btn">Enviar Mensagem!
<i class="fa fa-paper-plane-o test"></i></button>
<div style="height: 400px;"></div>
</div>
</div>
</div>
</body>
body { background: #D7EFFC; }
.sessao
{
background: white;
box-shadow: 0px 2px 2px 0px black;
}
.send-message-btn {
background: #428BCA;
color: #fff;
font-family: 'Lato';
width: 100%;
text-align: center;
border: 0;
font-size: 28px;
line-height: 60px;
cursor: pointer;
text-shadow: 0px 2px 1px black;
overflow: visible;
display:block;
position: relative;
margin: 10px 10px;
border-radius: 5px;
&:hover{
color: white;
i {
position: relative;
transform: rotate(10deg);
transition: transform .15s;
animation: flyaway 2s;
-webkit-animation: flyaway 2s;
}
}
}
@keyframes flyaway {
0% { transform: rotate(10deg);
top: 5px;
right: 25px;
height: 10px; }
5% { transform: rotate(10deg);
top: 13px;
right: 0px;
height: 10px; }
40% { transform: rotate(10deg);
top: -40px;
right: -280px;
opacity: 1; }
100% { transform: rotate(60deg);
top: -200px;
right: -1000px;
height: 0;
opacity: 0; }
}
@-webkit-keyframes flyaway {
0% { transform: rotate(10deg);
top: 5px;
right: 25px;
height: 30px; }
5% { transform: rotate(10deg);
top: 5px;
right: 0px;
height: 30px; }
40% { transform: rotate(10deg);
top: -40px;
right: -280px;
opacity: 1; }
100% { transform: rotate(60deg);
top: -200px;
right: -1000px;
height: 0;
opacity: 0; }
}
.send-message-btn:hover
{
}
.send-message-btn:active
{
}
.styledBlueBtn
{
background: #fff;
color: #428BCA;
font-family: 'Pacifico', cursive;*/
font-size: 25px;
line-height: 60px;
margin: 25px 25px;
width: 100%;
text-align: center;
border: 0;
padding: 10px 25px 10px 25px;
transition: background 0.7s ease,color 0.7s ease 0s,box-shadow 0.1s;
opacity: 1;
box-shadow: 0px 7px 0px grey;
border-radius: 5px;
}
.styledBlueBtn:hover
{
background: #428BCA;
color: #fff;
box-shadow: 0px 7px 0px #21669e;
}
.styledBlueBtn:active
{
-webkit-box-shadow: 0px 2px 0px #21669e;
-moz-box-shadow: 0px 2px 0px #21669e;
box-shadow: 0px 2px 0px #21669e;
position:relative;
top:5px;
}
.styled-input
{
padding: 8px 15px 8px 15px;
font-family: 'Pacifico', cursive;
font-size: 25px;
line-height: 50px;
width: 100%;
margin: 10px 10px;
border-radius: 5px;
box-shadow: inset 0px 1px 0px 0px grey;
transition: box-shadow 0.3s;
color: #428BCA;
}
.styled-input:focus
{
box-shadow: 0px 5px 10px 0px grey;
border-color: #428BCA;
border: none;
border-radius: 5px;
}
.styled-input2
{
padding: 8px 15px 8px 15px;
/*font-family: 'Pacifico', cursive;*/
font-family: 'Lato';
font-size: 25px;
line-height: 50px;
width: 100%;
margin: 10px 10px;
border-bottom: 6px solid grey !important;
border: none;
border-radius: 5px;
color: #428BCA;
}
.styled-input2:focus
{
box-shadow: 2px 8px 10px 2px grey;
border-color: #428BCA;
border: none;
outline: none;
border-radius: 5px;
border-bottom: 6px solid #428BCA !important;
}
.styled-link
{
font-family: 'Lato';
font-weight: 900;
font-size: 1.3em;
color: #3a3a3a;
transition: background 1s, color 1s;
-webkit-transition: background 1s, color 1;
padding: 0.01rem 0.2rem;
border-bottom: 3px solid #3498db;
text-decoration: none;
padding: 5px 10px 5px 10px;
cursor: pointer;
}
.styled-link:hover
{
background: #3498db;
color: white;
}
a:hover, a:visited, a:link, a:active
{
text-decoration: none;
}
::-webkit-input-placeholder
{
color: #428BCA;
opacity: 0.5;
}
:-moz-placeholder
{ /* Firefox 18- */
color: #428BCA;
opacity: 0.5;
}
::-moz-placeholder
{ /* Firefox 19+ */
color: #428BCA;
opacity: 0.5;
}
:-ms-input-placeholder
{
color: #428BCA;
opacity: 0.5;
}
.link-social
{
font-family: 'Lato';
font-size: 1.2em;
text-align: center;
color: white;
transition: font-size 1s;
-webkit-transition: font-size 1s;
text-decoration: none;
padding: 10px 10px 10px 10px;
margin 30px 10px;
}
.link-social:hover
{
animation: hithere 1s ease;
-webkit-animation: hithere 1s ease;
-moz-animation: hithere 1s ease;
font-size: 1.3em;
color: white;
}
.link-social:active { position: relative; top: 5px; }
.fb-color { background: #305c99; box-shadow: 0px 7px 0px #27487C; }
.fb-color:active { box-shadow: 0px 2px 0px #27487C; }
.gplus-color{ background: #d24228; box-shadow: 0px 7px 0px #BF3826;}
.gplus-color:active { box-shadow: 0px 2px 0px #BF3826;}
.twi-color{ background: #00cdff; box-shadow: 0px 7px 0px #00A9D8; }
.twi-color:active { box-shadow: 0px 2px 0px #00A9D8; }
.what-color{ background: #3BBF26; box-shadow: 0px 7px 0px #3C9B1F; display: inline-flex;}
.what-color:active { box-shadow: 0px 2px 0px #3C9B1F; }
@keyframes hithere
{
30% { transform: scale(1.2); }
40%, 60% { transform: rotate(-20deg) scale(1.2); }
50% { transform: rotate(20deg) scale(1.2); }
70% { transform: rotate(0deg) scale(1.2); }
100% { transform: scale(1); }
}
@-webkit-keyframes hithere
{
30% { transform: scale(1.2); }
40%, 60% { transform: rotate(-20deg) scale(1.2); }
50% { transform: rotate(20deg) scale(1.2); }
70% { transform: rotate(0deg) scale(1.2); }
100% { transform: scale(1); }
}
@-moz-keyframes hithere
{
30% { transform: scale(1.2); }
40%, 60% { transform: rotate(-20deg) scale(1.2); }
50% { transform: rotate(20deg) scale(1.2); }
70% { transform: rotate(0deg) scale(1.2); }
100% { transform: scale(1); }
}
.link-social:hover, .link-social:visited, .link-social:link, .link-social:active
{
text-decoration: none;
color: white;
}
Also see: Tab Triggers