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 id="grid">
<div class="row">
<div class="b-social">
<figure class="round">
  <figcaption>
    <h1><i class="fa fa-instagram fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
<div class="b-social">
<figure class="round">
  <figcaption>
    <h1><i class="fa fa-codepen fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
  <div class="b-social">
<figure class="round">
  <figcaption>
    <h1><i class="fa fa-github fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
</div>

<div class="row">
<div class="b-social">
<figure class="square">
  <figcaption>
    <h1><i class="fa fa-linkedin fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
<div class="b-social">
<figure class="square">
  <figcaption>
    <h1><i class="fa fa-facebook fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
  <div class="b-social">
<figure class="square">
  <figcaption>
    <h1><i class="fa fa-twitter fa-5x" aria-hidden="true"></i></h1>
    <p>FOLLOW ME</p>
  </figcaption>
</figure>
  </div>
</div>
</div>
  
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Exo');

html, body {
  background-color: #1f1f1f; 
  height: 100%; 
  width:100%;
  margin:0;
}

#grid {
  width:100%;
  height:400px;
  margin:auto;
  position:absolute;
  top:0; left:0; bottom:0; right;0;
}

.row {
  width:100%;
  height:175px;
}

.b-social {
  width:33%;
  min-width:200px;
  height:200px;
  float:left;
  display: flex;               
  align-items: center; 
}

figure {
  width: 150px;
  height: 150px;
  margin:auto;
}

.square, .round {
  -webkit-transition: -webkit-all 0.5s cubic-bezier(.25,.1,.25,1);
	transition: all 0.5s cubic-bezier(.25,.1,.25,1);
}

.round {
  border-radius:50%;
  border: 3px solid #DE5D83;
  background-color:#DE5D83;
}

.square {
  border: 3px solid #E3A857;
  background-color:#E3A857;
}

figcaption {
  font-family: 'Exo', sans-serif;
  text-align:center;
  color: white;
  margin-top:37px;
}

figcaption h1 {
  color: #FFF;
  font-size:0.9em;
}

figure figcaption p {
  color: #FFF;
  opacity:0;
   font-size:0.9em;
}

figure h1, figure p {
   -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

figure:hover figcaption p {
  opacity:1;
  margin-top:-5px;
}

.square:hover {
  border: 20px solid #F2CC99;
}

.round:hover {
  border: 20px solid #FC8EAC;
}

figure:hover figcaption h1 {
  opacity:0.5;
  font-size:0.7em;
}





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

Console