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.

            
              <head>
  <link href='https://fonts.googleapis.com/css?family=Great+Vibes' rel='stylesheet' type='text/css'>
</head>
<body>
  <div>&nbsp;</div>
  <div class="container">
    <h2>To two friends who chose to end their lives before Facebook tribute pages:</h2>
    <div class="row">
      <div class="col-md-2"></div>
      <div class="col-md-4 stormWrap" id="cps"><h1>Storm Watkins</h1>1969-1993<br>
        <a href = "http://www.college-prep.org" class = "thumbnail"  target="_blank">
        <img src = "http://www.richardkeightley.com/Images/college_prep.jpg"></a>
        <p class="memory">I met Storm in 1984, freshman year of high-school (the one pictured). She was a year ahead of me. We did drama together and hung out lunch time after lunch time, talking and laughing. We stayed friends through high-school and then, in college, some guy broke her heart. And that was it.</p>
      </div>
      <div class="col-md-4 stormWrap" id="alaska"><h1>Lorne Hite</h1>1969-1992<br>
        <a href = "http://www.nols.edu/" class = "thumbnail" target="_blank">
        <img src = "http://www.richardkeightley.com/Images/sea_kayaking.jpg"></a>
         <p class="memory">Over the summer of 1988, I went on a month-long sea-kayaking expedition with the National Outdoor Leadership School (NOLS) in the Prince William Sound. After that it was off to freshman year of college. Suffice to say, I was pretty nervous. Lorne, one of the other campers, had already finished his freshman year at Vanderbuilt. He was very reassuring. He was always so considerate, positive, and welcoming. Really just a great guy. The kind of guy that everyone would want to have as his best-friend. Then in 1992 I received a letter from his parents. Lorne had killed himself. How could such a terrific person, who could make others so happy to be around him, be so desperately unhappy. Why didn't he talk to anyone?</p>
      </div>
      <div class="col-md-2"></div>
    </div>
    <div id="message" class="row left">Miss you guys.</div>
  </div>
  &nbsp;
</body>
            
          
!
            
              head {
  padding-top: 200px;
}

.container {
  background: lightgray;
  background: -webkit-radial-gradient(#444, black); /* Safari 5.1 to 6.0 */
  background: -o-radial-gradient(#444, black); /* For Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(#444, black); /* For Firefox 3.6 to 15 */
  background: radial-gradient(#DDD, gray);
  border-radius: 10px; 
  text-align: center;
}

#message {
  opacity: 1.0;
  font-family: 'Great Vibes', cursive;
  font-size: 64px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.left {
  position: absolute;
  bottom: -30px;
  left: 260px;
  transition: left .5s ease-out;
}

.right {
  position: absolute;
  bottom: -30px;
  left: 660px;
  transition: left .5s ease-out;
}

.memory {
  opacity: 0;
  position: relative;
  bottom: 20px; left: 0px; right: 0px;
  padding: 2px 0px; 
  color: black;
  background: white;
  text-align: center;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
}

.stormWrap:hover .memory {
  opacity: 0.9;
}

            
          
!
            
              $(document).ready(function(){
  document.getElementById("message").className = "left";  
});

$(function(){
  $("#cps").hover(function(){
   document.getElementById("message").className = "right";
  });
  $('#alaska').hover(function(){
    document.getElementById("message").className = "left";
  });
});
            
          
!
999px
Loading ..................

Console