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.
<div class="jumbotron">
<div class="container">
<h1>Looking for Carnival Stuff?</h1>
<p>Enter our website to <span class="label label-info">buy/sell or trade</span> that will be needed to get geared for the carnival festival over the world...</p>
<div id="post-new" title="Post Ad" data-toggle="modal" data-target="#myModal">
<i class="fa fa-plus fa-3x fa-post-ad"></i>
</div>
<div class="row"id="landing-space">
<div class="col-sm-4">
<div class="thumbnail">
<div class="caption">
<p class="aligned-center"><i class="fa fa-user fa-3x circle-background"></i></p>
<h3>Register With Us</h3>
<p class="text-primary">Register using your facebook account and post your carnival stuff, it is absolutely free!</p>
<p><i class="fa fa-facebook-official fa-2x" title="Login with FaceBook"></i></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="thumbnail">
<div class="caption">
<p class="aligned-center"><i class="fa fa-th-large fa-3x circle-background"></i></p>
<h3>Browse All Ads</h3>
<p class="text-primary">Check all the ads that have been posted on our website to get geared up!!</p>
<p><a class="btn btn-info" title="View All Ads"><i class="fa fa-angle-double-right fa-2x"></i></a></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="thumbnail">
<div class="caption">
<p class="aligned-center"><i class="fa fa-edit fa-3x circle-background"></i></p>
<h3>Post An Ad</h3>
<p class="text-primary">Post your carnival stuff and make sure to provide maximum information, it is absolutely free!</p>
<p><a class="btn btn-info" title="Post an Ad"><i class="fa fa-plus fa-2x"></i></a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Post Ad</h4>
</div>
<div class="modal-body">
<p>
I want to
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
.jumbotron {
background: #000 url("https://upload.wikimedia.org/wikipedia/commons/5/5b/Venice_Carnival_(2010).jpg") no-repeat center center;
background-size: 100% 100%;
-moz-background-size: 100% 100%;
-webkit-background-size: 100% 100%;
-o-background-size: 100% 100%;
color: #fff;
height: calc(100vh);
}
.fa {
vertical-align: middle;
padding-left: 1%;
}
.fa-facebook-official {
padding-right: 9%;
cursor: pointer;
}
.btn-primary {
font-size: 16px;
}
.aligned-center {
text-align: center;
}
.circle-background {
background: #5bc0de;
width: 100px;
height: 100px;
border-radius: 50%;
text-align: center;
line-height: 100px;
vertical-align: middle;
}
.shadow-effect {
webkit-box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.61);
-moz-box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.61);
box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.61);
}
#post-new {
background: #5bc0de;
padding: 28px;
position: absolute;
right:0;
bottom:0;
z-index: 2000;
float: right;
border-radius: 75%;
cursor: pointer;
}
#landing-space {
padding-top: 200px;
}
Also see: Tab Triggers