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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

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.

HTML

            
              <section>

          <div class="register-wrapper">
            <div class="register-block">
              <h3 class="register-title">Create an account</h3>
              <p>Quickly &amp; easily create an account using the form below.</p>
              <form action="">
                <input type="email" placeholder="Enter your email"/>
                <input type="password" placeholder="Enter your password" />
                <input type="submit" value="Create my account"/>
              </form>
            </div>
          </div>

        </section>
            
          
!

CSS

            
              body {
  background-image: -webkit-linear-gradient(135deg, #3B3E43 30%, #292F2F 90%),
    linear-gradient(135deg, #3B3E43 30%, #292F2F 90%);
}

.register-wrapper {
    background-image: -webkit-linear-gradient(135deg, #3B3E43 30%, #292F2F 90%),
    linear-gradient(135deg, #3B3E43 30%, #292F2F 90%);
    position: relative;
    z-index: 3;
    padding: 100px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    
}

.register-wrapper * {
    box-sizing: border-box;    
}

.register-wrapper form input {
    display: inline-block;
    width: 100%;
    padding: 0 20px;
    line-height: 50px;
    background: #fff;
    border: solid 1px #e6e6e6;
    border-bottom-width: 3px;
    border-radius: 5px;
    -webit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none;
}

.register-wrapper form input:not(:last-child) {
    margin-bottom: 20px;
}

.register-wrapper form input[type="email"]:focus,
.register-wrapper form input[type="email"]:active,
.register-wrapper form input[type="password"]:focus,
.register-wrapper form input[type="password"]:active {
    border-color: #ccc;
}

.register-wrapper form input[type="submit"] {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 20px;
    background-color: #a74c00;
   background-image: linear-gradient(52deg, #ffe1a4 25%, #ffb170 25%, #ffb170 50%, #ffe1a4 50%, #ffe1a4 75%, #ffb170 75%, #ffb170 100%);
background-size: 101.52px 129.94px;
    border: solid 1px #C55900;
    border-bottom-width: 3px;
    color: #fff;
    outline: none;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;   
}

.register-wrapper form input[type="submit"]:hover {
  background-image: linear-gradient(128deg, #ffb170 25%, #ffe1a4 25%, #ffe1a4 50%, #ffb170 50%, #ffb170 75%, #ffe1a4 75%, #ffe1a4 100%);
background-size: 101.52px 129.94px;
}

.register-title {
    font-size: 1.6rem;
    padding-bottom: 20px;
    margin: 0 0 20px;
    border-bottom: dashed 1px #e6e6e6;
}

.register-block {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300%;
    margin: 0 auto;
    padding: 30px;
    background: #FF7400;
    box-shadow: 0 0 50px rgba (0,0,0,0.2);
    border-radius: 5px;
}

.register-block::before, 
.register-block::after {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: #FF9339;
    border: solid 1px #C55900;
    border-radius: 5px;
    -webkit-transform: scale(0.9) translate(0,0);
    transform: scale(0.9) translate(0,0);
    transition: all 0.2s ease;
}

.register-block::after {
    transition-delay: 0.05s;
}

.register-block:hover::before {
    -webkit-transform: scale(0.96) translate(0,16px);
    transform: scale(0.96) translate(0,16px);
    z-index: -1;
}

.register-block:hover::after {
    -webkit-transform: scale(0.92) translate(0,32px);
    transform: scale(0.92) translate(0,32px);
    z-index: -2;
}



            
          
!

JS

            
              
            
          
!
999px

Console