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.

              <div id="by"><a target="_blank" href="https://twitter.com/tobireif">Tobi Reif <img alt="Twitter Logo" id="twitterLogo" src="https://tobireif.com/images/Twitter_logo.svg" style="border-style: none"/></a></div>

$hue: 120;
$saturation: 94%;
$lightness: 50%;
$alpha: 0.5;

  transparent  0px,
  transparent 10px,
  hsla($hue, $saturation, $lightness, $alpha) 10px,
  hsla($hue, $saturation, $lightness, $alpha) 13px,
  transparent 13px,
  transparent 18px,
  hsla($hue, $saturation, $lightness, $alpha) 18px,
  hsla($hue, $saturation, $lightness, $alpha) 31px,
  transparent 31px,
  transparent 35px,
  hsla($hue, $saturation, $lightness, $alpha) 35px,
  hsla($hue, $saturation, $lightness, $alpha) 43px,
  transparent 43px,
  transparent 47px,
  hsla($hue, $saturation, $lightness, $alpha) 47px,
  hsla($hue, $saturation, $lightness, $alpha) 60px,
  transparent 60px,
  transparent 65px,
  hsla($hue, $saturation, $lightness, $alpha) 65px,
  hsla($hue, $saturation, $lightness, $alpha) 68px;

html {
  /* Don't set this on the real page. */
    height: 100%;
      45deg, $stripes
      135deg, $stripes
      hsla(175, 100%, 30%, 1)  0px,
      hsla(175, 100%, 30%, 1) 68px


a {
  color: white;
  text-decoration: none;
  outline: none;
  border: none;

#by {
  display: inline-block;
  padding: 4px 6px 10px 8px;
  font: 16px sans-serif;
  background-color: hsl(175, 100%, 20%);
#twitterLogo {
  width: 34px;
  /* For IE: */
    height: 27.625px;
  margin: 2px;
  margin-bottom: -8px;

@media screen and (max-width: 600px) {
  #by {
    padding: 5px 2px 7px 6px;
  #twitterLogo {
    width: 28px;
    /* For IE: */
      height: 22.75px;
    margin: 2px;
    margin-top: -0px;
    margin-bottom: -6px;

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