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 Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

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 ..................