cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <section class="l-container">
  <header class="header">
    <div class="logo">
      <svg width="120px" height="120px" viewBox="0 0 120 120" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <!-- Generator: Sketch Beta 3.7 (28138) - http://www.bohemiancoding.com/sketch -->
          <defs></defs>
          <g id="001" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
              <g id="Daily-UI-#001---Sign-Up" transform="translate(-144.000000, -81.000000)">
                  <g id="Logo" transform="translate(143.000000, 81.000000)">
                      <g id="Oval-3-+-Oval-4" transform="translate(1.000000, 0.000000)">
                          <path class='circle' d="M87.5794617,6.70020519 C106.839908,16.6866076 120,36.8064517 120,60 C120,93.137085 93.137085,120 60,120 C26.862915,120 0,93.137085 0,60 C0,26.862915 26.862915,0 60,0 C60.0507157,0 60.1014166,6.29228956e-05 60.1521028,0.000188694877 L60.1521028,5.04900441 C60.1186772,5.04895117 60.0852446,5.04892133 60.051805,5.04892133 C29.6761437,5.04892133 5.05180496,29.6732601 5.05180496,60.0489213 C5.05180496,90.4245826 29.6761437,115.048921 60.051805,115.048921 C90.4274662,115.048921 115.051805,90.4245826 115.051805,60.0489213 C115.051805,38.7813657 102.980666,20.3331757 85.3160283,11.1819915 L87.5794617,6.70020519 Z" id="Oval-3" fill="#F7F7F7"></path>
                          <path class='red' d="M83.3722284,4.90439647 C77.6658734,2.48716934 71.5078907,0.927819435 65.0600208,0.388087409 L64.6846019,5.41901478 C70.6409793,5.91711182 76.3275409,7.36440406 81.5925593,9.60916405 L83.3722284,4.90439647 Z" id="Oval-4" fill="#F04444"></path>
                      </g>
                  </g>
              </g>
          </g>
      </svg>
    </div>
    <p>Capture</p>
  </header>
  <form action="" class="form">
    <fieldset>
      <label class="form__label" for="">EMAIL</label>
      <input class="form__input" type="text" placeholder="Enter email address" required />
    </fieldset>
    <fieldset>
    <label class="form__label" for="">USERNAME</label>
      <input class="form__input" type="text" placeholder="Enter username" required />
    </fieldset>
    <fieldset>
      <label class="form__label" for="">PASSWORD</label>
      <input class="form__input" type="text" placeholder="Enter password" required />
    </fieldset>
    <input class="form__submit is-btn-hovered" type="submit" value="CREATE ACCOUNT">
  </form>
  <div class="connect">
    <p>connect with <span class="fa fa-twitter connect__icon is-btn-txt"></span><span class="fa fa-facebook-official connect__icon is-btn-txt"></span></p>
  </div>
  <div class="account">
    <p>ALREADY HAVE ACCOUNT?<span class="is-btn-txt">sign in</span></p>
  </div>
</section>

            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans|PT+Serif:400,700);

$text-font: 'Open Sans', sans-serif;
$logo-font: 'PT Serif', serif;
$pg-bg: #bfbfbf;
$transparent-bg: rgba(#EEEEEE, .9);
$special-color: #b19a9a;
$special-hov-color: #906f6f;


@mixin center(){
  margin-right:auto;
  margin-left:auto;
}

/************* 
Base
**************/

html, body{
  width:100%;
  height:100%;
  box-sizing:border-box;
  font-family: $text-font;
  background:$pg-bg; 
}

*, *:before, *:after{
  box-sizing:border-box;
}


*:focus {
    outline: none;
}

fieldset{
  border: none;
}

input[type=submit]{
  border:none;
  font-size:1em;
}

/************* 
 Layout
**************/

.l-container{
  margin-top:20px;
  @include center;
  width:400px;
  height:695px;
  box-shadow: 0 0 55px rgba(black, .6);
  background:url(https://dl.dropboxusercontent.com/u/11530795/background_image.jpg),linear-gradient(-140deg,  rgba(#4682B4, .5), black);
  background-blend-mode:darken;
  overflow:hidden;
}

/************* 
Modules
**************/
.header{
  padding-top:10px;
  width:inherit;
  height:160px;
  text-align:center;
  color:white;
  font-family: $logo-font;
  font-weight:100;
  font-size:34px;
  text-transform:uppercase;
  letter-spacing: 2px;
  .logo{
    @include center;
    padding-top:15px;
    width:300px;
    height:145px;
  }
}



.form{
  display:flex;
  flex-direction:column;
  margin-top:90px;
  @include center;
  width:225px;
  height:370px;
  border-radius:2px;
  background:$transparent-bg;
  &__label{
    margin-top:10px;
    font-size:12px
  }
  &__input{
    margin-top:10px;
    @include center;
    padding-bottom:20px;
    width:200px;
    font-size:11px;
    border: 0;
    outline: 0;
    border-bottom:1px solid $special-color;
    background:transparent;
  }
  &__submit{
    margin-top:10px;
    @include center;
    padding:10px 20px;
    width:200px;
    font-size: 13px;
    color:white;
    background: $special-color;
  }
}

.connect{
  margin-top:-55px;
  @include center;
  width:200px;
  height:50px;
  font-size:13px;
  text-align:center;
  &__icon{
    margin-left:30px;
    font-size:20px;
    color:$special-color;
  }
}

.account{
  padding-left:15px;
  @include center;
  width:225px;
  height:45px;
  font-size: 10px;
  line-height:45px;
  border-radius:2px;
  background:$transparent-bg;
  span{
    margin-left:25px;
    font-size: 13px;
    color:$special-color;
  }
}

.circle{
  stroke:none;
  fill:none;
}
.red{
  visibility: hidden;
}


/************* 
states
**************/

.is-btn-hovered:hover{
  background: $special-hov-color;
}

            
          
!
            
              // variables
$(document).ready(function(){
var logo = $('.logo'),
    logoName = $('.header p'),
    form = $('form'),
    fields = $('fieldset'),
    submit = $('.form__submit'),
    connect = $('.connect'),
    account = $('.account'),
    circle = $('.circle'),
    red = $('.red'),
    tl = new TimelineMax();

//animations
tl.from(logoName, .4,{y:-70, autoAlpha:0, ease:Sine.easeOut})
  .from(form, .3,{y:-50, autoAlpha:0, ease:Sine.easeOut})
  .staggerFrom(fields, .3, {y:-10, autoAlpha:0, ease:Sine.easeOut})
  .from(submit, .3,{y:-50, autoAlpha:0, ease:Sine.easeOut})
  .from(connect, .3,{y:-50, autoAlpha:0, ease:Sine.easeOut})
  .from(account, .3,{y:-50, autoAlpha:0, ease:Sine.easeOut})
  .fromTo(circle, 3, {drawSVG:0 }, {stroke:'white', drawSVG:"100%", ease:Sine.easeOut}, "-=1")
  .fromTo(circle, .9,{drawSVG:0 }, {fill:'white', drawSVG:"102%", delay:0.5 })
  .to(red, 1, {autoAlpha:1, ease:Linear.easeNone})
})

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console