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

              
                <meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Limelight" rel="stylesheet">
<div class="container">
 <body>
  <div class="row">
     <div class="col-md-6">
      <img class="img-responsive test" src="http://i.huffpost.com/gen/1375214/images/o-MILES-DAVIS-facebook.jpg" alt="miles davis pic" />
    </div>
    <div class="col-md-6">
      <h1 class="text-center">Introducing</h1>
      <h1 class="text-center">The Late Great</h1>
      <h1 class="text-center">Miles Davis</h1>
    </div>
  </div>

</div>
<div class="container-fluid">
   <hr />
</div>
<div class="container">
  <div class="row">
      <div class="col-md-6">
        <h2>Synopsis</h2>
      </div>
   </div> 
   <div class="row">
     <div class="col-md-12">
       <p>Instrumental in the development of jazz, Miles Davis is considered one of the top musicians of his era. Born in Illinois in 1926, he traveled at age 18 to New York City to pursue music. Throughout his life, he was at the helm of a changing concept of jazz. Winner of nine Grammy awards, Miles Davis died on September 28, 1991 from respiratory distress in Santa Monica, California.</p>
    </div>
  </div>
    <div class="row">
      <div class="col-md-6">
        <h2>Early Life</h2>
      </div>
   </div> 
   <div class="row">
     <div class="col-md-12">
       <p>The son of a prosperous dental surgeon and a music teacher, Miles Davis was born Miles Dewey Davis III on May 26, 1926, in Alton, Illinois. Davis grew up in a supportive middle-class household, where he was introduced by his father to the trumpet at age 13. Davis quickly developed a talent for playing the trumpet under the private tutelage of Elwood Buchanan, a friend of his father who directed a music school. Buchanan emphasized playing the trumpet without vibrato, which was contrary to the common style used by trumpeters such as Louis Armstrong, and which would come to influence and help develop the Miles Davis style.</p>
       <p>Davis played professionally while in high school. When he was 17 years old, Davis was invited by Dizzy Gillespie and Charlie Parker to join them onstage when the famed musicians realized they needed a trumpet player to replace a sick bandmate. Soon after, in 1944, Davis left Illinois for New York, where he would soon enroll at the Juilliard School (known at the time as the Institute of Musical Art).</p>
       <p>While taking courses at Juilliard, Davis sought out Charlie Parker and, after Parker joined him, began to play at Harlem nightclubs. During the gigs, he met several musicians whom he would eventually play with and form the basis for bebop, a fast, improvisational style of jazz instrumental that defined the modern jazz era</p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-6">
        <h2>Some of his music</h2>
     </div>
   
  </div>
  <div class="row">
    <div class="col-md-6 vid1">
      <iframe width="560" height="315"  src="https://www.youtube.com/embed/zqNTltOGh5c" frameborder="0" allowfullscreen></iframe>
    </div>
    <div class="col-md-6 vid1">
      <iframe width="560" height="315"  src="https://www.youtube.com/embed/ISnrLn4LnZs" frameborder="0" allowfullscreen></iframe>
    </div>
   </div>
   <div class="row">
     <div class="col-md-6">
       <h2>Learn More</h2>
     </div>
  </div>
  <div class="row">
      <div class="col-md-12">
        <p>If you would like to learn more about this magnificent trumpet player please follow this <a href="https://en.wikipedia.org/wiki/Miles_Davis">link</a></p>
    </div>
  </div>
  
</div>
<div class="container-fluid">
  <hr />
</div>
<div class="container">
  <h2 class="text-center">Disclaimer</h2>
  <p class="text-center">The written content on this site is not my own it has been obtained from <a href="http://www.biography.com/people/miles-davis-9267992">biography.com</a>
</div>
  
  </body>

              
            
!

CSS

              
                body {
  background-color: rgb(0,0,0);
  color:rgb(105, 103, 103);
}
.test {
  width: 90%;
  height:auto;
  margin-top:20px !important;
  margin: 0 auto;
  
}

.vid1, .vid2{
  margin: 0 auto;

}

a{
  color: #fff;
}

a:hover{
  text-decoration:none;
  color:orange;
}


h1 {
  font-family:Limelight;
  
  text-shadow: 2px 2px #FFF;
}

h2 {
  font-family:Limelight;
  text-shadow: 1px 1px #FFF;
  
}

p{
  font-size:20px;
}

@media screen and (max-width:768px) {
.vid1 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
}


/* Your styles for the iframe */
.vid1 iframe {
	
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
}
@media screen and (min-width:768px){ 
  h1 {
    font-size:68px;
  } 
}
              
            
!

JS

              
                
              
            
!
999px

Console