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

              
                <div class="container pt-4">
  <div class="row justify-content-center">
    <div class="col-md-8">
      <div class="card-group">
        <div class="card">
          <div class="card-body">
            <h1>Sign In</h1>
            <p class="text-muted">Sign In to your account</p>
            <div class="form-group input-group">
              <div class="input-group-prepend">
                <span class="input-group-text">
                  <i class="fa fa-user"></i>
                </span>
              </div>
              <input class="form-control" type="text" placeholder="Username">
            </div>
            <div class="input-group mb-4">
              <div class="input-group-prepend">
                <span class="input-group-text">
                  <i class="fa fa-key"></i>
                </span>
              </div>
              <input class="form-control" type="password" placeholder="Password">
            </div>
          <div class="row">
             <div class="col-6">
              <button class="btn btn-primary px-4" type="button">Login</button>
            </div>
            <div class="col-6 text-right">
               <button class="btn btn-link px-0" type="button">Forgot password?             
                  </button>
            </div>
          </div>
        </div>
      </div>
      <div class="card text-white bg-white d-md-down-none" style="width:44%">
        <div class="card-body text-center">
          <div class="color-bk">
            <h2>Sign up</h2>
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
            <button class="btn btn-primary active mt-3" type="button">Register Now!</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Titillium+Web');

body{
  font-family: 'Titillium Web', sans-serif;
  background-image: url("https://images.pexels.com/photos/921288/pexels-photo-921288.png?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940");
  width: 100%;
  backgroud-position: bottom !important;
  backgroud-repeat: no-repeat;
  backgroud-size: cover;
background-position: bottom;
}

.pt-4 {
  margin-top: 4rem !important;
}
.bg-white{
  backgroud-color: #fff;
}
button.btn-primary {
  background-color: #FFCC00 !important;
  border: none;
}

.color-bk{
  color: #333;
}
              
            
!

JS

              
                
              
            
!
999px

Console