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

  <span class='arial'>
    Call me Ishmael. 
  <span class="copperplate">
    Some years ago- 
  <span class="calibri">
    never mind
  <span class="goudy">
    how long 
  <span class="palatino">
  <span class="brush">    
    having little
  <span class="papyrus">    
    or no money
  <span class="andalemono">    
    in my purse,
  <span class="rockwell">    
    and nothing
  <span class="avant-garde">    
    particular to
  <span class="candara">
    interest me 
  <span class="century-gothic">
    on shore,
   I thought 
  <span class="futura">
    I would sail
  <span class="helvetica">
    about a little 
  <span class="baskerville">
    and see the
  <span class="courier-new">
    watery part of 
  <span class="verdana">
    the world.

<div class='info'>
  Learn more about Websafe Fonts <a href='http://www.cssfontstack.com/'> cssfontstack.com </a> and this <a href="https://css-tricks.com/snippets/css/using-font-face/"> excellent blog post</a>
  padding-top: 1.5em;
  font-size: 2.5em;

  margin-top: 3em;
  font-size: 1.2em;

/* sans-serif */
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;

  font-family: "Avant Garde",Avantgarde,"Century Gothic",CenturyGothic,AppleGothic,sans-serif;

  font-family: Calibri, Candara, Segoe, 'Segoe UI', Optima, Arial, sans-serif;

  font-family: Candara,Calibri,Segoe,"Segoe UI",Optima,Arial,sans-serif;

  font-family: "Century Gothic",CenturyGothic,AppleGothic,sans-serif

  font-family: Futura,"Trebuchet MS",Arial,sans-serif;

  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;

  font-family: Verdana,Geneva,sans-serif;

/* Serif */
.palatino {
  font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif;

  font-family: 'Goudy Old Style', Garamond, 'Big Caslon', 'Times New Roman', serif;

  font-family: Rockwell,"Courier Bold",Courier,Georgia,Times,"Times New Roman",serif;

  font-family: Baskerville,"Baskerville Old Face","Hoefler Text",Garamond,"Times New Roman",serif;
/* Monospaced */
  font-family: "Andale Mono",AndaleMono,monospace

  font-family: "Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace;

/* Fantasy */
  font-family: Copperplate, 'Copperplate Gothic Light', fantasy;

  font-family: Papyrus,fantasy;

/* Script */
  font-family: 'Brush Script MT', cursive;


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 ..................