Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

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">&times;</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;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console