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.


                <!--Note that the dialogue box will not work on Safari (whether mobile or desktop). The experience is best viewed on Google Chrome.-->

  <link href="" rel="stylesheet" />

    <i class="nes-logo"></i>
    <h1>8-Bit Adventure</h1>

      <div class="nes-field">
        <label for="name_field">What is your name, lone traveler?</label>
        <input type="text" id="name_field" class="nes-input">
      <button type="button" class="nes-btn is-primary" onclick="document.getElementById('dialog-default').showModal();">
        View Mission
      <dialog class="nes-dialog" id="dialog-default">
        <form method="dialog">
          <i class="nes-mario"></i>
          <p class="title">Your task:</p>
          <p>The princess is in another castle!</p>
          <menu class="dialog-menu">
            <button class="nes-btn">I don't-a care-a!</button>
            <button class="nes-btn is-primary">Mama Mia! Let's a-go!</button>
    <h6> Check out this fun CSS framework <a href="" target="blank">here</a> for more awesome features!</h6>


                @import url("");

body {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    rgba(255, 255, 255, 1) 36%,
    rgba(203, 0, 255, 1) 97%
  background-attachment: fixed;

div {
  text-align: center;
  padding: 60px;
  width: 300px;