Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


  <svg viewBox="-1 -1 62 42" preserveAspectRatio="none">
      <linearGradient id="orange-to-pink" x1="0" x2="0" y1="1" y2="0">
        <stop offset="0%" stop-color="#DA1B60" />
        <stop offset="100%" stop-color="#ff8a00" />
    <path d="
          M 0,0 
          L 38,0
          Q 40,0
          L 40,35
          Q 40,40
          L 60,40
  <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ducimus, consequuntur! Distinctio magni ratione quos. Consequatur fugit magnam cum! Perferendis sint quia exercitationem rerum qui fugit nesciunt excepturi quis. Ipsum, molestiae!</div>


                article {
  display: grid;
  position: relative;
    2fr 1fr;
  grid-gap: 1rem;
  // max-width: 800px;
  // margin: 0 auto;
  > div {
    position: relative;
    padding: 2rem;
  > div:nth-of-type(2) {
    align-self: end;

svg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

path {
  fill: none;
  stroke: url(#orange-to-pink);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;

body {
  background: black;
  color: white;
  padding: 2rem;
  font: 1.4rem system-ui;