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="cs-social-share clearfix">
  
  <div class="cs-share-this-product facebook">
    <a title="Share on Facebook" target="_blank" href="">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-facebook.png">
        <span class="share-text">Share</span>
      </div>
    </a>
  </div>
  
  <div class="cs-share-this-product twitter ">
    <a title="Share on Twitter" target="_blank" href="#">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-twitter.png">
        <span class="share-text">Tweet</span>
      </div>
    </a>
  </div>
  
  <div class="cs-share-this-product google-plus ">
    <a title="Share on Google+" target="_blank" href="#">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-google-plus.png">
        <span class="share-text">Share</span>
      </div>
    </a>
  </div>
  
  <div class="cs-share-this-product pinterest ">
    <a title="Share on Pinterest" target="_blank" href="#">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-pinterest.png">
        <span class="share-text">Pin</span>
      </div>
    </a>
  </div>
  
  <div class="cs-share-this-product linkedin ">
    <a title="Share on LinkedIn" target="_blank" href="#">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-linked-in.png">
        <span class="share-text">Share</span>
      </div>
    </a>
  </div>
  
  <div class="cs-share-this-product email ">
    <a title="Share via Email" href="#">
      <div class="social-share-icon-block">
        <img src="https://theofficeplace.com/wp-content/uploads/share-icons/share-email.png">
        <span class="share-text">Email</span>
      </div>
      <div class="count"></div>
    </a>
  </div>
  
  <div class="clearfix"></div>
  
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Noto+Sans);

body{
  font-family: Noto Sans;
  background:#272727;
}

.clearfix:after {
   visibility: hidden;
   display: block;
   content: " ";
   clear: both;
   height: 0;
 }

/*/////////////////////////////////////////////////////////////
    // Social Sharing Icons \\
///////////////////////////////////////////////////////////// */
.cs-social-share {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 30vh auto;
  display: block;
  background: #424242;
  border: solid 3px #2F2F2F;
  padding: 2%;
}

/*/////////////////////////////////////////////////////////////
    // Social Sharing Icons On Product Page \\
///////////////////////////////////////////////////////////// */
.cs-share-this-product {
	float: left;
  width: 15%;
  height: 30px;
  padding: 1px 0px;
  min-width: 68px;
  margin: 2% .8%;
  overflow: hidden;
  -webkit-filter:brightness(90%);
  -moz-filter:brightness(90%);
  -ms-filter:brightness(90%);
  -o-filter:brightness(90%);
  filter:brightness(90%);
  transition: all .45s ease-in-out;
  
  &:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    border-radius: 3px;
    -webkit-filter:brightness(120%);
    -moz-filter:brightness(120%);
    -ms-filter:brightness(120%);
    -o-filter:brightness(120%);
    filter:brightness(120%);
    
    img {
      left: 32%;
      transform: scale(1);
    }
    
    span.share-text {
      opacity: 0;
      left: 20px;
      transform: rotateX(90deg) scale(0.3);
    }
  }
  
  a {
    text-decoration:none;
  }
  
  img {
    width: 28px;
    transition: all .5s ease;
    position: relative;
    left: 0;
    transform: scale(.8);
  }
  
  .social-share-icon-block {
    
    span.share-text {
      font-size: 12px;
      color: #fff;
      position: relative;
      left: -3px;
      top:-8px;
      transition: all .45s ease-in-out;
    }
  }
  
  &.facebook { background: #527EBF; }
  &.twitter { background: #25C0E2; }
  &.google-plus { background: #DB4A37; }
  &.pinterest { background: #CD2129; }
  &.linkedin { background: #147BB7; }
  &.email { background: #0F75BC; }
}
              
            
!

JS

              
                
              
            
!
999px

Console