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.

            
              <html>
  <body>
    <div class="application-window">
      <section class="pane-one sidebar">
        <div class="search-container">
          <i class="fa fa-search icon-search"></i>
          <input class="input-search" type="text" / placeholder="Filter...">
        </div>
        <div class="preview-list">
          <div class="preview">
            <p class="preview-header"><strong>All Hands Meeting Notes</strong></p>
            <p class="preview-body">Running notes from monthly All Hands Meetings.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview selected">
            <i class="fa fa-eye icon-selected-preview"></i>
            <p class="preview-header"><strong>An Ode to Cheese</strong></p>
            <p class="preview-body">Gruyere, raclette, gouda.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview">
            <p class="preview-header"><strong>1:1 Meeting Notes</strong></p>
            <p class="preview-body">Running notes from 1:1 meetings with John.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview">
            <p class="preview-header"><strong>Radar Test Checklist</strong></p>
            <p class="preview-body">
              - add a request test step<br>
              - set a schedule<br>
              - enable multiple locations<br>
            </p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview">
            <p class="preview-header"><strong>Design, Product, and CSS Resources</strong></p>
            <p class="preview-body">A collection of notes and links on resources for design, product and CSS.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview">
            <p class="preview-header"><strong>Design, Product, and CSS Resources</strong></p>
            <p class="preview-body">A collection of notes and links on resources for design, product and CSS.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
          <div class="preview">
            <p class="preview-header"><strong>Design, Product, and CSS Resources</strong></p>
            <p class="preview-body">A collection of notes and links on resources for design, product and CSS.</p>
            <i class="fa fa-cloud icon-save-status"></i>
          </div>
        </div>
      </section>
      <section class="pane-two writing-interface">
        <div class="button-add-note"><i class="fa fa-plus"></i></div>
        <textarea autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="" cols="20" rows="100" class="textarea-writing">Who moved my cheese dolcelatte blue castello. Parmesan cream cheese queso fromage frais macaroni cheese gouda melted cheese airedale. Mascarpone goat cheesy grin rubber cheese stilton goat melted cheese cheese slices. Feta bavarian bergkase mozzarella feta rubber cheese roquefort camembert de normandie queso. Babybel bavarian bergkase st. agur blue cheese st. agur blue cheese paneer bavarian bergkase monterey jack cheese and wine.</textarea>
      </section>
    </div>
  </body>
</html>
            
          
!
            
              // import fonts

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro);

// color variables

@blue:                #0074D9;
@green:               #2ECC40;
@yellow:              #FFDC00;
@orange:              #FF851B;
@red:                 #FF4136;
@purple:              #B10DC9;
@white:               #fff;
@silver:              #ddd;
@gray:                #aaa;
@black:               #111;

// custom color variables
@gray-border:         #a9b6bd;

// layout & typography variables
@font-family:         'Source Sans Pro', sans-serif;
@font-family-mono:    'Source Code Pro', monospace;
@font-size:           14px;
@line-height:         140%;
@light:               300;
@normal:              400;
@bold:                600;
@border-radius:       6px;
@box-shadow:          0px 6px 36px 0px rgba(0,0,0,0.9);
@box-shadow-inset:    inset 0px 1px 12px -4px lighten(@gray, 10%);

// layout & base styles
* {
  box-sizing: border-box;
}

html {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/27480/Geometric-Multicolor_www.FullHDWpp.com_.jpg") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

body {
  padding: 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: @font-size;
  line-height: @line-height;
  font-weight: @normal;
}

h1, h2, h3, h4, h5{
  font-weight: @bold;
  margin: 0;
}

.application-window {
  background-color: @white;
  border-radius: @border-radius;
  box-shadow: @box-shadow;
  margin: 6% auto 0;
  position: relative;
  width: 90%;
  min-width: 640px;
  max-width: 960px;
  height: 553px;
  overflow: hidden;
}

.sidebar {
  float: left;
  width: 280px;
  border-top-left-radius: @border-radius;
  border-right: 1px solid lighten(@gray, 22%);
  &.blurred {
    opacity:.4;
  }
  &.unblurred {
    opacity: 1;
  }
}

.search-container {
  background-color: @white;
  border-bottom: 1px solid lighten(@gray, 24%);
  padding: 20px 10px;
  .icon-search {
    color: @gray;
    margin-top: 8px;
    margin-left: 10px;
    position: absolute;
  }
  .input-search {
    padding-left: 30px;
    width: 100%;
  }
}

.preview-list {
  border-bottom-left-radius: @border-radius;
  height: 480px;
  position: relative;
  overflow: scroll;
}

.preview {
  color: @black;
  background-color: @white;
  border-top: 1px solid lighten(@gray, 30%);
  cursor: pointer;
  padding: 20px 40px;
  transition: all 120ms ease;
  &:hover {
    .preview-header {
      color: @blue;
      transition: all 120ms ease;
    }
  }
  &.selected {
    border-top: 1px solid lighten(@gray, 24%);
  }
  &:active {
    border-top: 1px solid lighten(@gray, 24%);
    box-shadow: @box-shadow-inset;
  }
  &:first-child {
    border-top: none;
  }
  &:last-child {
   border-bottom: 1px solid lighten(@gray, 30%);
  }
  .icon-selected-preview {
    color: @blue;
    font-size: @font-size + 1;
    margin-left: -26px;
    margin-top: 1px;
    position: absolute;
  }
  .icon-save-status {
    color: lighten(@gray, 24%);
    font-size: @font-size + 1;
    margin-left: 216px;
    position: absolute;
  }
}

.preview.selected + .preview,
.preview:active + .preview {
  border-top: 1px solid lighten(@gray, 24%);
}

.preview-header {
  margin: 0 0 4px 0;
}

.preview-body {
  margin: 0;
  color: @gray;
}

.writing-interface {
  height: 553px;
  overflow: scroll;
  cursor: text;
  .textarea-writing {
    padding: 60px;
    font-family: @font-family-mono;
    width: 100%;
    border: none;
    overflow: auto;
    outline: none;
    box-shadow: none;
  }
}
.button-add-note {
  text-align: center;
  position: absolute;
  background-color: @white;
  right: 14px;
  top: 10px;
  color: lighten(@gray, 10%);
  border: 1px solid lighten(@gray,20%);
  border-radius: 4px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 80ms ease;
  opacity: .4;
  &:hover {
    opacity: 1;
    transition: all 80ms ease;
    color: @blue;
    border-color: lighten(@blue, 10%);
  }
  .fa-plus {
    font-size: 14px;
    position: relative;
    top: 1px;
  }
}
            
          
!
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