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

              
                <div id="main">
<div class="container">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12">
        <h1 id="title"><strong>Jim Morrison</strong></h1>
        <h2 class="text-center"><em>The doors of perception</em></h2>
        <div id="img-div">
          <div class="thumbnail">
            <img id="image" src="https://www.billboard.com/files/media/the-doors-1960s-billboard-1548.jpg" alt= "Jim and his band">
            <div id="img-caption">Jim Morrison first from the left, photo in studio with his band "The DOORS"</div>
          </div>
        </div>
        <div id="tribute-info">
          <div class="col-sx-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
            <h3>Here's few dates of Morrison's life</h3>
            <ul>
              <li><strong>1943</strong> James Douglas Morrison (December 8, 1943 – July 3, 1971) was an American singer, songwriter, and poet, best remembered as the lead singer of the Doors. Due to his poetic lyrics, distinctive voice, wild personality, performances, and the dramatic circumstances surrounding his life and early death, Morrison is regarded by both music critics and fans as one of the most iconic and influential frontmen in rock music history.</li>
              <li><strong>1964–65</strong> In January 1964, Morrison moved to Los Angeles to attend the University of California, Los Angeles (UCLA). Shortly thereafter on August 2, 1964, Morrison's father, George Stephen Morrison, commanded a carrier division of the United States fleet during the Gulf of Tonkin Incident, which resulted in the United States' rapid escalation of the Vietnam War. At UCLA, Morrison enrolled in Jack Hirschman's class on Antonin Artaud in the Comparative Literature program within the UCLA English Department. Artaud's brand of surrealist theatre had a profound impact on Morrison's dark poetic sensibility of cinematic theatricality. Morrison completed his undergraduate degree at UCLA's film school within the Theater Arts department of the College of Fine Arts in 1965.</li>
              <li><strong>1965</strong> Morrison co-founded the Doors during the summer of 1965 in Venice, California. The band spent two years in obscurity until shooting to prominence with their #1 single in the United States, "Light My Fire", taken from their self-titled debut album. Morrison recorded a total of six studio albums with the Doors, all of which sold well and received critical acclaim.</li>
              <li><strong>1971</strong> Morrison joined Pamela Courson in Paris in March 1971, at an apartment he had rented on the rue Beautreillis (in the 4th arrondissement of Paris on the Right Bank). In letters he described going for long walks through the city, alone. During this time, he shaved his beard and lost some of the weight he had gained in the previous months. He died on July 3, 1971 at age 27. He was found by Courson in a bathtub at his apartment. The official cause of death was listed as heart failure,better source needed although no autopsy was performed, as it was not required by French law. His death was two years to the day after the death of Rolling Stones guitarist Brian Jones, and approximately nine months after the deaths of Jimi Hendrix and Janis Joplin.</li>
            </ul>
            <blockquote>
              <p>People are afraid of themselves, of their own reality; their feelings most of all. People talk about how great love is, but that's bullshit. Feelings are disturbing. People are taught that pain is evil and dangerous. How can they deal with love if they are afraid to feel. Pain is meant to wake us up. People try to hide pain but they're wrong. Pain is something to carry, like a radio. You feel your strength in the experience of pain. It's all in how you carry it.</p>
              <footer><cite>Jim Morrison</cite></footer>
            </blockquote>
            <h3>More about Jim here <a id="tribute-link" href="https://en.wikipedia.org/wiki/Jim_Morrison" target="_blank">Wikipedia</a>.</h3>
          </div>
        </div>  
      </div>
    </div>
  </div>
  <footer class="text-center">
    <hr><p>First Training by <a href="https://codepen.io/dotpot420/" target="_blank">DotPot420</a></p></footer>
</div>
</div> 
              
            
!

CSS

              
                body {
  margin-top: 60px;
}
.jumbotron{
  background-color: #dee6f4;
}
h1,blockquote {
  font-family:'Playfair Display';
}
h2,h3,li{
  font-family:"PT Sans";
}
#title {
  text-align: center;
}
#img-caption {
  text-align: center;
}
h3 {
  text-align: center;
}
strong {
  font-size: 1.2em;
}
li {
  margin-bottom: 2%;
}
              
            
!

JS

              
                
              
            
!
999px

Console