Pen Settings



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


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


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.


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.


  <main class="grid">
    <header class="header">
      <h1>Use lap as chair</h1>
    <img class="hero" src="" alt="">
  <section class="content">
    <p>Sit in box being gorgeous with belly side up roll on the floor purring your whiskers off
Cat ipsum dolor sit amet, meow meow mama. I'm going to lap some water out of my master's cup meow cat snacks lick the curtain just to be annoying.</p>
    <p>Fight an alligator and win. Kitten is playing with dead mouse your pillow is now my pet bed so cat cat moo moo lick ears lick paws waffles, drink from the toilet yet show belly. Cat playing a fiddle in hey diddle diddle? lasers are tiny mice meow for food, then when human fills food dish, take a few bites of food and continue meowing cats go for world domination.</p>


                body {
  margin: 0;
  font-family: "Helvetica";

:root {
  --container-width: 1024px;
  --fluid-margin: calc(50vw - var(--container-width) / 2)

.grid {
  display: grid;
  grid-template-columns: var(--fluid-margin) repeat(12, 1fr) var(--fluid-margin);
  column-gap: 1rem;

.header {
  grid-column: 2 / span 12;

.hero {
  width: 100%;
  height: auto;
  grid-column: 1 / span 14;

.content {
  grid-column: 2 / span 12;