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="wrap">
  <h1>Sassy Button Mixin</h1>
  <p>Use SASS to detect your background colors and other styles and apply them to your buttons for consistent global hovers and active states.</p>
  <a href="#" class="btn btn-green">Green Button</a>
  <a href="#" class="btn btn-blue">Blue Button</a>
  <a href="#" class="btn btn-yellow">Yellow Button</a>
  <a href="#" class="btn btn-red">Red Button</a>
              @import url(https://fonts.googleapis.com/css?family=Poiret+One);

@mixin button-bg($bg) {
  background: $bg;
  &:hover {
    transition: all 0.3s ease;
  &:active {

.btn {
 padding:5px 10px;
 font-family: 'Poiret One', cursive;

.btn-green {
   @include button-bg(#2ecc71);

.btn-blue {
   @include button-bg(#3498db);

   @include button-bg(#f1c40f);

.btn-red {
   @include button-bg(#e74c3c);

/*Other Stylez*/
.wrap {
  margin:0 auto;

h1 {
  font-family: 'Poiret One', cursive;

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