Pen Settings



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


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


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.


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.


  <div class="login"><a href="#">Login</a></div>
  <div class="entypo-light-up"></div>
  <div class="entypo-pencil"></div>  
<div class="loginbutton">LOGIN</div>
<form action="#">
    <label for="name">username</label>
    <input type="text" name="name" id="name" />
    <label for="password">password</label>
    <input type="password" name="password" id="password" />
<div class="credit">Inspired by Ozgun Tandiroglu's Dribbble <a href="">shot</a>.</div>


                @import "compass/css3";

@import url(;
 * Colors 
$emw--color-alpha: #7c2c2c;
$emw--color-beta: #c6adad;
$emw--color-gamma: lighten(gray,20%);
$emw--color-delta: darken(gray,20%);
$emw--color-epsilon: darken(#7c2c2c,5%);

 * Units 
$emw--unit-alpha: 0.3em;
$emw--unit-beta: 1em;
$emw--unit-gamma: 1.3em;
$emw--unit-delta: 0.05em;
$emw--unit-epsilon: -12em;
$emw--unit-zeta: 0.5em;
$emw--unit-eta: 8.1em;

[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
  color: $emw--color-beta;
  margin: $emw--unit-alpha;
body,html {
  background: $emw--color-alpha;
  color: $emw--color-beta;
  font-size: $emw--unit-beta;
  font-family: 'Open sans', sans-serif;
  margin: 0;
header {
  font-size: $emw--unit-gamma;
  border-bottom: $emw--unit-delta solid $emw--color-gamma;
  height: $emw--unit-beta * 1.5;
  clear: both;
  margin: $emw--unit-beta * 0.50 0;
header div{
  float: right;
  display: inline-block;
a {
  text-decoration: none;
  color: inherit;
div.login {
  margin: 0 $emw--unit-beta * 0.50;
  text-transform: uppercase;
.loginbutton {
  width: $emw--unit-beta * 5.2;
  padding: $emw--unit-beta;
  text-align: center;
  height: $emw--unit-gamma + 0.3em;
  margin: $emw--unit-beta * 4.9 auto;
  background: lighten($emw--color-alpha,5%);
  cursor: pointer;
  transition: 1s ease-in-out;
form {
  display: none;
  margin: $emw--unit-epsilon auto;
  position: relative;
  padding: $emw--unit-zeta;
  width: $emw--unit-beta * 31;
  font-size: $emw--unit-alpha + 0.4em;
form div {
  transition: .5s ease-in-out;
  display: inline-block;
form div label {
  display: block;
form div input[type="text"], form div input[type="password"]{
  background: $emw--color-gamma;
  border: $emw--unit-alpha - 0.2em solid $emw--color-gamma;
  width: $emw--unit-eta;
form div {
  padding: $emw--unit-zeta;
  margin: 0 $emw--unit-alpha - 0.15em;
form div input[type="text"]:focus, form div input[type="password"]:focus{
  outline: none;
  color: $emw--color-delta;
.activeloginbutton {
  transform: rotate(360deg) translate(-205%);
.credit {
  position: absolute;
  bottom: 0;
  margin: 1em;
form div:active, form div:hover, form div:focus {
  background: $emw--color-epsilon;


                /* Inspired by Ozgun Tandiroglu's Dribbble Shot.
 * 2013 by Kaushalya R. Mandaliya
 * For crazyness just change that rotate from 360deg to 3600deg...:P
 * Thanks & Enjoy.