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.

            
              <article class="athelas">
  <div class="vh-100 dt w-100 tc bg-dark-gray white cover" style="background:url(https://images.pexels.com/photos/702139/pexels-photo-702139.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260">
    <div class="dtc v-mid">
      <header class="white-70">
        <h2 class="f6 fw1 ttu tracked mb2 lh-title">Issue One</h2>
        <h3 class="f6 fw1 lh-title">Fall MMXVIII</h3>
      </header>
      <h1 class="f1 f-headline-l fw1 i white-60">The Blueprint</h1>
      <blockquote class="ph0 mh0 measure f4 lh-copy center">
        <p class="fw1 white-70">
          It's a space for you to promote yourself.
        </p>
        <cite class="f6 ttu tracked fs-normal">Matt Henley</cite>
      </blockquote>
    </div>
  </div>
  <div class="center measure-wide f5 pv5 lh-copy ph2">
    <h1 class="f1 lh-title">The Newest Project</h1>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse auctor neque mi, quis porta dui tincidunt ac. Pellentesque eleifend ante non nunc tempus, ut dapibus massa commodo. Donec euismod urna sit amet porttitor iaculis. Nulla non mauris libero. Nunc id mattis ex. Aliquam auctor dui nisi, at auctor sapien mollis in. Cras viverra dapibus lacus eget congue. Suspendisse potenti..
    </p>
    <p>
      In porttitor laoreet nisl, eu rhoncus mi molestie sed. Integer et hendrerit nisi, a porta dui. Integer suscipit ante sed lorem tincidunt, ut hendrerit risus laoreet. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent tempus at nunc et interdum. In vestibulum ex nec lobortis hendrerit. Aliquam libero ante, interdum quis sodales nec, venenatis sed neque. Nullam sodales enim accumsan massa euismod, sit amet tincidunt neque porta. Nulla aliquet leo non nisi tempor placerat. Etiam tempor, ex eget mattis porta, nulla ligula tempus velit, vel blandit massa sem sed eros. Suspendisse iaculis efficitur pellentesque. Mauris non facilisis purus.
    </p>
    <p>
      Phasellus sit amet nisi sodales, luctus leo nec, ultrices purus. Aliquam in nunc mi. Aliquam erat volutpat. Praesent faucibus volutpat odio sit amet malesuada. Vivamus posuere mi imperdiet maximus cursus. Morbi mattis, orci vel pretium imperdiet, felis felis eleifend felis, sed hendrerit dui ante a lorem. Vivamus pretium scelerisque leo eget dapibus. Proin vel nisl mauris. Nullam sed velit turpis.
    </p>
    <p>
      Quisque egestas finibus urna. Praesent sit amet libero hendrerit, tristique augue id, posuere nisl. Praesent molestie risus in dignissim aliquam. Nulla hendrerit ante vel ipsum facilisis porttitor. Vestibulum eu est feugiat, blandit lorem nec, vehicula quam. Pellentesque in lacus in orci vehicula rutrum et eu lectus. Curabitur eu ornare enim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec ornare egestas turpis sit amet cursus. Cras nec nisi nec ex maximus fermentum. Nulla gravida odio luctus elit pretium rutrum. Curabitur sollicitudin nisi et magna egestas, quis ultrices tellus bibendum. Phasellus lobortis nulla vel nisl luctus, at scelerisque diam vulputate. Nunc libero est, rutrum non sem luctus, vestibulum posuere magna. Praesent a tempor arcu, vitae vehicula neque.
    </p>
    <p>
      Nam consequat eget nibh et lacinia. Ut facilisis non nisi a mollis. Vestibulum cursus auctor augue a ultricies. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Fusce efficitur, purus in blandit eleifend, sapien velit consectetur lacus, ut rhoncus dui ligula sed quam. Suspendisse sit amet diam tempus, iaculis nisi ac, sollicitudin sem. Ut dictum condimentum lectus, a lacinia leo commodo eu. Nullam porta turpis neque, suscipit euismod ante commodo nec. Integer dictum lacus nibh, quis porta lorem faucibus vel. Donec risus enim, mollis nec nisl et, dictum finibus augue. Duis sit amet velit in nisl iaculis dapibus. Nunc ut purus nec felis suscipit faucibus. Suspendisse non tortor nulla. Nullam non dignissim lectus, sit amet porttitor ipsum.
    </p>
  </div>
</article>


            
          
!
            
              .cover {
    background-size: cover !important;
}

.dt {
    display: table;
}

.dtc {
    display: table-cell;
}

.athelas {
    font-family: athelas, georgia, serif;
}

.i {
    font-style: italic;
}

.fs-normal {
    font-style: normal;
}

.fw1 {
    font-weight: 100;
}

.vh-100 {
    height: 100vh;
}

.tracked {
    letter-spacing: .1em;
}

.lh-title {
    line-height: 1.25;
}

.lh-copy {
    line-height: 1.5;
}

.w-100 {
    width: 100%;
}

.white-70 {
    color: rgba(255, 255, 255, .7);
}

.white-60 {
    color: rgba(255, 255, 255, .6);
}

.white {
    color: #fff;
}

.bg-dark-gray {
    background-color: #333;
}

.pv5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.ph0 {
    padding-left: 0;
    padding-right: 0;
}

.ph2 {
    padding-left: .5rem;
    padding-right: .5rem;
}

.mb2 {
    margin-bottom: .5rem;
}

.mh0 {
    margin-left: 0;
    margin-right: 0;
}

.tc {
    text-align: center;
}

.ttu {
    text-transform: uppercase;
}

.f1 {
    font-size: 3rem;
}

.f4 {
    font-size: 1.25rem;
}

.f5 {
    font-size: 1rem;
}

.f6 {
    font-size: .875rem;
}

.measure {
    max-width: 30em;
}

.measure-wide {
    max-width: 34em;
}

.center {
    margin-right: auto;
    margin-left: auto;
}

.v-mid {
    vertical-align: middle;
}

@media screen and (min-width: 60em) {
    .f-headline-l {
        font-size: 6rem;
    }
}

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

Console