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.

            
              <a class="boxy" href="#">
  I'm so faaaancy
</a>
<a class="boxy red" href="#">
  You already know
</a>
<a class="boxy green" href="#">
  I'm in the fast lane
</a>
<a class="boxy la" href="#">
  L.A&nbsp;&nbsp;&nbsp;✈&nbsp;&nbsp;&nbsp;Tokyo
</a>

<p>
What a fancy looking hyperlink!! :)
</p>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,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 {
    box-shadow: 
      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; }


            
          
!
999px
Loading ..................

Console