Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Auto Save

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

              
                <article itemscope itemtype="http://schema.org/BlogPosting">

  <header>

    <span itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Company Name">
      <span itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
        <meta itemprop="url" content="logo.jpg">
      </span>
    </span>

    <h1 itemprop="headline">
      My Blog Post Title
    </h1>
    <p itemprop="description">A little extra on what this post is about</p>
    <ul>
      <li>
        Written by
        <span itemprop="author" itemscope itemtype="http://schema.org/Person">
          <span itemprop="name">Scott</span>
        </span>
      </li>
      <li>
        Posted on
        <time datetime="2020-01-09" itemprop="dateCreated pubdate datePublished">January 9th, 2020</time>
      </li>
    </ul>
  </header>

  <img src="https://burst.shopifycdn.com/photos/half-of-an-avocado.jpg?width=500&format=pjpg&exif=0&iptc=0" alt="" itemprop="image">

  <div itemprop="articleBody">
    <p>Lorem ipsum <a href="#">dolor sit ame</a>, consectetur adipiscing elit. Donec a quam rhoncus, tincidunt ipsum non, ultricies augue. Sed a laoreet erat. Suspendisse hendrerit imperdiet eros. Aenean dictum mi ac diam dignissim, non hendrerit urna laoreet.</p>
    <p>Praesent pharetra purus nisi, ac suscipit velit ullamcorper id. Phasellus egestas, massa ut rutrum commodo, ante mauris consectetur sapien, at dapibus leo turpis sit amet sem. Aenean sagittis metus id velit mattis, eget tristique lectus vehicula.</p>
    <p>Phasellus rutrum sem in lorem rhoncus tincidunt. Aliquam libero nulla, ultricies a diam id, pulvinar ornare est. Etiam et nisl eget purus vestibulum faucibus eget eu velit. Aenean libero velit, elementum eu tellus non, bibendum sodales lectus. Nullaut sem vitae mi finibus commodo.</p>
  </div>
</article>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console