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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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

              
                <form id="form">
   <p>Sign up once and watch our free things.</p>

   <div class="form-group">
      <label for="name">Your Name</label>
      <br />
      <div class="input-group">
         <div class="input-group-addon"><i class="fa fa-user" aria-hidden="true"></i>            </div>
         <input type="text" id="name" placeholder="Enter Your Name"/>
         </div>
      </div>
   
   <div class="form-group">
      <label for="email">Your Email</label>
      <br />
      <div class="input-group">
         <div class="input-group-addon"><i class="fa fa-envelope" aria-hidden="true">            </i></div>
         <input type="email" id="email" placeholder="Enter Your Email"/>
         </div>
      </div>
   </div>
   
   <div class="form-group">
      <label for="username">Your Username</label>
      <br />
      <div class="input-group">
         <div class="input-group-addon"><i class="fa fa-users" aria-hidden="true"></i>            </div>
         <input type="text" id="username" placeholder="Enter Your Username"/>
         </div>
      </div>
   </div>
   
   <div class="form-group">
      <label for="password">Your Password</label>
      <br />
      <div class="input-group">
         <div class="input-group-addon"><i class="fa fa-lock" aria-hidden="true"></i>            </div>
         <input type="text" id="password" placeholder="Enter Your Password"/>
         </div>
      </div>
   </div>
   
   <div class="form-group">
      <label for="password-confirm">Confirm Your Password</label>
      <br />
      <div class="input-group">
         <div class="input-group-addon"><i class="fa fa-lock" aria-hidden="true"></i>            </div>
         <input type="text" id="password-confirm" placeholder="Confirm Your Password"/>
         </div>
      </div>
   </div>
   
   <button type="submit" class="btn btn-default">Register</button>
</form>
              
            
!

CSS

              
                *{
   box-sizing: border-box;
   font-family: "Merriweather Sans", sans-serif;
}

body{
   background-color: #B0DBEE;
   
   #form{
      color: white;
      background-color: #009EDF;
      border-radius: 5px;
      
      width: 400px;
      padding: 40px;
      margin: 150px auto;
      
      -webkit-box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.75);
      -moz-box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.75);
      box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.75);
      
      p{
         font-size: 0.9em;
      }
      
      button{
         width: 100%;
         text-align: center;
         color: grey;
         margin-top: 20px;
         border: 1px solid rgba(0,0,0,0.4);
      }
      
      .form-group{
         margin: 15px auto;
           
         label{
            font-weight: bold;
            font-size: 0.9em;
         }
         
         .input-group{
            border-radius: 5px;
            -webkit-box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.35);
            -moz-box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.35);
            box-shadow: -1px 3px 18px 0px rgba(0,0,0,0.35);
            
            .input-group-addon{
               border: none;
               border-right: 1px solid rgba(0,0,0,0.2);
            }
            
            input{
               padding-left: 10px;
            }
            
            i{
               color: #009EDF;
            }
         }
         
         input{
            padding: 3px;
            width: 100%;
            border: none;
            border-radius: 0 5px 5px 0;
         }
      }
   }
}
              
            
!

JS

              
                
              
            
!
999px

Console