123

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.

            
                  <header>
      <h1>
        Bacon goooood
      </h1>
    </header>

    <main>

        <nav>
          <ul>
            <li><a href="#">A Link</a></li>
            <li><a href="#">A Link</a></li>
            <li><a href="#">A Link</a></li>
            <li><a href="#">A Link</a></li>
            <li><a href="#">A Link</a></li>
            <li><a href="#">A Link</a></li>
          </ul>
        </nav>

        <article>
          <h1>Bacon</h1>
          <p>
            Bacon ipsum dolor sit amet tail tenderloin shankle, strip steak bresaola filet mignon salami ribeye. Jowl shankle ball tip pork loin andouille. Jerky ball tip capicola, chuck brisket short ribs kielbasa. Short ribs strip steak pastrami, flank jerky meatball prosciutto fatback ball tip. Turkey tongue filet mignon flank hamburger prosciutto chuck sausage tenderloin ribeye. Pork belly pig corned beef drumstick pastrami jowl.
          </p>
          <p>
            Jowl rump pork belly pork pig, chuck ham hock fatback strip steak ground round turkey. Venison cow fatback pork shoulder. Turkey tenderloin tail drumstick. Beef ribs fatback ribeye tri-tip biltong hamburger sirloin beef. Tri-tip pig meatball, hamburger doner prosciutto shank pancetta pastrami leberkas. Pork belly bacon ham short ribs pork chop tenderloin fatback jowl salami hamburger beef.
          </p>
          <p>
            Tail sausage rump corned beef ball tip chicken bresaola drumstick ham short loin. Chuck corned beef sausage, strip steak spare ribs t-bone pig prosciutto hamburger boudin pastrami shankle capicola leberkas pork. Hamburger ham short ribs leberkas, spare ribs porchetta meatloaf tongue venison strip steak boudin frankfurter bresaola tri-tip. Tail spare ribs venison, shankle short loin sausage ribeye.
          </p>
          <p>
            Frankfurter shankle filet mignon pork boudin. Beef ribs jerky andouille ribeye. Tongue tri-tip pork strip steak bacon doner. Hamburger pork loin bresaola sausage pork, pancetta chuck andouille pig ball tip short ribs landjaeger turkey. Shoulder andouille rump kevin tenderloin brisket capicola leberkas ham hock tri-tip pastrami fatback. Short loin biltong beef ribs, swine drumstick jerky ball tip chuck porchetta filet mignon turducken capicola pork chop. Kevin biltong venison, pastrami fatback corned beef meatball pork loin swine beef ribs brisket pig filet mignon.
          </p>
          <p>
            Chuck shoulder flank, t-bone beef pork loin bresaola venison tenderloin pork chop pancetta. Pig jerky meatloaf corned beef andouille, fatback ground round pork chop pastrami cow meatball bresaola spare ribs kielbasa. Corned beef chuck jowl pork belly, ribeye andouille strip steak pancetta turducken. Fatback ball tip landjaeger, biltong ribeye jowl rump turkey t-bone pork belly short loin ground round andouille jerky. Spare ribs frankfurter pastrami, sirloin andouille tongue tenderloin tail strip steak meatloaf porchetta brisket fatback. Tenderloin ball tip filet mignon tail meatball pork chop sirloin drumstick ham hock.
          </p>
        </article>

        <aside>
            Sidebar
        </aside>

    </main>

    <footer>
        Something about bacon :-)
    </footer>
            
          
!
            
              header,
nav,
article,
aside,
footer {
  border: 1px solid #000;
  padding: 5px;
}

html,
body {
    height: 100%;
    margin: 0;
}

h1,
p {
  margin: 10px 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
  margin: 10px 5px;
}

body {
    font-family: Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

    min-width: 1000px;
}

header {
    height: 80px;
}

main {
    flex: auto;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

main > nav {
    width: 200px;
}

main > article {
    flex: auto;
    overflow-y: scroll;
}

main > aside {
    width: 100px;
}

footer {
    height: 25px;
}


            
          
!
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.

Console