To add a CodePen to your Webflow site, you need to embed the CodePen’s output using an embed code. Webflow allows HTML embeds via its Embed element or page settings.
<iframe ...></iframe>
).If you want deeper integration with your design (rather than embedding a full iframe), you can manually copy the HTML, CSS, and JS from the Pen and place it in your Webflow project:
<style>
tags).section.
Be sure any external libraries (like jQuery or anime.js) used by the CodePen are also included in your Webflow Page Settings → Custom Code.
To embed a CodePen in Webflow, copy the Pen’s iframe embed code and paste it into a Webflow Embed component. Alternatively, recreate the Pen manually using its source code and place it within Webflow’s HTML, CSS, and JS areas.