Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                <!-- Email capture -->
<div class="container">
  <div class="row">
        <div class="col-md-6 col-md-offset-3 email-capture">
  <h3>Did you like this article?</h3>
  <h4>Sign up to get the latest content first.</h4>
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup" class="mailchimp">
    <form action="YOUR___FORM____LINK___HERE" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate form-inline" target="_blank" novalidate>    
      <div class="form-group">
        <input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL" placeholder="Enter email">
        <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn__bottom--border mailchimp__btn" data-style="shrink" data-horizontal>        
      </div>

        <div id="mce-responses" class="clear">
                <div class="response" id="mce-error-response" style="display:none"></div>
                <div class="response" id="mce-success-response" style="display:none"></div>
            </div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
            <div class="" style="position: absolute; left: -5000px;"><input type="text" name="b_410ed4e009d15301d90f6492b_753384883a" value=""></div>                          
    </form>
        <span class="form_nospam">No spam - pinky promise</span>  
</div><!--End mc_embed_signup-->
        </div>
  </div> <!-- /end of Row-->
</div> <!-- End of container-->
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Pacifico);

$white:                 #ffffff !default;

$brandColor: #5C97BF;

h3{
  font-family: pacifico;
  margin: 1em 0;
  font-size: 2.4em;
  }
h4{
    margin-bottom: 2em 0;
  }
.email-capture{
   border: 1px solid #f1f1f1;
   text-align: center;
   padding: 3em;
   margin-top: 3em;  
   margin-bottom: 3em;
   -webkit-border-radius: 4px;
   -moz-border-radius: 4px;
   border-radius: 4px;
.form-group{
  width: 100%;
  }
}
.mailchimp{
  width: 100%;
  form{width: 100%;}
    input[type="email"] {
      width: 100%;
      background: #f5f5f5;
      height: 55px;
      padding: 18px 20px;
      font-size: 20px;
      margin-bottom: 15px;
      text-align: center;
      border: none;
      outline: none;
      color: #444;
      float: left;
      -webkit-appearance: none;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
      -webkit-box-shadow: inset 0 -1px rgba(0,0,0,0.1);
      -moz-box-shadow: inset 0 -1px rgba(0,0,0,0.1);
      box-shadow: inset 0 -1px rgba(0,0,0,0.1);  
    }
    input[type="submit"] {
      width: 100%;
      background-color: $brandColor;
      color: $white;      
      font-size: 18px;
      height: 55px;
      float: left;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px; 
    }
    .form_nospam{
      font-size: 12px;
      font-size: 1.2rem;
    }
  }
              
            
!

JS

              
                
              
            
!
999px

Console