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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                figure
  .stripes-wraper
    for i in Array(16)
      .stripe
  .gradient-mask
  .palm-tree

  figcaption
    | Inspired in
    |
    a(href='https://www.instagram.com/p/Bore267lC-_/' target='_blank') Vaporsun
    |
    | by
    |
    a(href='https://www.instagram.com/motus_art/' target='_blank') Motus Art

              
            
!

CSS

              
                body
  height: 100vh
  overflow: hidden

figure
  width: 100%
  height: 100%
  margin: 0 !important
  background-color: #000
  display: flex
  justify-content: center
  align-items: center
  
.stripes-wraper
  width: 450px
  height: 450px
  border-radius: 50%
  filter: drop-shadow(0 0 20px #F29)
  overflow: hidden
  position: absolute
  
.stripe
  width: 100%
  height: 15px
  background-color: #FFF
  animation: scroll 1s linear infinite
  
  @keyframes scroll
    from
      transform: translateY(-30px)

  & + &
    margin-top: 15px

.gradient-mask
  width: 100%
  height: 100%
  background: linear-gradient(to bottom, #92F 0%, #F29 100%)
  mix-blend-mode: multiply
  position: absolute
  
.palm-tree
  width: 450px
  height: 601px
  background-image: url(https://res.cloudinary.com/tecice/image/upload/v1581216237/palm-tree.png)
  transform: scale(.8) translateY(75px)
  position: absolute

figcaption
  color: #EEE
  position: fixed
  right: 20px
  bottom: 10px
  
a
  color: #F29
  text-decoration: none

              
            
!

JS

              
                // Looking for something?

              
            
!
999px

Console