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

              
                <!--  Splash page  -->
<section>
  <div class="container"> 
   <div class="row">
   
      <div class="col-xs-9">
      <h2>Steve Jobs:</h2>
      <h1>Here's to the Crazy Ones</h1>
        <p>
          <a href="#crazyOnes">
          <div class="btn btn-primary btn-lg">
            <i class="fa fa-play-circle text-primary" aria-hidden="true"></i>
            Video
          </div></a>
          
          <a href="#timeline">
          <div class="btn btn-primary btn-lg" id="timelinebtn"><i class="fa fa-calendar-o" aria-hidden="true"></i>
 Timeline</div>
          </a>
        </p>
        
      </div>      
    </div>
  </div>
</section>

<!--  Jobs Timeline  -->
<!-- <img class1="smaller-image" class="thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. "> -->

<div class="jumbotron" id="timeline">
 
      <div class="container">
        <div class="row">


      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> February 24, 1955</strong><br />
        <p>Born Steven Paul Jobs</p>
        
        <p><strong>Adoptive Father: </strong>Paul Jobs <br />
          <strong>Adoptive Mother: </strong>Clara Jobs</p>
        
        <p><strong>Biological Father: </strong>Abdulfattah Jandali <br />
        <strong>Biological Mother: </strong>Joanne Schieble Simpson</p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1968</strong><br />
        <p>Attended Homestead High School in Silicon Valley with <a href="https://en.wikipedia.org/wiki/Bill_Fernandez" target="_blank">Bill Fernandez</a>, Apple's first employee who would introduce Steve to <a href="https://en.wikipedia.org/wiki/Steve_Wozniak" target="_blank">Steve Wozniak.</a> </p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1972</strong><br />
        <p>Attended Reed College in Portland, Oregon.</p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1973</strong><br />
        <p>Worked at Atari as a technician.</p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1976</strong><br />
        <p>Apple Computer is founded in Jobs' home garage in Los Altos after Wozniak invented Apple I.</p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1977</strong><br />
        <p>Jobs and Wozniak introduced the Apple II at the West Coast Computer Faire. It was the first consumer product sold by Apple Computer and was one of the first highly successful mass-produced microcomputer products. <a href="https://en.wikipedia.org/wiki/Steve_Jobs#Homestead_High" target="_blank">Source</a></p>
      </div>
      
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> 1984</strong><br />
        <p>Apple introduced the Macintosh, which was based on <a href="https://en.wikipedia.org/wiki/Apple_Lisa" target="_blank">The Lisa</a>. The following year, Apple aired a Super Bowl television commercial titled "1984."
          </p>
          <p>At Apple's annual shareholders meeting on January 24, 1984, an emotional Jobs introduced the Macintosh to a wildly enthusiastic audience; Andy Hertzfeld described the scene as "pandemonium."</p>
      </div>
    
      <div class="col-md-7">
        <strong class="date"><i class="fa fa-dot-circle-o" aria-hidden="true"></i> September 17, 1985</strong><br />
        <p>Jobs turned in a letter of resignation to the Apple Board. Five additional senior Apple employees also resigned and joined Jobs in his new venture, <a href="https://en.wikipedia.org/wiki/NeXT" target="_blank">NeXT</a>.</p>
      </div>
      
    </div>
  </div>
</div>

<!--  Here's to the crazy ones video  -->

<div class="jumbotron" id="crazyOnes">
   <div class="container">
     <div class="row">
      <div class="col-xs-12">
        <iframe width="100%" height="620px" src="https://www.youtube.com/embed/-z4NS2zdrZc?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen>
        </iframe>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .thick-green-border{
  border: 6px green solid;
}

section{
  margin-bottom: 0px;
  
  h1{
      font: {
        size: 8em;
      }
      padding: {
        bottom: 25px;
      }
      
    }
  
    h2{
      text-transform: uppercase;
  }
  
  &:nth-child(1) {
    
    color: white;
    background: {
      image: url(https://applemagazine.com/wp-content/uploads/2014/01/Steve-Jobs.jpg);
      position: center;
      size: cover;
      }
    padding:{
      top:10%;
      bottom:25%;

    }
    
    a {
       color: white;
       text-decoration: none;
      }
    
    .fa{
      // font-size: 6em;
      color: white;
    }
  }
  
  
}

.jumbotron{
  margin-bottom: 0px;
  
  h1{
      font: {
        size: 8em;
      }
      padding: {
        bottom: 25px;
      }
      
    }
  
    h2{
      padding-top: 25%;
      text-transform: uppercase;
  }
  
  
  &:nth-child(2){
    text-align: left;
    padding: {
      top: 10%;
      bottom: 10%;
    }
    
    div {
      margin-bottom: 25px;
      
      p {
        padding-left: 25px;
        font: {
          size: 1em;
        }
      }
    }
    
    i {
      margin: {
        // bottom: 20px;
      }
    }
    
  }
  
  &:nth-child(3){
    background-color: #090909;
    
    padding: {
      top:5%;
      bottom: 5%;
    }
  }
  
  
}

.date {
  font: {
    size: 1.6em;
  }
}

#timelinebtn{
  margin: {
    left: 15px;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console