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

              
                
<!--Intro-->
<head class=silver-background>

 <div class="center-block img-responsive container-fluid" align="center">
   <h1 id="title"><strong>A Miner's Son Who Dreamt of Space</strong>
    <h4 id="sub-title"> The Life of Homer Hickman Jr.</h4>
  </h1>
  </div>
</head>
<body class=silver-background> 
  <div class=" container-img">
  
    <h2 class="center-block img-responsive" align="center">
    <img class="white-border" src="http://supicket.com/wp-content/uploads/2014/01/100625_HickamGC0049.jpg" alt="Homer Hickman Jr">

    </h2>
    <b id="imagesubtext" class="center-block img-responsive"  align="center">      
      Homer Hickman Jr.
    </b>
    
  </div>

 
<!-- Bullets -->
  <div id="bullets">
  <div class="center" >
    <h2 class="center-block timeline1"><b> Timeline</b></h2>
  <ul id="time-line2">
    <li>1943 - Born February 19th in Coalwood, West Virginia </li>
    <li>1960 - Graduated form Big Creek High School</li>
    <li>1964 - Graduated from Virginia Tech majoring in Industrial Engineering</li>
    <li>1964-70 Served in the Army and was awarded the Army Commendation Medal and a Bronze Star reaching the rank of Captain.</li>
      <li>1971-1978 Worked as an engineer for USAA in Huntsville, AL</li>
        <li>1978-1981 Worked as an engineer for 7th Army Training Command in Germany</li>
          <li>1981-1998 Worked as an aerospace engineer for NASA</li>
            </ul>
    </div>
      <div class="center">      
        <h2 class= "center-block timeline1"> <b>Literary career</b> </h2>
        <div>  
        <h3 class= ""> Coalwood Series </h3>
            <ul>
              <li> Rocket Boys</li>
                <li>The Coalwood Way</li>
                  <li>Sky of Stone</li>
                    <li>We are not Afraid</li>
                      <li> From Rocket Boys to October Sky</li>
                        </ul>
              </div>
          <div>
            <h3> Josh Thurlow Novels </h3> 
            <ul>
                          <li>The Keeper's Son</li>
                            <li>The Ambassador's Son</li>
                              <li>The Far Reaches</li>
                                </ul>
                                </div>
            <div>
           <h3> The Helium-3 Series </h3> 
           <ul>
                          <li>Crater</li>
                            <li>Crescent</li>
                              <li>Crater Trueblood</li>
                                </ul>
                                </div>
              <div>
           <h3> Other Works </h3>      
           <ul>
                           <li>P.A.C.O</li>
                             <li>Red Helmet</li>
                               <li>Back to the Moon</li>
                                 <li>Dinosaur Hunter</li>
                                   <li>My Dream of the Stars</li>
                                     <li>Back to the Moon</li>
                                       <li>Torpedo Junction</li>
                                         </ul>
                                         </div>
                           </div>
  </div>
              <!--

Button
-->
              <div >
                <h1 id="down"> <center>For more information on Homer or to purchase one of his books click the button below!</center></h1>
                
                <a class="btn btn-primary btn-default center-block container-fluid big-btn down"  href="http://homerhickam.com/" target="_blank">Homer's Site</a>
                
  
</body>

              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
}
.silver-background {
  background-color: #dddbdb;
  width: auto;
  
 
}
.white-border {
  border-color: white;
  border-width: 25px;
  border-style: solid;
}
.container-img{
  margin: 5%;
  border: 10px;
}
#title {
  text: 10px;
}

#imagesubtext{
  margin-top: -30px;
}
.button {
  background-color: #000000;
  color: #FFFFFF;
  float: right;
  padding: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
 .big-btn {
        width: 150px;
        height: 40px;
    }
.center{
    width:500px auto;
    margin:0 auto;
    text-align:left;
}
#title{
  font-size: 72px;
}
#sub-title{
  font-size: 45px;
}
#time-line2{
  font-size: 16px;
}
.down {
  margin-top: 25px;
}
h3{
  text-align: center;
  font-size: 20px
}
h2{
  text-align: center;
}

img {
    height: auto;
    max-width: 100%;
}

ul {
  padding: 0;
  text-align: center;
}

li {
  list-style-position: inside;
}
              
            
!

JS

              
                
              
            
!
999px

Console