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.


                <ul class="list">
    <h3>Item One</h3>
    <p>Celery quandong swiss chard chicory earthnut pea potato. Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori.</p>
    <h3>Item Two</h3>
    <p>Grape wattle seed kombu beetroot horseradish carrot squash brussels sprout chard.</p>
    <h3>Item Three</h3>
    <p>Pea horseradish azuki bean lettuce avocado asparagus okra. Kohlrabi radish okra azuki bean corn fava bean mustard tigernut jícama green bean celtuce collard greens avocado quandong fennel gumbo black-eyed pea.</p>
    <h3>Item Four</h3>
    <p>Beetroot water spinach okra water chestnut ricebean pea catsear courgette summer purslane.</p>
    <h3>Item Five</h3>
    <p>Dandelion zucchini burdock yarrow chickpea dandelion sorrel courgette turnip greens tigernut soybean radish artichoke wattle seed endive groundnut broccoli arugula.</p>


                * {
  box-sizing: border-box;

body {
  background-color: #fff;
  color: #333;
  font: 1.2em / 1.5 Helvetica Neue, Helvetica, Arial, sans-serif;

.list {
  border: 5px solid rgb(75, 70, 74);
  margin: 2em 4em;
  padding: 0;
  list-style-type: none;
  height: 400px;
  width: 250px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rebeccapurple hotpink;

.list h3 {
  background-color: rebeccapurple;
  margin: 0;
  padding: 10px;
  color: #fff;

.list p {
  margin: 10px;