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 includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                .waff
  - for (i=0;i<15;i++)
    .square
.shadow
.fix-preview
.contact contact@#[strong wvffle].net
              
            
!

CSS

              
                @import 'nib'

size = 50px
offset = 7px
width = (size + offset) * 5
height = (size + offset) * 3

shadow = #F79329
base = #FBB21B
inner = #FCC21B

html, body
  height 100%
  display flex
  justify-content center
  align-items center
  flex-direction column
h1
  color base
  text-shadow 3px 3px 0 shadow
  font-size 3em
  margin 0 0 88px
.waff
  animation float 3s infinite
  display flex
  width width
  height height
  flex-wrap wrap
  background base
  position relative
  border-radius offset
  padding offset 0 0 offset
  //box-shadow offset offset 0 shadow
  transform rotateZ(-45deg)
  box-shadow offset * -1 - 9 offset + 9 0 shadow
  &::after, &::before
    content ''
    position absolute
    background shadow
  &::after
    height 14px
    width width + 4px
    bottom -13px
    left -7px
    transform skewX(-45deg)
  &::before
    height height + 4px
    width 14px
    bottom -7px
    left -13px
    transform skewY(-45deg)
  .square
    background inner
    height size
    width size
    box-shadow inset offset*-1 offset 0 shadow
    border-radius offset
    margin 0 offset offset 0
.shadow 
  animation sha 3s infinite
  opacity .2
  height 30px
  width 330px
  background #000
  position relative
  border-radius 50%
  transform translateY(130px) 
.fix-preview
  width 330px
  height 1px
@keyframes float
  0%, 100%
    transform translateY(0) rotateZ(-45deg)
  65%
    transform translateY(15px) rotateZ(-45deg)
@keyframes sha
  0%
    width 330px
    opacity .1666
  65%
    width 300px
    opacity .2
  100%
    width 330px
    opacity .1666
    
.contact
  position absolute
  bottom 0
  left 0
  width 100%
  text-align center
  margin-bottom 17px
  font-family monospace
  font-size 1.2rem
  font-weight 900
  color base
              
            
!

JS

              
                # css waffle!
# by wvffle
              
            
!
999px

Console