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

+ add another resource


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


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.


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.


    <mask id="mask-1">
      <path class="mask-path" d="M100,80c150,150,250,-150,400,0" />  
    <mask id="mask-2">
      <path class="mask-path" d="M100,200 h400" />
    <mask id="mask-3">
      <path class="mask-path" d="M100,250 500,250" />
    <mask id="mask-4">
      <path class="mask-path" d="M100,300 L500,300" />
    <mask id="mask-5">
      <path class="mask-path" d="M100,350 c0,0 400,0 400,0" />
    <mask id="mask-6">
      <path class="mask-path" d="M100,400 C100,400 500,400 500,400" />
    <mask id="mask-7">
      <line class="mask-path" x1="100" y1="450" x2="500" y2="450" />
    <mask id="mask-8">
      <polyline class="mask-path" points="100,500 500,500" />
    <mask id="mask-9">
      <path class="mask-path" d="M550,180 v400" />
    <mask id="mask-10">
      <path class="mask-path" d="M600,180 600,580" />
    <mask id="mask-11">
      <path class="mask-path" d="M650,180 L650,580" />
    <mask id="mask-12">
      <path class="mask-path" d="M700,180 c0,0 0,400 0,400" />
    <mask id="mask-13">
      <path class="mask-path" d="M750,180 C750,180 750,580 750,580" />
    <mask id="mask-14">
      <line class="mask-path" x1="800" y1="180" x2="800" y2="580" />
    <mask id="mask-15">
      <polyline class="mask-path" points="850,180 850,580" />
  <path class="path" mask="url(#mask-1)" d="M100,80c150,150,250,-150,400,0" />
  <path class="path" mask="url(#mask-2)" d="M100,200 h400" />
  <path class="path" mask="url(#mask-3)" d="M100,250 500,250" />
  <path class="path" mask="url(#mask-4)" d="M100,300 L500,300" />
  <path class="path" mask="url(#mask-5)" d="M100,350 c0,0 400,0 400,0" />
  <path class="path" mask="url(#mask-6)" d="M100,400 C100,400 500,400 500,400" />
  <line class="path" mask="url(#mask-7)" x1="100" y1="450" x2="500" y2="450" />
  <polyline class="path" mask="url(#mask-8)" points="100,500 500,500" />
  <path class="path" mask="url(#mask-9)" d="M550,180 v400" />
  <path class="path" mask="url(#mask-10)" d="M600,180 600,580" />
  <path class="path" mask="url(#mask-11)" d="M650,180 L650,580" />
  <path class="path" mask="url(#mask-12)" d="M700,180 c0,0 0,400 0,400" />
  <path class="path" mask="url(#mask-13)" d="M750,180 C750,180 750,580 750,580" />
  <line class="path" mask="url(#mask-14)" x1="800" y1="180" x2="800" y2="580" />
  <polyline class="path" mask="url(#mask-15)" points="850,180 850,580" />


                html, body {
  height: 100%;

body {
  overflow: hidden;

svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  

.path {
  fill: none;
  stroke: red;
  stroke-width: 40;  

.mask-path {
  fill: none;
  stroke: #fff;
  stroke-width: 40;