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.

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

              
                <!-- Just playing around not complete yet -->

<form id="form-container">
  <section></section>
  
  <span class="box1">
    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve" class="profile">
      <path id="user-icon" d="M407.448,360.474c-59.036-13.617-113.989-25.541-87.375-75.717
 c81.01-152.729,21.473-234.406-64.072-234.406c-87.231,0-145.303,84.812-64.072,234.406c27.412,50.482-29.608,62.393-87.375,75.717
 c-59.012,13.609-54.473,44.723-54.473,101.176h411.838C461.919,405.196,466.458,374.083,407.448,360.474z"/>
    </svg>
  </span>
  <input name="name" type="text" placeholder="Name" id="name" />
  
  <span class="box2">
    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" class="profile" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
      <path id="lock-icon" d="M145.333,223.333v-62.666C145.333,99.645,194.979,50,256,50c61.022,0,110.667,49.645,110.667,110.667v62.666
 h-50v-62.666C316.667,127.215,289.452,100,256,100c-33.452,0-60.667,27.215-60.667,60.667v62.666H145.333z M108,253.333V462h296
 V253.333H108z"/>
    </svg>
  </span>
  <input name="Password" type="password" placeholder="Password" id="password" />
      
      
  <span>
    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" class="arrow" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">

<path id="arrow-12-icon" d="M462,256.001L248.006,108.072v71.138H50v153.58h198.006v71.138L462,256.001z"/>

</svg>
  </span>  
    <input type="submit" value="" id="submit"/>
  
  
  
</form>
              
            
!

CSS

              
                @import "compass/css3";


$neonYellow  : #FFFB00;
$neonRed     : #FF1168;
$neonTeal    : #1FFFD6;
$neonBlue    : #00AAFF;

html{
  background:black;
}

.profile{
  margin-top:9px;
  margin-left:8px;
  width:25px;
  height:25px;
  fill:#3b4148;
}

input:focus{ 
  outline: 2px solid #0099cc; 
}

#form-container{
  float:left;
  width:30%;
  min-width:400px;
  margin-top:25px;
  margin-left:calc(50% - 200px);
  margin-left:-webkit-calc(50% - 200px);
  margin-left:-moz-calc(50% - 200px);
  background:#2C312F;
}

section {   
  @include background-image( 
    linear-gradient(
      left top, 
      $neonTeal 0%, 
      $neonYellow 25%,
      $neonRed 75%,
      $neonBlue 100%
    )); 
  width:100%;
  height:7px;
  float:left;
}

#name, #password{
  float:left;
  width:80%;
  margin:5% 5% 0 0;
  padding:13px 10px;
  font-size:1em;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  background-color: #3b4148;
  border:0;
  color: #606468;
}

#password{
  margin-top:2%;
  margin-bottom:5%;
  width:68%;
  margin-right:0;
}

.arrow{
  position:absolute;
  margin-top:90px;
  margin-left:14px;
  width:25px;
  height:25px;
  fill:#3b4148;
  pointer-events: none;
}

#submit{
  margin-top:2%;
  margin-left:0;
  width:12%;
  height:44px;
  background-color:grey;
  border:0;
}

#submit:hover{
  background-color:#0099cc;
}

.box1, .box2{
  background:grey;
  margin-top:5%;
  margin-left:5%;
  height:44px;
  width:10%;
  display: block;
  line-height: 20px;
  float:left;
}

.box2{
  margin-top:2%;
}

@media only screen and (max-width: 400px) {
  margin-left:35%;
}
              
            
!

JS

              
                
              
            
!
999px

Console