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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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="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>
            
          
!
            
              @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; }
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

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

Console