Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

HTML

              
                <!DOCTYPE html>
<html>
<head>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>

<div class="container">
  
  <h1>Lorem Ipsum</h1>
  
  <p>Lorem ipsum dolor sit amet, eos quem justo definitiones in, sit eu utinam admodum. His salutandi persequeris ei. Posse fierent no per, in quo nonumy aliquando. Ad usu tota cetero, an vidit falli has. An convenire urbanitas per.</p>

  <p>Sed te modus vitae inimicus. Lorem everti delenit vis ea, hendrerit theophrastus cu est, qui no ferri iracundia. Qui erant constituto adversarium id, pro amet molestie et. Deleniti signiferumque vim no, mutat copiosae erroribus no sea, usu ei etiam propriae. Appareat vituperata pro id, erat nonumy suavitate ut nam. Vim ullamcorper consequuntur eu, decore aliquip tacimates eu mei.</p>

  <p>Vim ut nostrum dolores, eum illud malorum ea. Mazim dolor reprimique id vix, quo duis nostro intellegebat no. Omnium salutandi sed no. Et nec periculis moderatius.</p>

  <p>Ne cum accumsan menandri. No his dignissim philosophia. Nam nostrud placerat ut. Tota timeam eloquentiam eum ut, eu eos assum accumsan, id nobis accusata usu. Cu eum dicant populo omittantur, per sapientem scripserit ea. Aeque vivendum signiferumque eum ut, vis ex ferri nostrud accusam, natum ignota everti his ei.</p>

  <p>Pri te modus dissentiet signiferumque. Vis no elit quas, choro electram voluptatum an qui, at quot oportere dignissim mea. Cu vis suas fabulas intellegebat, iuvaret explicari instructior eum ei. Persecuti neglegentur et pri. Has ut gloriatur reprehendunt, amet periculis torquatos ex per. Utinam oporteat nam ne. An mea agam cetero feugiat, sit in nibh essent accumsan.</p>
  
</div>
  
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console