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.

            
              .container
  ul.nav
    li
     a.active(href='#home') Home
    li
     a(href='#news') News
    li
      a(href='#contact') Contact
    li
     a(href='#about') About

  .header
    h1.title
      | Lorem Ipsum
    p.lead
      | Lorem ipsum dolor, sit amet consectetur adipisicing elit.
    a.button(href="#") Lorem
    a.button(href="#") Ipsum    
  main
    article.card
      .title Dolor 
      .content
        p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis quis omnis illo! Quae minima excepturi quaerat officiis, tempora id commodi recusandae eius dolores quas culpa sunt atque. Eveniet, harum sit?
        .center
          img(src="https://clarkhacks.com/assets/images/banners/banner_08.jpg", alt="Banner")
        p
          | Lorem ipsum dolor sit amet consectetur adipisicing elit. Reprehenderit fugiat quaerat libero ipsum perferendis inventore adipisci asperiores cupiditate nesciunt accusamus dolorem, provident iure earum, ipsam ea ut corporis, placeat laudantium. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Sint accusamus voluptates iure in neque a unde necessitatibus saepe totam omnis nemo aperiam, eaque eius dolor id error accusantium labore! Sequi.
            
          
!
            
              body
  background: url(https://goo.gl/Yc4PzH)
  background-size: cover
  color: #efefef
  font-size: 1rem
  margin: 0
  width: 100%
  height: 100%

.center
  text-align: center

.nav
  list-style-type: none
  margin: 0
  padding: 0
  overflow: hidden
  li
    float: left
    a
      display: block
      color: white
      text-align: center
      padding: 14px 16px
      text-decoration: none
      &:hover
        background-color: #111

.container
  margin-left: auto
  margin-right: auto
  width: 90%
  font-family: "Open Sans"

.card
  margin-left: auto
  margin-right: auto
  color: #fff
  background-color: #333
  border-radius: 4px
  box-shadow: 3px 6px 10px 3px rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2)
  width: 80%
  margin-top: 2rem
  margin-bottom: 2rem
  padding: 2rem

article
  .title
    font-size: 2.5rem
  .content img
    width: 80%
    border-radius: 3px
    box-shadow: 3px 6px 10px 3px rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2)

.container .header
  text-align: center

p.lead
  font-size: 1rem

.button
  text-decoration: none
  font-size: 1.05rem
  color: #333
  background-color: #efefef
  padding: 5px 15px
  margin: 10px
  border-radius: 3px
  box-shadow: 3px 6px 10px 3px rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2)
  &:hover
    background-color: #d8d8d8
            
          
!
            
              // MIT License

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

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