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.

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

<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>
</div>
            
          
!
            
              marquee{
  padding-top: 1.5em;
  font-size: 2.5em;
}

.info{
  margin-top: 3em;
  font-size: 1.2em;
}

/* sans-serif */
.arial{
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.avant-garde{
  font-family: "Avant Garde",Avantgarde,"Century Gothic",CenturyGothic,AppleGothic,sans-serif;
}

.calibri{
  font-family: Calibri, Candara, Segoe, 'Segoe UI', Optima, Arial, sans-serif;
}

.candara{
  font-family: Candara,Calibri,Segoe,"Segoe UI",Optima,Arial,sans-serif;
}

.century-gothic{
  font-family: "Century Gothic",CenturyGothic,AppleGothic,sans-serif
}

.futura{
  font-family: Futura,"Trebuchet MS",Arial,sans-serif;
}

.helvetica{
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.verdana{
  font-family: Verdana,Geneva,sans-serif;
}

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

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

.rockwell{
  font-family: Rockwell,"Courier Bold",Courier,Georgia,Times,"Times New Roman",serif;
}

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

.courier-new{
  font-family: "Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace;
}

/* Fantasy */
.copperplate{
  font-family: Copperplate, 'Copperplate Gothic Light', fantasy;
}

.papyrus{
  font-family: Papyrus,fantasy;
}

/* Script */
.brush{
  font-family: 'Brush Script MT', cursive;
}










            
          
!
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