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="sevencol typeplate">

  <article class="post">
    <header>
      <h1 class="h2">Sharing Icons inspired by IGN</h1>
    </header>
    
    <section class="post-content">
      <p>
          Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>  
      <p>
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>  
      <p>
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>  

      <p>
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>       

      <p>
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>  

      <p>
        Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
      </p>        
    </section>
    
    <div>
      <div class="social share--vertical">
<a href="#" class="social share--link twitter">
          <span class="icon-twitter" aria-hidden="true"></span>
          Tweet
        </a>

        <a href="#" class="social share--link facebook">
        <span class="icon-facebook" aria-hidden="true"></span>
          Share
        </a>               

        <a href="#" class="social share--link google-plus">
        <span class="icon-google-plus" aria-hidden="true"></span>
          +1
        </a>        
      </div>
    </div>
    
    <footer>
      <div class="social share--horizontal">
        <a href="#" class="social share--link twitter">
          <span class="icon-twitter" aria-hidden="true"></span>
          Tweet
        </a>

        <a href="#" class="social share--link facebook">
        <span class="icon-facebook" aria-hidden="true"></span>
          Share
        </a> 

        <a href="#" class="social share--link google-plus">
        <span class="icon-google-plus" aria-hidden="true"></span>
          +1
        </a>        
      </div>
    </footer>
  </article>
</div>
            
          
!
            
              @import "compass/css3";

/* First, I need to undo my library's stylesheet icon rules so FontAwsome displays in this pen */
[class^="icon-"]:before, [class*=" icon-"]:before { 
  color: white;
  display: block;
  font-family: FontAwesome;  
  margin-top: 10px;
  // I'm amused that this was all it took
}

// More Icon Overrides
.icon-facebook:before {
  content: "";
}
.icon-twitter:before { 
  content: "";
}

.share--vertical {
  position: absolute;
  left: -95px;
  top: 95px;
    
  [class^="icon-"]:before, [class*=" icon-"]:before {
    font-size: 32px; 
    padding-top: 40px;
    margin-bottom: 18px;
  }
  
  .share--link {
    display: block;
    font-size: 16px;
    height: 95px;
    margin-bottom: -9px; 
    width: 95px;
  }
}

.share--horizontal {
  float: right;
  height: 65px;
  margin-top: 24px;
  position: relative;
  width: auto;
  z-index: -1;
  
  [class^="icon-"]:before, [class*=" icon-"]:before {
     font-size: 20px;
     line-height:1.5;    
  }
  
  .share--link {
    display: inline-block;
    margin-right: -3px;
  }
}

.share--link {
  color: rgba(255,255,255, 0.4) !important;
  height: 65px;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  width: 65px;
  
  &.facebook {
    background: #069;
  }
  &.google-plus {
    background: #cb5a45;
  }
  &.twitter {
    background: #4aade8;
  }
  
}



            
          
!
999px
Loading ..................

Console