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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


                <div class="bg-blue pb-6">
  <header class="container-lg mx-auto p-responsive d-flex flex-items-center flex-wrap flex-md-nowrap pt-3 pb-6">
      <a class="text-white mr-3" href="">Docs</a>
      <a class="text-white mr-3" href="">Changelog</a>
      <a class="text-white mr-3" href="">Storybook</a>
    <div class="container-lg mx-auto text-white py-6 p-responsive">
    <h1 class="f00-light">Primer CSS CodePen template</h1>
    <p class="f3 mb-4">Create pens with GitHub's design system</p>
    <a class="btn btn-transparent link-hover-blue text-normal py-2 mb-6 f4" href="">Install Primer via npm</a>

<div class="container-lg mx-auto py-6 p-responsive">
  <div class="markdown-body">
    <ul class="f3 py-4">
      <li>This template includes built CSS from Primer Core, Product, and Marketing packages.</li>
      <li>The Preprocessor is set to SCSS so that you can write new Sass on top of Primer.</li>
      <li>The prefixer is set to Autoprefixer to match's prefixer.</li>