Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML

              
                <div class="margin-8-wrapper">
  <a class="overflow-icon-btn like" href="#">
            <i class="fa fa-thumbs-up fa-5x"></i>
            Like
        </a>
</div>
<div class="margin-8-wrapper">
  <a class="overflow-icon-btn instagram" href="#">
            <i class="fa fa-instagram fa-5x"></i>
            Instagram
        </a>
</div>
<div class="margin-8-wrapper">
  <a class="overflow-icon-btn youtube" href="#">
            <i class="fa fa-youtube-play fa-5x"></i>
            Youtube
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn twitter" href="#">
            <i class="fa fa-twitter fa-5x"></i>
            Twitter
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn pinterest" href="#">
            <i class="fa fa-pinterest fa-5x"></i>
            Pinterest
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn email" href="#">
            <i class="fa fa-envelope fa-5x"></i>
            Email
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn amazon" href="#">
            <i class="fa fa-amazon fa-5x"></i>
            Amazon
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn whatsapp" href="#">
            <i class="fa fa-whatsapp fa-5x"></i>
            WhatsApp
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn heart" href="#">
            <i class="fa fa-heart fa-5x"></i>
            Heart
        </a>
</div>

<div class="margin-8-wrapper">
  <a class="overflow-icon-btn paypal" href="https://www.paypal.me/zFunx" target="_blank">
            <i class="fa fa-paypal fa-5x"></i>
            Buy me a cup of coffee
        </a>
</div>
              
            
!

CSS

              
                .overflow-icon-btn {
  --bg-color: dodgerblue;
  text-decoration: none;
  background-color: var(--bg-color, dodgerblue);
  padding: 12px 16px;
  color: #fff;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 0 8px var(--bg-color, dodgerblue);
  box-shadow: 0 0 4px var(--bg-color, dodgerblue);
  transition: 0.3s;
}

.overflow-icon-btn i {
  -webkit-text-stroke-color: var(--bg-color, dodgerblue);
  -webkit-text-stroke-width: 0.02em;
}

.overflow-icon-btn:hover {
  text-shadow: 0 0 24px var(--bg-color, dodgerblue);
  box-shadow: 0 0 12px var(--bg-color, dodgerblue);
}

div.margin-8-wrapper {
  margin: 8px;
  display: inline-block;
}

/*for IE*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .overflow-icon-btn {
    background-color: dodgerblue;
    text-shadow: 0 0 8px dodgerblue;
    box-shadow: 0 0 4px dodgerblue;
  }

  .overflow-icon-btn:hover {
    text-shadow: 0 0 24px dodgerblue;
    box-shadow: 0 0 12px dodgerblue;
  }
}

.overflow-icon-btn.like {
  --bg-color: #3b5998;
}

.overflow-icon-btn.instagram {
  --bg-color: #cd486b;
}

.overflow-icon-btn.youtube {
  --bg-color: #cc181e;
}

.overflow-icon-btn.youtube i {
  vertical-align: sub;
}

.overflow-icon-btn.twitter {
  --bg-color: #00aced;
}

.overflow-icon-btn.twitter i {
  vertical-align: sub;
}

.overflow-icon-btn.pinterest {
  --bg-color: #c92228;
}

.overflow-icon-btn.email {
  --bg-color: gray;
}

.overflow-icon-btn.email i {
  vertical-align: middle;
}

.overflow-icon-btn.amazon {
  --bg-color: #ff9900;
}

.overflow-icon-btn.amazon i {
  vertical-align: super;
}

.overflow-icon-btn.whatsapp {
  --bg-color: #25d366;
}

.overflow-icon-btn.heart {
  --bg-color: deepPink;
}

.overflow-icon-btn.paypal {
  --bg-color: #003087;
}

.overflow-icon-btn.paypal i {
  vertical-align: middle;
}

              
            
!

JS

              
                
              
            
!
999px

Console