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.

              @mixin zebra-shadow($size, $colors) {
  $text-shadow: ();
  @for $i from 1 through length($colors) {
    @for $j from 0 through $size {
      $pos: (($i - 1) * $size + $j) * 1px;
      $text-shadow: append(
        $pos $pos nth($colors, $i),
  text-shadow: $text-shadow;

html, body {
  height: 100%;

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0E0F33;

h1 {
  font: bold 36vmin/1 'Cinzel', serif;
  color: #fff;
    text-shadow .75s linear infinite;

@keyframes text-shadow {
  $red: #F40000;
  $green: #28D58F;
  $blue:  #15007F;
  $yellow: #FFBA00;
  $pink: #FD138A;

  from, 19.9% {
    @include zebra-shadow(5, (
      $blue, $pink, $yellow, $red, $green,
      $blue, $pink, $yellow, $red, $green

  20%, 39.9% {
    @include zebra-shadow(5,  (
      $green, $blue, $pink, $yellow, $red,
      $green, $blue, $pink, $yellow, $red

  40%, 59.9% {
    @include zebra-shadow(5, (
      $red, $green, $blue, $pink, $yellow,
      $red, $green, $blue, $pink, $yellow

  60%, 79.9% {
    @include zebra-shadow(5, (
      $yellow, $red, $green, $blue, $pink,
      $yellow, $red, $green, $blue, $pink,

  80%, to {
    @include zebra-shadow(5, (
      $pink, $yellow, $red, $green, $blue,
      $pink, $yellow, $red, $green, $blue
Loading ..................