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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <link href="https://fonts.googleapis.com/css?family=Gloria+Hallelujah" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Baloo+Tamma" rel="stylesheet">
<div class="container">
  <div class="group-photo">
  <p class="photo-name">Red Hot Chili Peppers</p>
</div>
  <div class="drummer">
    <p class="photo-name">Chad Smith</p>
  </div>
  <div class="vocal">
    <p class="photo-name">Anthony Kiedis</p>
  </div>
  <div class="guitar">
    <p class="photo-name">John Frusciante</p>
  </div>
  <div class="bass">
    <p class="photo-name">Michael Balzary (Flea)</p>
  </div>
  <div class="content">
    <h1>Red Hot Chili Peppers (1983 - forever)</h1>
    <p>Red Hot Chili Peppers, also sometimes shortened to "The Chili Peppers" or abbreviated as "RHCP", are an American funk rock band formed in Los Angeles in 1983. The group's musical style primarily consists of rock with an emphasis on funk, as well as elements from other genres such as punk rock and psychedelic rock. When played live, their music incorporates elements of jam band due to the improvised nature of much of their performances. Currently, the band consists of founding members Anthony Kiedis (vocals) and Flea (bass), longtime drummer Chad Smith; and guitarist Josh Klinghoffer, who joined in late-2009, replacing John Frusciante. Red Hot Chili Peppers are one of the best-selling bands of all time with over 80 million records sold worldwide, have been nominated for sixteen Grammy Awards, of which they have won six and are the most successful band in alternative rock radio history currently holding the records for most number one singles, most cumulative weeks at number one and most top-ten songs on the Billboard Alternative Songs chart.</p>
    <ul> Studio albums
      <li>The Red Hot Chili Peppers (1984)</li>
      <li>Freaky Styley (1985)</li>
      <li>The Uplift Mofo Party Plan (1987)</li>
      <li>Mother's Milk (1989)</li>
      <li>Blood Sugar Sex Magik (1991)</li>
      <li>One Hot Minute (1995)</li>
      <li>Californication (1999)</li>
      <li>By the Way (2002)</li>
      <li>Stadium Arcadium (2006)</li>
      <li>I'm with You (2011)</li>
      <li>The Getaway (2016)</li>
    </ul>
    <div class="link">
      <p>To learn more about one of the greatest band in the world go to...<a href="https://en.wikipedia.org/wiki/Red_Hot_Chili_Peppers">Wiki</a> or click the pepper</p>
      <a href="http://redhotchilipeppers.com/" target="_blank"><img src="http://splash.abc.net.au/splash-image-servlet/mvcservlet/imageServlet/profile2/ABCSC764" width="150px" height="100px"></a>
    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  background: url("http://jaa.su/wp-content/uploads/2013/06/1050x700xScreen-Shot-2015-02-05-at-6.56.21-PM-1050x700.png.pagespeed.ic.-0nRYTc72P.jpg")fixed;
  background-size: cover;
}

.photo-name {
  font-family: 'Gloria Hallelujah', cursive; 
  font-size: 20pt;
  position: relative;
  top: 200px;
  left: 5px;
  color: black;
}

.group-photo {
  height: 250px;
  width: 300px;
  border: 10px solid white;
  border-bottom: 40px solid white;
  background: url("https://pp.vk.me/c12/u09217/3746/x_5d0844ac38.jpg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 80px;
  left: 500px;
  z-index: 5;
}

.drummer {
  height: 250px;
  width: 300px;
  transform: rotate(15deg);
  border: 10px solid white;
  border-bottom: 40px solid white;
  background: url("http://www.stadium-arcadium.com/main/images/bio_images/chad/chad-bio-main.jpg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 45px;
  left: 70px;
}

.vocal {
  height: 250px;
  width: 300px;
  transform: rotate(-5deg);
  border: 10px solid white;
  border-bottom: 40px solid white;
  background: url("http://modernrock.ru/wp-content/uploads/2013/07/anthony-kiedis-anthony-kiedis-13856202-1024-768.jpg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 320px;
  left: 250px;
}

.guitar {
  height: 250px;
  width: 300px;
  transform: rotate(-15deg);
  border: 10px solid white;
  border-bottom: 40px solid white;
  background: url("http://www.peoples.ru/art/music/rock/john_frusciante/frusciante_1.jpg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 4;
}

.bass {
  height: 250px;
  width: 300px;
  transform: rotate(15deg);
  border: 10px solid white;
  border-bottom: 40px solid white;
  background: url("http://thechilisource.com/wp-content/uploads/2011/04/img0001new.jpg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 290px;
  right: 250px;
  z-index: 3;
}

.content {
  height: 800px;
  width: 1000px;
  background: url("http://stadium-arcadium.com/images/red-hot-chili-peppers-road-trippin-through-time-asterisk-2011-rhcp-logo-530.jpg");
  background-size: auto;
  background-position: 50% 50%;
  position: absolute;
  top: 600px;
  left: 135px;
}

.content h1 {
  font-family: Baloo Tamma;
  text-align: center;
  font-size: 36px;
  color: white;
  padding-top: 20px;
}

.content p {
  font-family: Baloo Tamma;
  text-indent: 30px;
  text-align: justify;
  padding: 30px;
  font-size: 20px;
  color: white;
}

.content ul {
  font-family: Baloo Tamma;
  font-size: 20px;
  color: white;
  position: absolute;
  left: 30px;
  bottom: 5px;
}

.link {
  position: absolute;
  bottom: 50px;
  left: 500px;
  width: 500px;
  height: 50px;
  text-align: justify;
}
.link img {
  position: absolute;
  bottom: 50px;
  left: 200px;
}

              
            
!

JS

              
                
              
            
!
999px

Console