cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              - var count = 16;
svg#Layer_1(data-name='Layer 1', xmlns='http://www.w3.org/2000/svg', viewbox='0 0 1000 1000')
      circle(cx='500', cy='500', r='450', stroke='none', fill='none')
  circle(cx='500', cy='500', r='450', stroke='none', fill='#000')
    while count-- 

<div class="title">prisma</div>
              // Toy around with the $count and $offset variables

$count: 16;

$wave-length: 375px;
$duration: 1.5s;
$body: hsl(200, 30%, 20%);
$title: hsl(20, 70%, 90%);

@keyframes move {
  100% {
    transform: rotate(var(--angle)) translate(0, $offset)

.wave {
  transform-origin: 500px 500px;
  opacity: 4/$count;
  animation: move $duration linear infinite;
  mix-blend-mode: screen;
  @for $i from 1 through $count{
      animation-delay: $duration/$count * $i * -3;
      fill: hsl(360/$count * $i, 100%, 50%);
      --angle: 360deg / $count * $i;
       transform: rotate(360deg / $count * $i) translate($wave-length, $offset);

  transform-origin: 500px 500px;
  animation: rotate $duration * $count linear infinite;

@keyframes rotate{
  100%{transform: rotate(360deg)}
/*Page Setup*/

@import url('https://fonts.googleapis.com/css?family=Unica+One');
svg {
  width: 100vw;
  height: 80vh;

body {
  background: $body;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

.title {
  height: 10vh;
  line-height: 10vh;
  font-size: 8vh;
  padding: 2.5vh;
  margin: 0;
  color: $title;
  border-top: 1px solid;
  border-bottom: 1px solid;
  font-family: 'Unica One', cursive;
Loading ..................