<ul class="btn-share">
  <li><a href="#" class="button share entypo-share"></a></li>
  <li><a href="https://twitter.com/BiedermannMarco" class="button twitter entypo-twitter" target="_blank"></a></li>
  <li><a href="http://dribbble.com/marcobiedermann" class="button dribbble entypo-dribbble" target="_blank"></a></li>
  <li><a href="http://www.behance.net/marcobiedermann" class="button behance entypo-behance" target="_blank"></a></li>
</ul>
@use postcss-preset-env {
  stage: 0;
}

/* ---------- ENTYPO ---------- */
/* ---------- http://weloveiconfonts.com/ ---------- */

@import url(https://weloveiconfonts.com/api/?family=entypo);

a[class*="entypo-"]:before,
span[class*="entypo-"]:before {
  font-family: "entypo", sans-serif;
}

/* ---------- GENERAL ---------- */

body {
  background-color: #f9f9f9;
  color: #151515;
  display: grid;
  font-family: sans-serif;
  line-height: 1.5;
  margin: 0;
  min-block-size: 100vh;
  place-items: center;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- SHARE-BUTTON ---------- */

.button {
  border-radius: 0.5em;
  color: #fff;
  display: block;
  font-size: 1.5rem;
  height: 64px;
  line-height: 64px;
  text-align: center;
  transition: transform 0.2s;
  width: 64px;
}

.button:hover {
  transform: scale(1.05);
}

.share {
  background-color: #444;
  box-shadow: 0 4px 0 #2a2a2a;
  width: 304px;
}

.twitter {
  background-color: #00acee;
  box-shadow: 0 4px 0 #0080b1;
}

.dribbble {
  background-color: #ea4c89;
  box-shadow: 0 4px 0 #b53d6b;
}

.behance {
  background-color: #053eff;
  box-shadow: 0 4px 0 #002ab8;
}

.btn-share {
  display: flex;
  gap: 1em;
  padding-left: 80px;
  position: relative;
}

.btn-share li:first-child {
  left: 0;
  position: absolute;
}
View Compiled
$(".share").on("click", function (event) {
  event.preventDefault();

  var $this = $(this);

  $this.animate(
    {
      width: $this.width() === 304 ? 64 : 304
    },
    400,
    "swing"
  );
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js