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

              
                <!-- 
Front-End Design (pure css)
Ui Design
www.cupcom.com.br
-->

<link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/af562a2a63.js" crossorigin="anonymous"></script>

<main>
  <section class="container">
    <!-- login -->
    <div class="login">

      <i class="fas fa-sign-in-alt"></i>
      <strong>Welcome!</strong>
      <span>Sign in to your account</span>

      <form>
        <fieldset>
          <div class="form">
            <div class="form-row">
              <i class="fas fa-user"></i>
              <label class="form-label" for="input" >Name</label>
              <input type="text" class="form-text" placeholder="enter your name">
            </div>
            <div class="form-row">
              <i class="fas fa-eye"></i>
              <label class="form-label" for="input">Password</label>
              <input type="text" class="form-text" placeholder="enter password">
            </div>
            <div class="form-row bottom">
              <div class="form-check">
                <input type="checkbox" id="remenber" name="remenber" value="remenber">
                <label for="remenber">remenber me?</label>
              </div>
              <a href="" class="forgot">forgot password?</a>
            </div>
            <div class="form-row button-login">
              <button class="btn btn-login">Sign in <i class="fas fa-arrow-right"></i></button>
            </div>
          </div>
        </fieldset>
      </form>
    </div>

    <!-- register -->
    <div class="register">
      <i class="fas fa-user-circle"></i>
      <strong>Create account!</strong>
      <form>
        <fieldset>
          <div class="form">
            <div class="form-row">
              <i class="fas fa-user"></i>
              <label class="form-label" for="input" >Name</label>
              <input type="text" class="form-text" placeholder="enter your name">
            </div>
            <div class="form-row">
              <i class="fas fa-envelope"></i>
              <label class="form-label" for="input">E-mail</label>
              <input type="text" class="form-text" placeholder="enter your e-mail">
            </div>
            <div class="form-row">
              <i class="fas fa-lock"></i>
              <label class="form-label" for="input">Password</label>
              <input type="text" class="form-text" placeholder="enter a name">
            </div>
            <div class="form-row button-login">
              <button class="btn btn-login">Create <i class="fas fa-arrow-right"></i></button>
            </div>
          </div>
        </fieldset>
      </form>

      <span class="create-account">Or create account using social media!</span>

      <div class="social-media">
        <i class="fab fa-facebook"></i>
        <i class="fab fa-twitter"></i>
      </div>
    </div>
  </section>
</main>

   <div style="display: block; margin: 0 auto; text-align: center; margin-top: 50px">
      <script src="https://apis.google.com/js/platform.js"></script>

<div class="g-ytsubscribe" data-channelid="UCpXTlrDWlpN46PKieJ-FcPw" data-layout="full" data-count="hidden"></div>
   </div>

<div style="margin: 50px 0; display: flex; align-items: center; justify-content: center; width: 100%">
  
    <a style="display: block; text-align:  center; color: #555; text-decoration: none; margin-right: 15px; " href="https://www.cupcom.com.br/" target="_blank"><i class="fas fa-home" style="color: #1da1f2; margin-right: 5px;"></i>cupcom.com.br</a>

</div>


              
            
!

CSS

              
                * {
  box-sizing: border-box;
}

$font: 'Rubik', sans-serif;
$shadow:  0 7px 30px -10px rgba(150,170,180,0.5);
$color: #4d61fc;
$white: #fff;

body {
  background: #fff;
  font-family: $font;
  margin: 0;
  padding: 0;
}
form,
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.container {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 50px auto;
  max-width: 1200px;
  width: 100%;
  
  @media(max-width: 768px) {
    flex-wrap: wrap;
  }
}
.btn {
  align-items: center;
  background: $color;
  border-radius: 3px;
  border: 0;
  color: $white;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  padding: 15px 45px;
  transition: .2s;
  &:hover {
    background: #2036de;
    transform: translateY(-2px);
  }

  .fas.fa-arrow-right {
    color: $white;
    font-size: 12px;
    line-height: 12px;
    margin: 0 0 0 10px;

  }
}
.register,
.login {
  border-radius: 5px;
  box-shadow: $shadow;
  height: auto;
  max-width: 400px;
  padding: 40px 15px;
  text-align: center;
  width: 100%;

  .fas {
    color: $color;
    font-size: 35px;
    margin-bottom: 5px;
  }

  strong {
    color: #2f2f2f;
    display: block;
    font-size: 40px;
  }
  span {
    color: #2f2f2f;
  }

  .create-account {
    border-top: 1px solid #e2e2e2;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 30px;

    strong {
      font-size: 16px;
      margin-left: 5px;
      text-decoration: underline;
    }
  }
}
.register,
.login {
  background: $white;

  .form {
    margin-top: 30px;
    padding: 0 20px;

    .form-row {
      position: relative;
      text-align: left;

      .fas {
        font-size: 15px;
        position: absolute;
        right: 10px;
        top: 30px
      }

      &.bottom {
        display: flex;
        justify-content: space-between;

        .forgot {
          color: $color;
        }
      }
      &.button-login {
        margin-top: 50px;
        .fas {
          position: static;
        }
      }
      
      // style checkbox remenber 
      .form-check {
        input[type=checkbox] + label {
          color: #555;
          cursor: pointer;
          display: block;
        }
        
        input[type=checkbox] {
          display: none;
        }
        // style label input checkbox
        input[type=checkbox] + label:before {
          border-radius: 3px;
          border: 1px solid #e2e2e2;
          color: transparent;
          content: "\2714";
          display: inline-block;
          height: 15px;
          margin-right: 5px;
          transition: .2s;
          vertical-align: bottom;
          width: 15px;
          line-height: 16px;
          font-size: 12px;
          text-align: center;
        }
        // input active scale
        input[type=checkbox] + label:active:before {
          transform: scale(1.1);
        }
        // color input checked
        input[type=checkbox]:checked + label:before {
          background-color: $color;
          border-color: $color;
          color: $white;
        }

      }
    }

    .form-label {
      color: #555;
      font-size: 12px;
    }
  }
  .form-password,
  .form-text {
    border-radius: 2px;
    border: 0;
    height: 40px;
    margin-bottom: 20px;
    padding: 0 40px 0 10px;
    width: 100%;
    background: #f1f1f1 no-repeat;
    transition: 100ms all linear 0s;
    
  // style and effect focus inputs
    background-image: linear-gradient( 109.6deg,  rgba(116,18,203,1) 11.2%, rgba(230,46,131,1) 91.2% );
    background-size: 0 2px, 100% 1px;
    background-position: 50% 100%, 50% 100%;
// effect transition
    transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  // focus  active input
    &:focus {
      background-size: 100% 2px, 100% 1px;
      outline: none;
    }
  }
}
.register {
  transform: scale(1.01);
  // background gradient create accound 
  background-image: linear-gradient( 109.6deg,  rgba(116,18,203,1) 11.2%, rgba(230,46,131,1) 91.2% );
  .fas,
  strong {
    color: $white;
  }
  .form {
    .form-label {
      color: $white;
    }
    .form-row {
      .fas {
        color: $color;
      }
      .button-login {
        margin-top: 20px;
      }
    }
  }

  .btn-login {
    background: $white;
    color: #555;

    .fas.fa-arrow-right {
      color: #555;
    }
    
    &:hover {
      background: #d5d7de;
    }
  }

  .create-account {
    color: $white;
  }
  .social-media {
    color: $white;
    font-size: 20px;
    margin-top: 10px;
    .fab {
      margin: 0 3px;
    }
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console