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.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.




                @import url(,700);

$mauve: rgb(102, 35, 69);
$red: rgb(102, 21, 16);
$blue: rgb(39, 110, 151);
$yellow: rgb(175, 133, 45);

body {
  background-color: rgb(0,0,0);

div {
  text-align: center;
  margin-top: 10%;

span {
  display: inline-block;
  margin-left: -15px;
  font-size: 200px;
  line-height: 200px;
  font-family: "Oswald", sans-serif;
  position: relative;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;  
  animation: slide 2s linear infinite;
  background-size: auto 400px;
  background-position: left 0px; 
  background-image: linear-gradient(to bottom,    
    $mauve 0px, $mauve 100px,
    black 100px,
    $red 102px,$red 130px,   
    black 130px,
    $blue 132px, $blue 180px,
    black 180px,
    $yellow 182px, $yellow 200px,   
    black 200px,
    $mauve 202px, $mauve 240px,   
    black 240px,
    $red 242px, $red 300px,  
    black 300px,
    $blue 302px, $blue 350px,  
    black 350px,
    $yellow 352px, $yellow 398px,
    black 399px, black 400px
   &:nth-child(odd) {
    top: 30px;
    background-image: linear-gradient(to bottom,     $mauve 0px, $mauve 70px,
    black 70px,
    $red 72px,$red 100px,   
    black 100px,
    $blue 102px, $blue 150px,
    black 150px,
    $yellow 152px, $yellow 170px,   
    black 170px,
    $mauve 172px, $mauve 210px,   
    black 210px,
    $red 212px, $red 270px,  
    black 270px,
    $blue 272px, $blue 320px,  
    black 320px,
    $yellow 322px, $yellow 370px

@keyframes slide {
  100% {
    background-position: left -400px;