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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!-- See how easy it is to embed Attach Reactions on your website. https://www.attach.live -->
<!-- Setting up a Reactions embed. -->
<html>
  <head>
    <!-- Load the Attach script. Defer it so your page loads first. -->
    <script src="https://embeds.attach.live/v1" defer></script>
    
    <!-- We use a key so it runs on CodePen, but that's not needed if you verify your domain. -->
    <meta property="attach:evaluation-key" content="eval_15MCwQCS66AO6amg_wGkXjr6TFUdkq0wQ">

    <!-- The item is the permanent URL to your website or article. -->
    <!-- We use the browser URL if not set, but here it has a query param. -->
    <meta property="attach:item:url" content="https://codepen.io/attach/pen/WYNzKE">
    
    <!-- Tell us who your current user is for a consistent user experience. -->
    <meta property="attach:user:avatar" content="https://avatars.attach.live/avatar70.png">
    <meta property="attach:user:username" content="lena-marie">
    
    <!-- Set default properties on the Attach web platform or override them here. -->
    <!-- https://github.com/attach-live/attach-properties -->
    <meta property="attach:error-handling" content="display" />
    <meta property="attach:project:identity-color" content="#000000">
    <meta property="attach:participants:avatar-border-radius" content="round">
  </head>
  <body>
    <!-- Place the embed on your website. -->
    <div class="attach-reactions"></div>
  </body>
</html>

            
          
!
            
              html, body {
	margin: 0;
}

/* Style the embed. */
.attach-reactions {
  margin-left: 5vw;
  margin-top: 5vh;
  width: 90vw;
  height: 90vh;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console