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.

            
              <div class="printers">
  <h1 class="title">
    <b>Secret</b>
    <b>Footquarters</b>
  </h1>
  <ul>
    <li>Cards</li>
    <li>Comics</li>
    <li>Collectibles</li>
  </ul>
</div>
            
          
!
            
              /*
-----------------------------------
This Pen is from a Typekit Practice lesson:
https://practice.typekit.com/lesson/using-shades

More about using Typekit with CodePen:
https://j.mp/typekit-codepen
-----------------------------------*/

$background: #1c2336;
$offset: $background;
$color: #277dac;
$emphasis: darken(#dbe037, 10%);
$shade: lighten($background, 10%);
$secret: 5%;

body { background-color: $background; }

.printers {
  padding: 5em 5em 5em;
  text-rendering: optimizeLegibility;
  & .title {
    text-align: center;
    font-family: "tablet-gothic-compressed", Verdana, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 8em;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: $color;
    & b { 
      display: block;
      text-align: left;
    }
    & :first-child {
      margin-bottom: .0em;
      margin-left: -.08em;
      font-family: "tablet-gothic-wide", Verdana, sans-serif;
      font-size: 1.26em;
      font-weight: 700;
      letter-spacing: .02em;
      color: $background;
      -webkit-transform: rotate(-9deg);
      transform: rotate(-9deg);
      text-shadow:
        .005em .010em lighten($background, $secret),
        .010em .005em lighten($background, $secret),
        .010em .015em lighten($background, $secret),
        .015em .010em lighten($background, $secret),
        .015em .020em lighten($background, $secret),
        .020em .015em lighten($background, $secret),
        .020em .025em lighten($background, $secret),
        .025em .020em lighten($background, $secret),
        .025em .030em lighten($background, $secret),
        .030em .025em lighten($background, $secret),
        .030em .035em lighten($background, $secret),
        .035em .030em lighten($background, $secret),
        .035em .040em lighten($background, $secret),
        .040em .035em lighten($background, $secret),
        .040em .045em lighten($background, $secret),
        .045em .040em lighten($background, $secret),
        .045em .050em lighten($background, $secret),
        .050em .045em lighten($background, $secret),
        .050em .055em lighten($background, $secret),
        .055em .050em lighten($background, $secret),
        .055em .060em lighten($background, $secret),
        .060em .055em lighten($background, $secret);
    }
    & :last-child {
      color: $emphasis;
      text-shadow:
        //0 0 .5em rgba(255,255,255,0.3),
        0 .005em $shade,
        .005em 0 $shade,
        .005em .010em $shade,
        .010em .005em $shade,
        .010em .015em $shade,
        .015em .010em $shade,
        .015em .020em $shade,
        .020em .015em $shade,
        .020em .025em $shade,
        .025em .020em $shade,
        .025em .030em $shade,
        .030em .025em $shade,
        .030em .035em $shade,
        .035em .030em $shade,
        .035em .040em $shade,
        .040em .035em $shade,
        .040em .045em $shade,
        .045em .040em $shade,
        .045em .050em $shade,
        .050em .045em $shade,
        .050em .055em $shade,
        .055em .050em $shade,
        .055em .060em $shade,
        .060em .055em $shade,
        .060em .065em $shade,
        .065em .060em $shade,
        .065em .070em $shade,
        .070em .065em $shade,
        .070em .075em $shade,
        .075em .070em $shade,
        .075em .080em $shade,
        .080em .075em $shade,
        .080em .085em $shade,
        .085em .080em $shade,
        .085em .090em $shade,
        .090em .085em $shade,
        .090em .095em $shade,
        .095em .090em $shade,
        .095em .100em $shade,
        .100em .095em $shade,
        .100em .105em $shade,
        .105em .100em $shade,
        .105em .110em $shade,
        .110em .105em $shade;
    -webkit-transform: rotate(-9deg);
    transform: rotate(-9deg);
    }
  }
  & ul {
    margin-top: 3.5em;
    margin-right: 2.5em;
    text-align: right;
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
  }
  & li {
    display: inline-block;
    font-family: "ff-kava-web-pro";
    font-size: 3em;
    font-weight: 700;
    font-style: italic;
    color: $color;
    letter-spacing: .01em;
  }
  & li:after {
    content: "•";
    margin: 0 .2em 0 .3em;
  }
  & li:last-child:after {
    content: none;
  }
}
            
          
!
            
              $(function() {
  $(".printers").fitText(4);
});
            
          
!
999px
Loading ..................

Console