Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div class="row">
  <p class="body-text body-text--lg body-text--bold heading">Hierarchy</p>
  <p class="body-text body-text--lg body-text--bold heading">Element/Class</p>
  <p class="body-text body-text--lg body-text--bold heading">Properties</p>
  <p class="body-text body-text--lg body-text--bold heading">Usage</p>
<div class="row">
  <h1>Heading 1</h1>
  <p class="body-text body-text--md body-text--semibold">h1</p>
  <p class="body-text body-text--md body-text--semibold">Balboa Light, 30px</p>
  <p class="group body-text body-text--md body-text--semibold"><span>Product title (once on a page)</span><span>Illustration headline</span></p>

<div class="row">
  <p class="group"><span class="body-text body-text--md body-text--bold">Body Text - Medium</span><span class="body-text body-text--md body-text--semibold">Body Text - Medium</span><span class="body-text body-text--md body-text--regular">Body Text - Medium</span></p>
  <p class="group body-text body-text--md body-text--semibold"><span>body-text body-text--md body-text--bold</span><span>body-text body-text--md body-text--semibold</span><span>body-text body-text--md body-text--regular</span></p>
  <p class="body-text body-text--md body-text--semibold">Proxima Nova Bold, Semibold, Regular, 16px</p>
  <p class="body-text body-text--md body-text--semibold">Card title</p>

<div class="row">
  <p class="stat-text stat-text--xl">Stat Text 1</p>
  <p class="body-text body-text--md body-text--semibold">stat-text stat-text--xl</p>
  <p class="body-text body-text--md body-text--semibold">Balboa Light, 48px</p>
  <p class="body-text body-text--md body-text--semibold">Reporting numbers</p>


                p {
  margin: 0;
.row {
  align-items: center;
  display: grid;
  grid-column-gap: 1rem;
  grid-template-columns: 1.3fr 1.7fr 1fr 1fr;
  margin: 1rem 0;
.group {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
.heading {
  font-size: 24px;
  text-decoration: underline;
  margin: 0 0 1rem;

h1 {
  font-size: calc(2rem - 2px);
  font-family: "balboa", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
.body-text {
  font-family: "proxima-nova", sans-serif;
.stat-text {
  font-family: "balboa", sans-serif;
  font-weight: 500;  
body {
  color: #333;
  font-size: 16px;
  padding: 1rem 2rem;
.body-text--lg {
  font-size: calc(1rem + 4px);
.body-text--md {
  font-size: 1rem;
.body-text--bold {
  font-weight: 700;
.body-text--semibold {
  font-weight: 600;
.stat-text--xl {
  font-size: 4rem;