Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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

              
                <div class="section u-color-white" style="background-color:#000">
  <div class="awesome content">
    <h1 class="awesome title">
      evasion
    </h1>
    <h3 class="incredible subtitle">it's comming</h3>
    <br />
    <button class="hilarious button u-color-white" onclick="$.fn.pagepiling.moveSectionDown();">KNOW MORE</button>
  </div>
</div>
<div class="section">
  <div class="awesome content">
    <h1 class="awesome title small">
      @fershopls
    </h1>
    <h3 class="incredible subtitle">think different</h3>
    <a target="_black" href="https://codepen.io/fershopls" class="hilarious button">
      Other demos
    </a>
  </div>
</div>
              
            
!

CSS

              
                html,body
  height 100%
body
  background-color #f7f7f7
.u-color-white
  color white
.awesome.content
  text-align center
.awesome.title, .incredible.subtitle
  font-size 3.5em
  font-weight bold
  letter-spacing (@font-size/7)
  text-transform uppercase
  margin 0
  &.small
    letter-spacing 0.1em
.incredible.subtitle
  margin 20px 0
  font-size (2.8/2)em
  letter-spacing (@font-size/7)
  font-weight normal
  opacity 0.8
.hilarious.button
  transition all 0.4s linear
  box-shadow inset 0 0 0 0 #222
  &:hover
    box-shadow inset 0 100px 0 0 #222
    color white
  &.u-color-white
    color #fff
    box-shadow inset 0 0 0 0 white
    &:hover
      box-shadow inset 0 100px 0 0 white
      color #333
              
            
!

JS

              
                $('body').pagepiling();


$.firefly({ color: 'rgba(255,255,255,0.5)', minPixel: 1, maxPixel: 3, total : 65, on:".section.u-color-white"});
              
            
!
999px

Console