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.

            
              html
  body
    main
      .content
        h1.title
          | Title
          br
          | --
        article
          p
            | Lorem ipsum dolor, sit amet consectetur adipisicing elit. Asperiores exercitationem ullam eveniet deserunt? Debitis itaque corrupti molestiae cumque accusantium nostrum omnis, fugiat ea voluptatibus! Quis vitae pariatur nostrum fugiat sit.
          h3 Subtitle
          p
            | Lorem ipsum dolor sit amet consectetur, adipisicing elit. Et sunt, praesentium illum dolore sapiente quisquam placeat saepe fuga numquam blanditiis. Officiis laboriosam eveniet aperiam ducimus voluptatum nisi dolorum, in obcaecati?
          span.code var a = 3;
          p Lorem ipsum dolor sit amet consectetur adipisicing elit.
          img(src='https://clarkhacks.com/assets/images/old/logo.png', alt='')
        .footer
          hr
          a(href='#') Lorem
          a(href='#') Dolor
          a(href='#') Elit

            
          
!
            
              html
  -webkit-font-smoothing: antialiased
  -moz-osx-font-smoothing: grayscale

body
  padding: 0
  margin: 0
  font-family: "Share Tech Mono", Monospace, Courier
  font-weight: 400
  font-size: 17px
  color: #c8c8c8
  height: 100%
  background: #222

pre
  padding: 0
  margin: 0 0 50px 0

ul
  padding: 0
  li
    margin: 15px 0
    padding: 0
    list-style: none

main
  max-width: 100%
  min-height: 100%
  margin: auto
  padding: 2rem 3rem
  .content
    width: 100%
    span
      padding: 0
      margin: 0 10px 0 0
    p
      padding: 0
      margin: 10px 0 30px 0
    img
      width: 100%
      max-width: 20rem
      margin-bottom: 1rem
    a
      text-decoration: none
      color: #fff
      &:hover
        color: #fff
        font-weight: 500
        text-decoration: underline

.header, .footer
  width: 100%
  overflow: hidden
  letter-spacing: 0px
  a
    margin: 0 1rem
article
  max-width: 730px
  margin-bottom: 1rem
  margin-top: -1rem
  line-height: 28px
  h3
    display: inline-block
    margin: 20px 0
  .code
    max-width: 730px
    background: #1f1f1f
    padding: 1rem
    margin: 10px 0 30px 0
    display: inline-block
@media only screen and (max-width: 500px)
  main
    padding: 1rem
            
          
!
            
              // MIT License

// Copyright (c) [2017] [Clark Weckman]

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
            
          
!
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