<div>
  <style>
    @keyframes rainbow {
      0% { color: red; }
      20% { color: orange; }
      40% { color: yellow; }
      60% { color: green; }
      80% { color: blue; }
      100% { color: violet; }
    }

    .marquee {
      font-size: 52px;
      animation: rainbow 3s infinite linear;
      font-family: 'Comic Sans MS', cursive, sans-serif;
      white-space: nowrap;
    }
  </style>

  <iframe srcdoc="<marquee class='marquee'>Меня бросила машка, ведь я снюхал весь пакет</marquee>" width="100%" height="100%" frameborder="0"></iframe>
</div>

