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.

            
              <div class="stage">
  <article class="stage-item">
    <header class="stage-header">
      <div class="meta-date">19 January, 2015</div>
      <h1>Consectetuer Adipiscing</h1>
      <div class="meta-id">#56</div>
    </header>
    <div class="item-status paid">
      Paid
    </div>
    <div class="item-value positive">
      &pound;25.65
    </div>
    <div class="item-summary">
      <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
    </div>
    <footer class="stage-footer">
      <nav class="item-navigation">
        <ul class="delist controls cf">
          <li><a href="#" title="Download"><i class="fa fa-download"></i></a></li>
          <li><a href="#" title="Edit"><i class="fa fa-edit"></i></a></li>
          <li><a href="#" title="Delete" class="delete"><i class="fa fa-times"></i></a></li>
        </ul>
      </nav>
    </footer>
  </article>
</div>
            
          
!
            
              .cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

$accentColor: #535c9e;
$accentColorLight: #7380db;
$accentColorDark: #383e66;
$accentColorFaded: #e1e3f7;
$accentColorBorder: #c1c6e8;

$accentColorRed: #e65a4c;

$accentColorGreen: #2ecc71;

$accentColorBlue: #3498db;

$shadeColor: #3d424c;
$shadeColorLighter: #a6aab6;
$shadeColorLight: #6d717b;
$shadeColorDark: #262c38;
$shadeColorFaded: #eceef1;
$shadeColorBorder: #d7dbe2;

$font-stack: "proxima-nova", Arial, Helvetica, sans-serif;

body {
  background-color: $shadeColorFaded;
  font-family: $font-stack;
  font-size: 14px;
}
.delist {
	list-style: none;
	margin: 0;
	padding: 0;
}
.stage {
  padding: 2.5em;
}
.stage-item {
  max-width: 400px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background-color: #ffffff;
  overflow: hidden;
}
.stage-header {
  padding: 20px;
  background-color: $accentColor;
  position: relative;
  h1 {
    margin: 0;
    font-size: 20px;
		font-weight: 700;
		line-height: 1.5em;
		color: #ffffff;
		margin: 0 75px 0 0;
  }
  .meta-date {
    color: $accentColorFaded;
	 margin: 0 75px .5em 0;
  }
  .meta-id {
    padding: 7px 1em;
		position: absolute;
		right: 20px;
		top: 50%;
		margin-top: -20px;
		line-height: 20px;
		color: $accentColorLight;
		border-radius: 999px;
		border: 3px solid $accentColorLight;
		font-weight: bold;
  }
}
.item-status {
  padding: 1em 20px;
  text-align: center;
  color: #ffffff;
}
.item-status.paid {
  background-color: $accentColorGreen;
}
.item-value {
  padding: 1em 20px;
  font-size: 32px;
  text-align: center;
  border-left: 1px solid $shadeColorBorder;
  border-right: 1px solid $shadeColorBorder;
  font-weight: 600;
}
.item-value.positive {
  color: $accentColorGreen;
}
.item-summary {
  padding: 1.5em 20px;
  border-left: 1px solid $shadeColorBorder;
  border-right: 1px solid $shadeColorBorder;
  border-top: 1px solid $shadeColorFaded;
  line-height: 1.5em;
  color: $shadeColorLight;
}
.stage-footer {
  border: 1px solid $shadeColorBorder;
  border-top: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: $shadeColorFaded;
}
.item-navigation {
		.controls {
			width: 100%;
			li {
				float: left;
				width: 33.333%;
    			width: calc(100% / 3);
    			a {
    				display: block;
    				text-align: center;
    				padding: 20px;
    				font-size: 18px;
    				line-height: 20px;
    				color: $shadeColorLight;
    			}
				a:hover {
					color: $shadeColor;
				}
				a.delete:hover {
					color: $accentColorRed;
				}
				a.disabled {
					color: $shadeColorBorder;
				}
			}
		}
	}
            
          
!
999px
Loading ..................

Console