css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <article>
  <h1>The best blog post ever</h1>
  <p>
    You can select text and share it on many social medias and services. It's compatible with Font Awesome (excluding for Buffer).
  </p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius assumenda commodi sit ipsum qui ad nisi eligendi, quod sequi, ducimus omnis tempore necessitatibus quam, sed.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda accusamus ut ipsa suscipit. A provident odit natus eum voluptates fugit tempora. Nisi tempore ab odio facilis repudiandae error, dolore fuga iure aperiam optio obcaecati perferendis at voluptatum quas accusantium iusto nulla enim sit! Fugiat distinctio mollitia, maxime, minima quo libero!</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat animi vero ex, sit reiciendis esse molestiae officiis possimus minima non velit dolore, quos eius cum culpa quibusdam, at deleniti totam quaerat qui magni id dolores necessitatibus harum. Non odio, numquam, commodi tenetur ullam officia neque et expedita earum veniam quisquam, accusamus sapiente facilis voluptas! Eaque, tenetur repellendus, accusantium distinctio totam in veniam. Beatae id tenetur possimus amet, dolor asperiores nisi fugit rem praesentium doloribus corporis ipsam magni officia porro, recusandae, excepturi nihil fuga! Deleniti, dolore nam nisi explicabo, totam est fugiat esse doloribus possimus placeat quia consequuntur sapiente id excepturi nesciunt, dicta, cupiditate at veniam molestias numquam aliquam minus ipsam. Pariatur doloribus reiciendis sit, doloremque dolores repellat veritatis, accusamus in quidem iure adipisci sint laboriosam, explicabo veniam minima commodi error tenetur optio hic sed maxime?</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eveniet, alias.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Soluta natus officia est deserunt modi, eaque beatae harum praesentium architecto dolorem ratione doloribus. Dignissimos quaerat dolore reprehenderit harum, voluptas ab voluptate.</p>
</article>
            
          
!
            
              body {
  background: #1D1D1D;
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
}

article {
  width: 90%;
  background: white;
  padding: 30px;
  margin: 15px auto;
  border-radius: 2px;
}

h1 {
  margin-top: 0;
}

@media (min-width: 922px) {
  article {
    width: 50%;
  }
}
            
          
!
            
              shareSelectedText('article', {
  buttons: [
    'twitter',
    'linkedin',
    'reddit'
  ]
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console