title: Why is my animation (rotate) moving around?
body: <p>Can anyone tell me why is my div element moving around when I only want it to rotate? As you can see it it is like its rotating around something else. I have tried to fix it with transform-origin and transform-box but it doesnt work...</p>
  <p>Here is the code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#demo3 {
    font-size: 2em;
    font-family: Helvetica, Arial, sans-serif;
    color: black;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    animation: rotation 15s infinite linear;
    transform-origin: center;
    transform-box: fill-box;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(360deg);
    }
  
    100% {
      transform: rotate(0deg);
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="UTF-8" /&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
      &lt;link rel="stylesheet" href="style.css" /&gt;
      &lt;title&gt;Document&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="demo3"&gt;We are Simplifix. We make design simple.&lt;/div&gt;
  
      &lt;script src="https://cdn.jsdelivr.net/npm/circletype@2.3.0/dist/circletype.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"&gt;&lt;/script&gt;
  
      &lt;script&gt;
        new CircleType(document.getElementById("demo3"));
      &lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>