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

              
                <div class="container">
  <h1> Single Column Layout </h1>
<p>
    Bacon ipsum dolor amet flank kevin ham corned beef shank strip steak. Shoulder salami strip steak cupim. Meatloaf sirloin alcatra fatback jerky. Kielbasa frankfurter shankle, picanha brisket tri-tip swine burgdoggen hamburger turducken boudin tenderloin landjaeger. Cupim venison shank burgdoggen tri-tip alcatra kielbasa strip steak sirloin frankfurter pig kevin drumstick.

Chuck fatback shoulder, flank tail ball tip salami shankle porchetta. Spare ribs shoulder leberkas swine sirloin, cow fatback jowl. Hamburger tail venison salami, meatloaf bresaola prosciutto boudin. Tri-tip bacon pork chop alcatra chicken pancetta drumstick. Pork loin shank sirloin jerky pastrami drumstick ground round ham ham hock short loin cupim chuck pancetta pork.
  </p><p>
Jerky ground round meatball tongue andouille. Pastrami cupim spare ribs biltong chuck pig buffalo, turducken bresaola pork loin capicola ribeye tail beef frankfurter. Salami kielbasa landjaeger, swine filet mignon meatloaf kevin brisket pancetta picanha ribeye ground round fatback. Ham picanha chuck, drumstick strip steak pork belly porchetta brisket. Turducken pork loin kielbasa salami fatback.
</p><p>
Ham hock spare ribs corned beef jerky meatball shoulder beef, tenderloin venison beef ribs doner. Doner turducken jerky, t-bone jowl bacon pork loin capicola ground round beef ribs short ribs. Strip steak beef andouille, venison ribeye capicola buffalo. Meatball frankfurter salami, beef ribs fatback ground round biltong shoulder jerky porchetta corned beef swine ribeye. Tri-tip tail picanha prosciutto chuck filet mignon. Short loin brisket kevin, boudin meatloaf ball tip buffalo shankle.
</p>
</div>
              
            
!

CSS

              
                // Styling
body {
  font-family: sans-serif;
  background: #252525;
  margin: 1rem 0;
}

.container {
  background: white;
  padding: 1rem;
  box-sizing: border-box;
  border-radius: 0.25rem;
}

// Layout
.container {
  max-width: 40rem;
  margin: 0 auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console