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.

            
              <section class="container">
    <article>
        <h3>Appreciation</h3>
        <h1>Nothing Compares 2 Him</h1>


        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse in sem nibh. Pellentesque ac eros aliquet lorem dictum ultricies. Etiam nibh nulla, faucibus quis lobortis eget, pretium eu justo. Quisque massa nibh, dapibus quis ultrices quis, malesuada congue odio. Aliquam sodales tempus vehicula. Vestibulum at urna bibendum, dignissim nunc feugiat, laoreet magna. Suspendisse tincidunt luctus odio eu semper. In eget arcu tellus. Donec urna nibh, fringilla nec eros molestie, dignissim dignissim sem. Donec vel nunc sed turpis ornare rutrum vel ut ex. Mauris sollicitudin risus nec augue fringilla, eget pulvinar ex iaculis. Nulla facilisi. Proin elementum turpis risus, at laoreet velit tempor nec. Curabitur orci orci, porttitor nec leo eu, volutpat tempus dui. Donec varius commodo erat, vel pretium diam dictum id.</p>

        <p>Morbi cursus sapien eros, in vulputate tortor eleifend dictum. Nam elit tortor, porta ac tortor ut, semper egestas mauris. Maecenas tincidunt ante a ex consectetur, ut mattis urna faucibus. Cras ullamcorper diam quis augue scelerisque, at gravida nibh tempus. Suspendisse eget est magna. Nunc ligula eros, interdum ultricies hendrerit sed, pellentesque sit amet elit. Sed luctus eget risus at interdum. Donec ullamcorper posuere mattis. Morbi mattis augue vel faucibus posuere. Nunc at orci augue. Sed orci velit, facilisis in interdum at, congue eget sapien.</p>

    </article>

    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/161359/prince.png" alt="" />

</section>
            
          
!
            
              
article {
    position: absolute;
    width: 25vw;
    text-align: justify;
    font-size: 13px;
    top: 30px;
    left: 15vw;
    

    h3 {
        text-align: center;
        margin: 0;
        text-transform: uppercase;
        font-size: 13px;
    }
    h1 {
        margin: 0 0 10px;
        text-align: center;
        font-size: 3.5em;
        line-height: 1em;
    }
    p {
        text-indent: 20px;
        margin: 0px;
    }
    
}

img {
    position: fixed;
    bottom: 0;
    left: 45vw;
    width: 40vw;
}
            
          
!
            
              /*

15 minute design for a response to  https://twitter.com/roncharles/status/723520050636963841



*/
            
          
!
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