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 id="notebook-paper">
    <h1>Fancy Title</h1>
  <div id="content">
    <div class="hipsum"><p>Intelligentsia lo-fi pug Austin.  Shabby chic asymmetrical jean shorts, twee stumptown bespoke art party keffiyeh High Life PBR 90's mumblecore.  Meggings Echo Park narwhal you probably haven't heard of them, viral locavore Pinterest keytar.  Master cleanse Neutra Marfa cornhole roof party, seitan ennui Kickstarter fingerstache.  Ethical tofu retro, paleo pork belly hashtag deep v flexitarian meh High Life Godard occupy lo-fi.  Hella pour-over Williamsburg post-ironic narwhal Kickstarter, tofu single-origin coffee vinyl irony cray jean shorts.  Cray banjo Thundercats, asymmetrical pickled paleo butcher cliche disrupt Odd Future photo booth.</p><p>Forage selfies Shoreditch farm-to-table swag.  YOLO Vice organic, Brooklyn meggings banh mi art party.  Occupy flexitarian freegan mustache shabby chic hoodie normcore.  Vinyl chia gastropub, asymmetrical fingerstache sartorial ennui aesthetic hella farm-to-table Blue Bottle.  Raw denim cliche semiotics, letterpress bicycle rights cornhole art party YOLO yr Shoreditch leggings brunch fap crucifix.  Gentrify mustache leggings ethnic roof party, shabby chic viral Wes Anderson 3 wolf moon Tonx ugh sustainable photo booth master cleanse meggings.  Shoreditch before they sold out direct trade  hoodie, leggings Portland artisan art party.</p><p>VHS jean shorts Neutra gastropub cornhole, mumblecore Wes Anderson typewriter Godard bitters 3 wolf moon Odd Future tofu tousled plaid.  Tonx Etsy tofu, distillery retro blog Blue Bottle ugh kale chips flexitarian Odd Future sartorial Banksy bitters.  Messenger bag XOXO sustainable viral semiotics Williamsburg, whatever gastropub hashtag master cleanse.  Fap Williamsburg Blue Bottle, yr flannel biodiesel XOXO YOLO freegan pour-over farm-to-table leggings.  Ethical Thundercats umami gluten-free fingerstache.  DIY Etsy disrupt PBR.  Shabby chic sriracha synth Pinterest Marfa aesthetic dreamcatcher salvia, trust fund cliche Brooklyn.</p><p>Master cleanse Neutra Marfa cornhole roof party, seitan ennui Kickstarter fingerstache.  Ethical tofu retro, paleo.</p>
              * {

body {
  background: #f1f1f1;
  font-family:helvetica neue, helvetica, arial, sans-serif;

#notebook-paper {
  background: linear-gradient(to bottom,white 29px,#00b0d7 1px);
  margin:50px auto;
  background-size: 100% 30px;
  -webkit-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
  -moz-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
  -ms-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
  -o-box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
  box-shadow:3px 3px 3px rgba(0,0,0,.2),0px 0px 6px rgba(0,0,0,.2);
  &:before {
  header {
    h1 {
      padding:127px 20px 0 160px;
  #content {
    p {
      margin:0 0 30px 0;
🕑 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 ..................