octocatstartv

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.

Want a Run Button?

If active, the preview will update automatically when you change code.

            
              @import "compass/css3";

/*
  SCSS is not required for this effect, but setting the background color via SCSS you can make changes in just one place.
*/
$background-color: rgb(255,255,255);

body {
  /*
    White BG works best, but you could also play with a different color,
    as long as it is light and matches the first text-shadow.
    Without SCSS, you would do something like this:
      background: rgba(255,255,255,1);
  */
  background: rgba($background-color,1); 
}
.text {
  /* This part is irrelevant set-up stuff */
  font-size: 98pt;
  font-weight: bolder;
  font-family: Impact;
  text-align: center;
  line-height: 80%;
  
  /* Color of text is irrelevant here just make it fully transparent */
  color: rgba(0,0,0,0); 

  text-shadow: 
    /*
       This must be the same as page bg in order for this to work.
       Without SCSS, you would do something like this:
         .05em .05em .05em rgb(255,255,255,.25),
    */
    .05em .05em .05em rgba($background-color,.25), 
    /* 
      For best result, take the color you want, then 
      make it darker and more saturated so the white 
      shadow above will boost it up to the proper 
      apparent value 
    */
    0 0 0 hsl(0,100%,30%);
  line-height: 1.1;
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console