cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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.

  <p>Perfection is achieved, not when there is <strong>nothing more to add</strong>, but when there is <strong>nothing left to take away</strong>.</p>
<cite>Antoine de Saint-Exupery</cite>

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

@import 'bourbon';

@mixin border-cutout($center-width, $color) {
  @include border-image(
      $color 0, 
      $color 50% - ($center-width / 2),
      transparent 50% - ($center-width / 2),
      transparent 50% + ($center-width / 2),
      $color 50% + ($center-width / 2),
      $color 100%
  border-top: none;
  border-left: none;
  border-right: none;
  border-image-slice: 1;
  border-image-repeat: stretch;

html {
  background-color: #001;
  background-image: url(https://unsplash.it/1000/?image=733);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  color: #222;
  font-family: 'Source Sans Pro', sans-serif;
  text-shadow: 0 0 5px #fff;

body {
  font-size: 1.4em;
  filter: none;
  margin: 0 25%;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 50%;

strong {
  font-weight: bolder;

blockquote {
  font-weight: 300;
  padding: 0;
  text-align: justify;
  &::before, &::after {
    @include border-cutout(6, #555);
    border-bottom: 3px solid;
    display: block;
    font-size: 2em;
    font-weight: normal;
    height: .5em;
    margin-bottom: .5em;
    text-align: center;
  &::before {
    content: '“';
  &::after {
    content: '”';
    height: .42em;
  p {
    margin-bottom: 0;

cite {
  width: 100%;
  display: block;
  font-weight: 600;
  text-align: center;

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.


Loading ..................