Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <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>
              
            
!

CSS

              
                .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;
}
              
            
!

JS

              
                
              
            
!
999px

Console