Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

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.

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

              
                <html>
  <head>
    <link href="https://fonts.googleapis.com/css?family=Lobster|Yanone+Kaffeesatz|Satisfy" rel="stylesheet" type="text/css">
  </head>
  <body>
    <div class="container-fluid">
      <h1 class="text-center">Whitney Houston</h1>
      <div class="row">
        <div class="col-md-5">
          <img src="https://sooofabulous.files.wordpress.com/2012/02/whitney-houston-fashion-41.jpg" class="img-responsive img-rounded">
        </div>
        <div class="col-md-7">
          <div class="spacing">
            <blockquote class="text-center">"I decided long ago never to walk in anyone's shadow; if I fail, or if I succeed at least I did as I believe." <span style="color: white;">-Whitney Houston</span></blockquote>
            <h2 class="date text-center">1963-2012</h2>
            <p>One of the greatest entertainers of all time. Whitney officialy debuted in 1985 with the album, Whitney Houston. Throughout the rest of her career, she continued to release hit after hit. Making her one of the most best-selling music artists of all time. From the church to magazines, from television to stages across the world. She was an inspiration to many in everything she did, and left behind a loving daughter na family that misses her very much. Her memory will live on forever through her family, fans, and
            music!</p>
            <p class="link text-center"><a href="https://en.wikipedia.org/wiki/Whitney_Houston" target="blank">Learn More!</a></p>
          </div>
          <div id="photos">
            <ul class="thumbnails">
              <li class="span4">
                <div class="img-hider">
                  <img src="https://nyoobserver.files.wordpress.com/2012/02/whitney-houston-performace.jpg?quality=80" class="thumbnail img-responsive">
                </div>
              </li>
              <li class="span4">
                <div class="img-hider">
                  <img src="http://www.highlightzz.com/wp-content/uploads/2015/07/Whitney-Houston-and-Bobbi-1993-mirror.co_.uk_.jpg" class="thumbnail img-responsive">
                </div>
              </li>
              <li class="span4">
                <div class="img-hider">
                  <img src="http://media.thecelebrityauction.co/picture/c/87/CwMdBE5KXR9LGhsIE00UBhlbCgFcFRYQCR0QH0QdGQQVFhZMHQgTTEVZRUFIQkFIU0BKQVIVXk1CUEJeBAFDVVlSRgxAWQQWRFFO/FlJGBkJaQEQDEUpcPAUNHRcZDA1ZDR0GFhcdC1kBGAsWHUgZAQwQBgwaAloLBhsSHF0PExU=.jpg" class="thumbnail img-responsive">
                </div>
              </li>
              <li class="span4">
                <div class="img-hider">
                  <img src="http://www.grammy.com/files/styles/full_width/public/photos/79823481.jpg?itok=7QuW4ACM" class="thumbnail img-responsive">
                </div>
              </li>
            </ul>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col-md-12 text-center footer col-xs-12">
          <p>Written and coded by <a href="https://codepen.io/EternalLocket/" target="blank">EternalLocket</a></p>
        </div>
      </div>
    </div>
  </body>
</html>
              
            
!

CSS

              
                h1 {
  font-family: Lobster;
  font-size: 6em;
  color: #330000;
  text-shadow: 1px 1px 3px #000000;
}

p {
  font-family: Yanone Kaffeesatz;
  font-size: 1.6em;
  color: lightgrey;
}

.row {
  marging-top: 60px;
  background-color: #330000;
  padding-top: 20px;
  border-radius: 1% 1% 0 0;
}

.spacing {
  margin: 0 2px 0 -10px;
  background-color: #4f2828;
  Border-radius: 6px;
  color: black;
  padding: 40px 6px 0px 6px;
}

a:link,
a:visited,
a:hover,
a:active {
  color: white;
  text-decoration: none;
}

blockquote {
  font-family: Satisfy;
  font-size: 2em;
  color: #cf9999;
}

.date {
  color: white;
  font-family: Satisfy;
  margin: 20px 0 40px 0;
}

#photos {
  margin: 100px 0 0 -34px;
}

.span4 {
  display: inline-block;
  margin: 4px;
}

.img-hider {
  width: 200px;
  height: 20px;
  background-color: white;
}

.thumbnail {
  visibility: hidden;
  border-radius: 0%;
}

.img-hider:hover .thumbnail {
  width: 200px;
  height: 300px;
  visibility: visible;
  -webkit-transition: all 0.01s ease;
  -moz-transition: all 0.01s ease;
  -o-transition: all 0.01s ease;
}

.footer {
  color: white;
  font-family: Lobster;
  font-size: 0.8em;
  padding-bottom: -10px;
  padding-top: 20px;
}
              
            
!

JS

              
                $(document).ready(function() {
  $(".img-hider").click(function() {
  $(".thumbnail").toggle( "slow", function() {
    // Animation complete.
  })
  });
});

//still needs work
              
            
!
999px

Console