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.

            
              <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse nec lacus vestibulum, facilisis mauris id, lacinia dolor. Quisque vitae convallis libero. Curabitur turpis dolor, fermentum vitae quam a, feugiat lacinia nunc. Vivamus lacus urna, pharetra nec fringilla vitae, facilisis sollicitudin lectus. Nam lobortis dolor eu turpis efficitur viverra. Nulla mattis pellentesque ex et sollicitudin. Morbi placerat convallis nunc, nec aliquam felis viverra quis. Vivamus id neque imperdiet felis fringilla condimentum in quis lacus. Maecenas erat orci, consectetur at fermentum convallis, pulvinar mollis nulla. Sed mollis orci non massa mollis euismod. Vivamus nisi turpis, volutpat in vestibulum a, consequat ut nulla. Sed porta metus non nisi facilisis sollicitudin.

Etiam facilisis dui id ultricies luctus. Nunc lorem justo, congue eu lacus a, elementum tempus nisi. Phasellus iaculis in quam in volutpat. Suspendisse pellentesque nisi sit amet ullamcorper condimentum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent viverra eget neque sit amet dignissim. Aenean at varius est, eget consectetur lectus. Mauris viverra nunc sed risus dignissim ullamcorper. Duis ut sapien sit amet felis elementum tristique sit amet a ipsum. Proin fermentum neque lorem, pretium tempus ante ullamcorper ac.

Sed et rutrum orci, eu tempor velit. Fusce erat nulla, ullamcorper non tincidunt et, interdum ut nibh. Nunc aliquam, nibh sit amet dignissim laoreet, risus tellus cursus eros, in tincidunt justo sapien non tellus. Nulla suscipit efficitur risus, vitae molestie sapien commodo id. Integer commodo, lorem ultricies sodales pharetra, nibh erat finibus magna, ut eleifend sapien purus eget nunc. Nam id nisi urna. Suspendisse eu efficitur lectus. Suspendisse porttitor egestas leo, vitae interdum lacus volutpat congue. Maecenas quis maximus neque. Quisque eget gravida sem. Proin ac lobortis odio, non condimentum ante. Cras eros velit, egestas ac ipsum vitae, suscipit aliquam urna. Integer lobortis elit nulla, a lacinia erat tempor sit amet.</div>
            
          
!
            
              div {
  width: 500px;
  height: 200px;
  overflow: hidden;
  resize: vertical;
  border : 1px solid red;
}
            
          
!
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