Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                <link href='https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<ul class="responsive_grid">
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  
    <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  
    <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  
    <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  
<!--  rest for just show-->
  
  
    <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  
    <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
  <li>
    <div class="team_member">
       <div class="info">
         <img src="http://www.placecage.com/g/300/300" alt=""/>
         <h5>Stanley Goodspeed</h5>
         <h6>Director of Chemical Weaponry</h6> 
      </div>
      <div class="info_reveal">
        <h6>Contact<br/>Stanley Goodspeed</h6>
        <p><a href="mailto:address@addresss.com">s.goodman@fbi.gov</a></p>
        <p>(123) 555-1234 x1100</p>
      </div>
    </div>
  </li>
</ul>
              
            
!

CSS

              
                .team_member {
  width:100%;
  position:relative;
  overflow:hidden;
  height:250px;
}

.info {
  height:100%;
}

.info img {
  width:100%;
  transition: all .4s ease-out .1s;
   -moz-transition: all .4s ease-out .1s;
   -webkit-transition: all .4s ease-out .1s;
}

.info h5 {
  padding: 10px 10px 0 0;
  margin: 0 0 10px 3px;
  line-height: 1em;
  opacity: 1;
  transition: all .2s ease-out .1s;
   -moz-transition: all .2s ease-out .1s;
   -webkit-transition: all .2s ease-out .1s;
  font-size: 1.125em;
}

.info h6 {
  padding:0 10px 0 0;
  font-size:12px;
  margin:0 0 0 3px;
  line-height:1em;
  text-transform:uppercase;
  color:#999;
  opacity:1;
  transition: all .2s ease-out .1s;
   -moz-transition: all .2s ease-out .1s;
   -webkit-transition: all .2s ease-out .1s;
}

.info_reveal {
  height:100%; 
  transition: all .3s ease-in 0s;
   -moz-transition: all .3s ease-in 0s;
   -webkit-transition: all .23s ease-in 0s;
  position:absolute;
  width:100%;
  left:0;
  top:-100%;
  background: rgba(19,148,119,0.9);
}

.info_reveal h6 {
  padding: 20px 8px 5px 8px;
  line-height: 1.1em;
		margin-bottom: 20px;
		color: #fff;
  font-size: 1em;
}

.info_reveal p {
  padding:0 8px;
  font-size:15px;
  line-height: 1.2em;
  color: #073a2e;
  font-weight:400;  
}

.info_reveal a {
  color: #073a2e;
		word-break: break-word;
  text-decoration:none;
}

.info_reveal a:hover {
  color: #073a2e;
}


.responsive_grid {
 display:block;
 margin:0;
 padding:0;
 list-style:none;
}

.responsive_grid li {
 cursor:pointer;
 width: 16.66667%;
 padding: 0 10px 10px;
 display:block;
 height:auto;
 float:left;
 margin-bottom:10px;
}

.responsive_grid li:hover .info_reveal,
.responsive_grid li:focus .info_reveal{
 left: 0;
 top:0;
 transition: all .3s ease-out .1s;
   -moz-transition: all .3s ease-out .1s;
   -webkit-transition: all .3s ease-out .1s;
}

.responsive_grid li:hover .info img,
.responsive_grid li:focus .info img {
  width:210%;
  margin-left:-50%;
  transition: all .4s ease-in 0s;
   -moz-transition: all .4s ease-in 0s;
   -webkit-transition: all .4s ease-in 0s;
}

.responsive_grid li:hover .info h5,
.responsive_grid li:focus .info h5,
.responsive_grid li:hover .info h6,
.responsive_grid li:focus .info h6 {
  opacity: 0;
  transition: opacity .2s linear 0s;
   -moz-transition: opacity .2s linear 0s;
   -webkit-transition: opacity .2s linear 0s;
}




/*Just some styles for Codepen preview*/
body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  padding: 50px 100px;
  max-width: 55.25em;
  font-family: 'Open Sans', sans-serif;
}

h5, h6, .info_reveal a {
  font-family: 'Open Sans Condensed', sans-serif;
}
              
            
!

JS

              
                
              
            
!
999px

Console