css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!--font references-->
<link href='https://fonts.googleapis.com/css?family=Petit+Formal+Script' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Crimson+Text' rel='stylesheet' type='text/css'>

<div class="container-fluid format-page">
  <div id="bg"></div>

  <body class="image-responsive">
    <h1 class="text-center">Joshua Lawrence Chamberlain</h1>
    <h3 class="text-center">1828 - 1914</h3>
    <img src="https://upload.wikimedia.org/wikipedia/commons/d/db/Joshua_Chamberlain_-_Brady-Handy.jpg" class="image-responsive center-image image-border" width="500" height="500">
    <div class="row text-border"></div>
    <div class="row">
      <div class="col-xs-6">
        <p class="body-text">Joshua Chamberlain was a professor, soldier, and politician from Maine, best known for his military service during the American Civil War. Chamberlain received the Congressional Medal of Honor for his heroic actions while leading the 20th Maine
          infantry regiment at the battle of Gettysburg in July 1863.</p>
        <p class="body-text padding">
          At Gettysburg, the 20th Maine was assigned the vital task of protecting the left flank of the entire Union army. They were stationed on a hill called "Little Round Top", one of two hills that the Confederate forces had great interest in capturing. Throughout
          the day on July 2, Chamberlain and his Maine troops withstood many assualts on the position, until their ammunition was nearly gone. When it became clear that the 15th Alabama regiment was mounting yet another attack, Chamberlain ordered a combined
          flanking maneuver and bayonet charge, an action which led to the surrender of the remaining rebel troops and resulted with the securing of the Union flank as well as securing Chamberlain a place in the history books.
        </p>
        <p class="body-text padding">
          Chamberlain went on to have a successful post-military career, returning to his previous post as a professor of rhetoric (amongst other subjects) at Bowdoin College. He went on to become the 6th president of the university, and later became the 32nd governor
          of Maine. To the right, is a list of Chamberlain's accomplishments.
        </p>
        <p class="body-text padding">
          To read more about Joshua Chamberlain, you can visit his <a href="https://en.wikipedia.org/wiki/Joshua_Chamberlain" target="_blank"> Wikipedia page</a>.
        </p>
        <p class="body-text padding">
          You can also visit <a href="http://www.joshualawrencechamberlain.com/" target="_blank"> joshualawrencechamberlain.com</a> for a number of informational resources, including primary sources.
        </p>
      </div>
      <div class "col-xs-6">
        <ul class="body-text">
          <li>Professor of rhetoric and linguistics at Bowdoin College</li>
          <li>Appointed lieutenant colonel and later colonel of the 20th Maine Regiment in 1862 and served in the following engagements:
            <ul class="body-text sub-list">
              <li>Fredericksburg</li>
              <li>Gettysburg</li>
              <li>Cold Harbor</li>
              <li>Petersburg</li>
              <li>White Oak Road</li>
              <li>Five Forks</li>
              <li>Appomattox</li>
            </ul>
            <li>Appointed Brevet Major General</li>
            <li>Appointed Brigadier General</li>
            <li>Officiated the surrender of Confederate troops at Appomattox</li>
            <li>Medal of Honor Recipient</li>
            <li>6th President of Bowdoin College</li>
            <li>32nd Governor of Maine</li>
            <li>Held various other positions in both public and private sector</li>
      </div>
    </div>
    </ul>
    <div class="row">
      <div class="container margin">
        <p>Paintings depicting Chamberlain at Gettysburg:</p>
        <span>
        <img class="footer-image image-margin" src="https://s-media-cache-ak0.pinimg.com/originals/fb/81/9f/fb819fec4655788fe171e99718523047.jpg">
      
    </span>
        <span>
        <img class="footer-image"  src=https://www.mortkunstler.com/product_images/403_2.jpg>
    </span>
      </div>
    </div>

</div>
</div>
<footer class="text-center">
  Designed and coded by Daniel Berry
</footer>
</body>
</div>
            
          
!
            
              .center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  margin-top: 50px;
  margin-bottom: 10px;
}

.image-border {
  border-color: gray;
  border-width: 10px;
  border-style: double;
  border-radius: 50%;
}

.text-border {
  border-style: double;
  border-color: black;
  border-width: 3px;
}

h1 {
  font-family: 'Petit Formal Script', cursive;
  font-weight: bold;
  font-size: 50px;
  color: black;
}

h3 {
  font-family: 'Petit Formal Script', cursive;
  font-weight: bold;
  font-size: 20px;
  color: black;
}

.body-text {
  font-size: 20px;
  font-family: 'Crimson Text', serif;
}


/*body {
    background-image: url("http://detroitnotaryservices.com/wp-content/uploads/2016/01/American-Flag-Background.png");
    background-color: #cccccc;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  
}*/

#bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://readingpops.com/wp-content/uploads/2013/08/o-AMERICAN-FLAG-facebook.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -1;
  opacity: 0.3;
}

.sub-list {
  list-style-position: inside;
}

.padding {
  margin-right: 100px;
}

.margin {
  margin-top: 100px;
}

.image-margin {
  margin-right: 50px;
}

.footer-image {
  border-color: gray;
  border-width: 10px;
  border-style: double;
  /*border-radius: 50%;*/
}

footer {
  border-top: thick double black;
  margin-top: 100px;
  padding-top: 50px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console