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

              
                <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="arrows">
<g id="arrows-light">
  <path id="arrow-3" d="M78.613 97.4125C80.6158 98.5625 80.6227 101.449 78.6255 102.609L12.7168 140.871C10.7195 142.031 8.21608 140.594 8.21056 138.284L8.02836 62.0742C8.02284 59.7648 10.5194 58.3154 12.5221 59.4653L78.613 97.4125Z" fill-opacity="0.8"/>

<path id="arrow-2" d="M104.613 97.4125C106.616 98.5625 106.623 101.449 104.625 102.609L38.7166 140.871C36.7194 142.031 34.2159 140.594 34.2104 138.284L34.0282 62.0742C34.0227 59.7648 36.5192 58.3154 38.522 59.4653L104.613 97.4125Z"  fill-opacity="0.8"/>
</g>
<g id="arrows-dark">
<path id="arrow-1" d="M78.613 97.4125C80.6158 98.5625 80.6227 101.449 78.6255 102.609L12.7168 140.871C10.7195 142.031 8.21608 140.594 8.21056 138.284L8.02836 62.0742C8.02284 59.7648 10.5194 58.3154 12.5221 59.4653L78.613 97.4125Z"  fill-opacity="0.5"/>
</g>
</g>
</svg>

              
            
!

CSS

              
                
:root {
  --color-dark: #E35874;
  --color-light: #deedee;
}
svg path {
  transition: all 1s ease;
}

#arrow-3 {
  transform: translateX(-100%)
}

#arrows-light {
  fill: var(--color-light)
}
#arrows-dark{
    fill: var(--color-dark)
}

svg:hover {
  #arrow-3 { 
     transform: translateX(0%)
  }
  #arrow-2 { 
     transform: translateX(100%)
  }
  #arrow-1 { 
     transform: translateX(20%)
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console