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.


                <a class="boxy" href="#">
  I'm so faaaancy
<a class="boxy red" href="#">
  You already know
<a class="boxy green" href="#">
  I'm in the fast lane
<a class="boxy la" href="#">

What a fancy looking hyperlink!! :)


                @import url(,300);

@mixin bggrad( $c1, $c2, $angle: 155 ) {
  background: linear-gradient( #{$angle}deg, $c1 0%, $c2 100%);

@mixin borgrad( $c1, $c2, $angle: 155 ) {
  border-image: linear-gradient( #{$angle}deg, $c1 0%, $c2 100%) 1 round;

@mixin someColor( $c1, $c2 ) {
  @include borgrad( $c1, $c2, 155 );
  @include bggrad( $c1, $c2, 155 );
  &:hover {
      0 0 0px 1px rgba(255,255,255,0.5),
      2px 2px 6px rgba(red($c2), green($c2), blue($c2),0.4),
      -2px -2px 6px rgba(red($c1), green($c1), blue($c1),0.4);

  background-clip: text;
  -webkit-background-clip: text;


$purple: #fb83fa;
$aqua: #31bcb8;

$red: #fc5c3c;
$orange: #ffb638;

$green: #AAFFA9;
$cyan: #06e5de;

$la: #F0C27B;
$tokyo: #ad1ba3;

.boxy {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 1.5em;
  color: rgba(255,255,255,0);
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  padding: 0.6em 1.6em;
  margin: 0.6em;
  border-style: solid;
  border-width: 1px;
  transition: all 0.2s ease;
  @include someColor( $purple, $aqua );
  &:hover {
    color: rgba(255, 255, 255,0.1);
    text-shadow: 0 0 1px rgba(255, 255, 255,0.4);
  &.red {
    @include someColor( $red, $orange );
  &.green {
    @include someColor( $cyan, $green );
  &.la {
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 3em;
    padding: 0.3em;
    border-width: 2px;
    display: block;
    width: 70%;
    margin: 0.6em auto;
    @include someColor( $la, $tokyo );

body {
  padding: 50px;
  background: linear-gradient(135deg, #313b53 0%,#213037 100%);
  text-align: center;

body, html {
  min-height: 100%;

p{ color: rgba(255,255,255,0.7); margin: 30px; }