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.


                <div class="center">
    <svg xmlns="" width="300" height="300" viewBox="0 0 300 300">
      <g fill="none" fill-rule="evenodd" stroke="#979797" stroke-width="3" transform="translate(39 26)">
        <polyline stroke-linecap="round" stroke-linejoin="round" points="71 193 113 213 157 193"/>
        <polygon stroke-linecap="round" stroke-linejoin="round" points="111.045 125 154.09 193.707 68 193.707"/>
        <path stroke-linecap="round" stroke-linejoin="round" d="M65.7421121,178 L0.599115602,178 L35.8936198,99.4738489 C33.6882317,45.732312 45.7421121,4.83282542 112.055261,5.82803907 C178.368409,5.82803907 189.235546,45.732312 187.030158,99.4738489 L222.324662,178 L157.181666,178"/>
        <path stroke-linecap="round" stroke-linejoin="round" d="M187.977407,99.5541891 C156.29219,74.1313136 130.999833,79.8586645 111.988703,103 C92.9775736,80.8364674 66.9774069,74 36,101.877106" transform="matrix(-1 0 0 1 223.977 0)"/>
        <path stroke-linecap="round" stroke-linejoin="round" d="M89.5 159.5L89.5 193.514703M105.5 134.392541L105.5 193.161526M119.5 138.321112L119.5 192.230855M134.5 162.457143L134.5 193.5563"/>
        <circle cx="154" cy="193" r="6" fill="#FFF"/>
        <circle cx="69" cy="193" r="6" fill="#FFF"/>
        <circle cx="111" cy="128" r="6" fill="#FFF"/>
        <path stroke-linecap="round" stroke-linejoin="round" d="M143,124 L175,133 C165.666667,149.666667 161,161.666667 161,169" transform="matrix(-1 0 0 1 318 0)"/>
        <path d="M75.5513089,122.508243 C89.6629072,122.508243 101.943309,117 100.998885,110 C100.054461,103 94.3360522,92 77.3882902,90 C60.4405282,88 50,95.3432603 50,105.008243 C50,114.673227 61.4397107,122.508243 75.5513089,122.508243 Z"/>
        <path d="M145.551309,122.508243 C159.662907,122.508243 171.943309,117 170.998885,110 C170.054461,103 164.336052,92 147.38829,90 C130.440528,88 120,95.3432603 120,105.008243 C120,114.673227 131.439711,122.508243 145.551309,122.508243 Z" transform="matrix(-1 0 0 1 291.05 0)"/>
        <path d="M112.5,102 L112.5,0"/>
        <path stroke-linecap="round" stroke-linejoin="round" d="M45 211C89 260.333333 133 260.333333 177 211M48 124L80 133C70.6666667 149.666667 66 161.666667 66 169"/>

        <button type="submit" onclick="joinMe()" class="t-center">Join me!</button>


                @use postcss-simple-vars;
@use postcss-color-function;
@use postcss-nested;

/** Brand colors **/
$cinnabar: #DF3D2F;
$seal-brown: #080202;

/** Theme colors **/
$color-primary: $cinnabar;
$color-secondary: $seal-brown;

button {
    display: inline-block;
    padding: 6px 12px;

    text-decoration: none;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 1.3px;
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;

    border: 0;
    border-radius: 3px;
    box-shadow: 1px 1px 3px color(black a(0.2));

    color: white;
    background-color: $color-primary;

    transition: all 250ms ease-out;

    &:hover, &:active {
        background-color: color($color-primary lightness(+5%));
        box-shadow: 0px 3px 10px color(black a(0.4));

    &:focus {
        background-color: color($color-primary blackness(+10%));
        outline: 0;

.container {
    margin: 0 auto;
    width: 600px;

.center {
    text-align: center;



                function joinMe() {
    alert("Now we go on to rule the galaxy!");