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.

              $header-height: 40px;
$nav-width: 80px;

.faux-wrapper {
  background: transparent;

  &:before {
    content: '';
    position: fixed;
    top: $header-height;
    left: 0;
    width: calc((#{100%} - #{$nav-width}) * 0.75 + #{$nav-width});
    height: 100%;
    /* Black navigation bar + white content thereafter */
    background: linear-gradient(90deg, #2B3945 80px, white 80px);
    border-right: 1px #CCC solid;
    z-index: -1;

  &:after {
    content: '';
    position: absolute;
    top: 0;
    left: $nav-width;
    right: 0;
    z-index: -1;
    height: 157px;
    /* white page title section followed by 1px border, a tab menu and again a 1px border */
    background: linear-gradient(180deg, #e8ebef  40px, white 40px, white 120px, #C3CAD3 121px, #E8EBEF 122px, #e8ebef 156px, #C3CAD3 157px);
Loading ..................