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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Hammersmith+One" />
<style>
  body{
    background-color: black;
    
  }
</style>
<div class="banner">
  <div class="wrapper">
    <h1>Tribute to Tupac:<br>Life &Legacy<h1>
  </div>
</div>
<ul class="albums ">
  <li><img class="resize" src="http://www.all2pac.com/wp-content/uploads/2012/07/tupac-gold-rings.jpg">
    <div class="album_res">
      <h2>TUPAC</h2> 
      
      <p class="info">Born Lesane Parish Crooks; June 16, 1971.He began his career as a roadie, backup dancer, and MC for the hip hop group Digital Underground. Both of his parents and several other people in his family were members of the Black Panther Party.Apart from his career in music, Shakur was also an actor, starring in six films and one TV show in the 1990s, including Poetic Justice (1993), Gang Related (1997) and Gridlock'd (1997).<br>Read<a href="https://en.wikipedia.org/wiki/Tupac_Shakur" target="_blank">more..</a></p>
      </>
  </li>
   <li><img class="resize" src="https://images.genius.com/c26da51ccc80214e9205caf266e5cb68.1000x975x1.jpg">
     <div class="album_res">
      <h2>2PACALYPSE NOW</h2>
      <p class="info">2Pacalypse Now is the debut studio album by 2Pac. It was released on November 12, 1991<br>The album addressed social issues affecting the American society especially racism and police brutality.<br>Click here to <a href="https://www.youtube.com/watch?v=Vv9Sy4OEpIc"target="_blank">listen</a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/fb1da91ac989d8c57dfce412441800da.953x953x1.jpg">
     <div class="album_res">
      <h2>STRICTLY 4 MY NIGGAZ</h2>
      <p class="info">This is the second studio album by Tupac, released by T.N.T. Recordings, Interscope Records and EastWest Records America on February 16, 1993.It spawned hits like "keep ya head up"& "I get around"<br>Click here to <a href="https://www.youtube.com/watch?v=ih96Yl8I28c"target="_blank">listen</a>to the full album</p>
  </li>
   <li> <img class="resize" src="https://images.genius.com/61ae9ca0c91a1b23ac61fe80c00f1c94.992x1000x1.jpg">
     <div class="album_res">
      <h2>ME AGAINST THE WORLD</h2>
      <p class="info">this is the 3rd studio album by Pac. It was released March 14, 1995. The album was released while Tupac was imprisoned.It won best rap album at the'96 Soul Train Music Awards. Lyrically, Shakur intentionally tried to make the album more personal and reflective.The album spawned the hit singles "Dear Mama","So many tears"<br>Click here to <a href="https://www.youtube.com/watch?v=v7PdRf3af5s"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/e47c72fcb1f2756daafc49dc5167d814.1000x1000x1.jpg">
     <div class="album_res">
      <h2>ALL EYEZ ON ME</h2>
      <p class="info">This is the 4th & last album to be released in 2Pac's lifetime.The album won the 1997 Soul Train R&B/Soul or Rap Album of the Year Award posthumously.[1][2] Shakur also won the Award for Favorite Rap/Hip-Hop Artist at the 24th Annual American Music Awards.The album had hits such as"california love ft Dr.Dre","2 of America's most wanted"<br>Click here to<a href="https://www.youtube.com/watch?v=8AhInjNehks&t=845s"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/a62fa62959f61140f4043ab0e2698867.1000x1000x1.jpg">
     <div class="album_res">
      <h2>The Don Killuminati:The 7 Day Theory</h2>
      <p class="info">This album was released almost 2 months after his death.It was released under his new stage name Makaveli.The album was finished in 7 days. It has the last 7 songs recorded by Pac before his fatal shooting.The album was supported by 3 singles: "Toss It Up", "To Live & Die in L.A" and "Hail Mary".<br>Click here to<a href="https://www.youtube.com/watch?v=A68a8uTDa9s&t=608s"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/4f924e981b74c6d754d2c9da26f83f15.500x500x1.png">
     <div class="album_res">
      <h2>R U Still Down?</h2>
      <p class="info">This is the 6th studio album and was released in 1997.The album produced two hits "Do for Love" and  "I Wonder If Heaven Got a Ghetto"<br>Click here to<a href="https://www.youtube.com/watch?v=lCLduR5AGRU"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/f7e2efca2c89058dd0336018329e0705.200x200x1.jpg">
     <div class="album_res">
      <h2>Untill the end of Time</h2>
      <p class="info">This is the seventh studio album, third posthumous album by Tupac which is certified 4x platinum by RIAA.A majority of the tracks were remixed from their original state.<br>Click here to<a href="https://www.youtube.com/watch?v=lCLduR5AGRU"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/ffdf1a2524fe2e28adf4f20a5f88d0d3.300x300x1.jpg">
     <div class="album_res">
      <h2>BETTER DAYZ</h2>
      <p class="info">This is the eighth studio album and fourth posthumous album by 2Pac, the third to be released without the artist's creative input and is the last to be a double-album.It was released on November 26, 2002.Majority of the 23 tracks are remixed,but some are complete finished mixes.<br>Click here to<a href="https://www.youtube.com/watch?v=If9BUPiTW_o"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/aff64f752ccfff1d48590e5db3c0357a.300x300x1.jpg">
     <div class="album_res">
      <h2>LOYAL TO THE GAME</h2>
      <p class="info">This is the 9th studio album and 5th posthumous studio album by Tupac Shakur. It contains remixes of previously unreleased music recorded by Shakur before his death in 1996. Released in the United States on December 14, 2004.The album was produced by Eminem.The album produced the hit single "Ghetto Gospel".<br>Click here to<a href="https://www.youtube.com/watch?v=lsl3gDWzvL8"target="_blank"> listen </a>to the full album</p>
  </li>
   <li><img class="resize" src="https://images.genius.com/b790bf08c8bdf4640b5b94b85ad0209f.907x900x1.jpg">
     <div class="album_res">
      <h2>Pac's life</h2>
      <p class="info">Pac's Life is the tenth studio album and sixth posthumous album by the late rapper 2Pac. The album was released on November 21, 2006.Its release date was designed to commemorate the tenth anniversary of his death.<br>Click here to<a href="https://www.youtube.com/watch?v=d0z9Px16iaY&list=PL85B2BBC8E986D06D"target="_blank"> listen </a>to the full album</p>
  </li>
    </ul>
<div class="nav">
  <div class="wrapper">
    
  </div>
    </div>
  
              
            
!

CSS

              
                $main: #99938E
$secondary: #D9D4CD
$tertiary: #1093D7
*
  box-sizing: border-box

  

html,body
  margin: 0
  padding: 0
  font-family: "ubuntu condensed",helvetica,sans-serif
.wrapper
  width: 1140px
  max-width: 90%
  margin: 0 auto
  
.banner
  background: $main
  height: 300px
  font-style: hammersmith one
  h1
    color: white
    text-transform: uppercase
    padding: 2em
    margin: 0
    font-size: 4em
    line-height: .85
    font-style: Hammersmith One 
.albums
  padding: 0
  list-style: none
  li
    display: inline-block
    position: relative
    overflow: hidden
    transition: transform 0.4s, opacity 0.1s 0.3s
       
    .album_res
      background: rgba($tertiary, 0.60)
      padding: 2em
      height: 100%
      width: 100%
      position: absolute
      top: auto
      bottom: 0
      opacity: 0 
      transform: translateY(100%)
      transition: transform 0.4s, opacity 0.1s 0.3s
        
      h2
        color: white
        font-size: 2em
        line-height: 1
        text-transform: uppercase
        font-size: 2em
        padding-bottom: 0px
.resize
  width: 300px
  height: 400px
  
  
 
li:hover
  img
    transform: scale(1.5)
    transition: transform 0.4s, opacity 0.1s 0.3s
  .album_res
    opacity: 1
    transform: translateY(0px)
    transition: transform 0.4s, opacity 0.1s
  
.nav
  background: $secondary
  height: 50px
  padding: 1.25em
  padding-bottom: 1em
  a
    text-transform: uppercase
    font-size: 1em
    text-decoration: none
    color: black
    font-weight: 400
    padding: 6em 2em
    &:hover
      color: $tertiary

    
    
              
            
!

JS

              
                
              
            
!
999px

Console