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.


Auto Save

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.


  <h1>SVG Blob Animation</h1>
  <div class="blob">
    <svg viewBox="0 0 200 200" xmlns="">
        <radialGradient id="b" r="100%" cx="50%" cy="48%">
          <stop offset="0%" stop-color="#FAD961" />
          <stop offset="100%" stop-color="#F76B1C" />
      <g transform="translate(100 100)">
        <path fill="url(#b)">
          <animate attributeName="d" dur="5000ms" repeatCount="indefinite" values="M40.9,-27.4C51.8,-4.8,58.5,16.4,51,36.4C43.5,56.4,21.7,75.2,2.9,73.5C-15.9,71.9,-31.8,49.7,-44.4,26.8C-57,3.8,-66.3,-19.9,-58.4,-40.9C-50.4,-61.8,-25.2,-79.9,-5.1,-77C15,-74.1,30,-50,40.9,-27.4Z;


<a href="" target="_blank" class="studioalex-logo">
  <div class="studioalex">
    <svg width="0" height="0">
        <clipPath id="alex-clippath" clipPathUnits="objectBoundingBox">
          <path transform="scale(0.00252525, 0.00245098)" d="M196.538 5.51918C195.668 3.49358 193.154 3.49362 192.478 5.51918C191.801 7.54474 138.333 139.883 138.333 139.883L143.748 142.584L159.991 102.747L273.694 394.432H230.379V399.833H391.458V394.432H352.204C352.204 394.432 197.409 7.54478 196.538 5.51918Z" fill="white" stroke="white" stroke-width="8" />
          <path transform="scale(0.00252525, 0.00245098)" d="M187.292 240.836V235.435C26.6051 211.128 78.5917 390.053 5 396.129C5 399.505 5.00161 398.155 5 401.531C165.687 427.863 119.101 234.76 187.292 240.836Z" fill="white" stroke="white" stroke-width="8" />


                @use postcss-nested;
@import url(',100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

:root {
  --pulse-color: hsl(187 97.5% 69.2%);
  --body-background-color: hsl(201 37.7% 12%);

body {
  height: 100%;

body {
  display: grid;
  justify-content: center;
  align-content: center;
  background-color: #0f222b;
  padding: 20pt;
  box-sizing: border-box;

* {
  padding: 0;
  margin: 0;

section {
  text-align: center;

h1 {
  margin: 0 0 6rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 38px;
  color: white;

.blob {
  display: inline-block;
  width: clamp(150px, 40vh, 400px);
  height: clamp(150px, 40vh, 400px);

/* ---------- logo --------*/
.studioalex {
  display: inline-block;
  background-image: linear-gradient(45deg, rgb(246,46,36), rgb(255,133,27), rgb(255,221,0), rgb(46,204,64), rgb(0,116,217), rgb(176,13,201));
  background-size: 800% 800%;
  clip-path: url(#alex-clippath);
  width: 30px;
  isolation: isolate;
  animation: rainbow 15s ease alternate infinite;
  &-logo {
    position: fixed;
    padding: 5px 5px 10px 8px;
    top: 20px;
    left: 20px;
    background-color: hsl(201 37.7% 22%);
    border-radius: 50%;
    &:hover {
      background-color: var(--pulse-color);

@keyframes rainbow {
  0% {
    background-position: 1% 80%;
  50% {
    background-position: 99% 20%;
  100% {
    background-position: 1% 80%;