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="wrapper"><div class="button pinterest">
  <div class="cover"><i class="fa fa-pinterest"></i></div>
  <div class="widget">
  	<a data-pin-do="buttonFollow" href="https://it.pinterest.com/pinterest/">Follow Pinterest</a>
<!-- Please call pinit.js only once per page -->
<script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script> 
<div class="wrapper">
<div class="button twitter">
  <div class="cover"><i class="fa fa-twitter"></i></div>
  <div class="widget">
  	<a href="https://twitter.com/CodePen" class="twitter-follow-button" data-show-count="false" data-size="small">Follow @CodePen</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<h1>Social Buttons Concept</h1>
              * { box-sizing: border-box; }
body { 
  height: 100%; 
  margin: 0;
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: linear-gradient(top, #FFFFFF 0%, #D5D9EF 100%);
.cover {
  height: 40px;
  border-radius: 3px; 
  text-align: center;
  transition: opacity .5s ease-in-out;
  opacity: 1;
.twitter .cover {
  background: linear-gradient(top,#2EC8FA,#29B5E2);
.pinterest .cover {
  background: linear-gradient(top,#E7364C,#D4242B);
.pinterest .widget > a {
  margin: 0 3px 0 0!important;
.cover i {
  color: #fff;
  font-size: 25px;
  margin-top: 7px;
  text-shadow: rgba(0,0,0,0.2) 0px 1px 0px;
.button {
  height: 40px;
  border-radius: 3px;
  transform-origin: center center -15px;
  transform-style: preserve-3d;
  transition: all .5s ease-in-out;
	display: block; 
  margin: 20px;
  cursor: pointer;
.wrapper { perspective: 100px; }
.button:hover { transform: rotateX(90deg); }
.button:hover .cover { opacity: 1; }
.widget {
  height: 40px;
  background: #f0f2f5;
  border-radius: 3px;
  transform-origin: center top;
  transform: rotateX(-90deg);
  padding: 9px;
  border:1px solid #ddd;
  border-bottom: 1px solid #ccc
h1 {
	font: 20px sans-serif; 
  font-weight: 300; 
  margin-top: 70px; 
  color: #999;
Loading ..................