123

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.

            
              <html>

<head>
  <title>Tribute Page - Margaret Hamilton</title>
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
</head>

<header>
  <h1>A Tribute to Margaret Hamilton</h1>
  <div>"The Engineer Who Took the Apollo to the Moon"</div>
</header>

<body>
  <div class="parallax">

    <div class="container">
      <ul class="list">
        <li>Margaret Hamilton was an American computer scientist who was one of the first computer programmers and coined the term "software engineer"</li>
        <li>
          <a href="http://news.mit.edu/sites/mit.edu.newsoffice/files/styles/news_article_image_top_slideshow/public/images/2016/margaret-hamilton-mit.jpg?itok=6qXuAWh3"><img src="http://news.mit.edu/sites/mit.edu.newsoffice/files/styles/news_article_image_top_slideshow/public/images/2016/margaret-hamilton-mit.jpg?itok=6qXuAWh3" class="image1" /></a>Hamilton worked at MIT’s Instrumentation Laboratory, which provided aeronautical technology for the National Aeronautics and Space Administration (NASA).</li>
        <li>Hamilton also developed software to detect system errors and to recover information in a computer crash. Both those elements were crucial during the Apollo 11 mission (1969), which took astronauts Neil Armstrong and Buzz Aldrin to the Moon.</li>

        <li>
          <a href="https://www.wired.com/wp-content/uploads/2015/10/001_3-featured.jpg"><img src="https://www.wired.com/wp-content/uploads/2015/10/001_3-featured.jpg" alt="Margaret Hamilton in 2015" width="600" height="300" class="image2" /></a>Hamilton left MIT in the mid-1970s to work in the private sector. She cofounded the
          company Higher Order Software in 1976 and established Hamilton Technologies 10 years later.</li>
        <br/>
        <br/>
        <li>
          <a href="https://ichef.bbci.co.uk/news/624/cpsprodpb/12B7/production/_92619740_3e699ed1-cb62-4d9c-9bf9-53a0c99cad35.jpg" alt="Margaret Hamilton receiving medal"><img src="https://ichef.bbci.co.uk/news/624/cpsprodpb/12B7/production/_92619740_3e699ed1-cb62-4d9c-9bf9-53a0c99cad35.jpg" width="600" height="300" class="image3" /></a>Hamilton was the recipient of various honours, including NASA’s Exceptional
          Space Act Award (2003). Pres. Barack Obama presented her with the Presidential Medal of Freedom in 2016.</li>
      </ul>
      <span>This and more information can be found here:<a href="https://www.britannica.com/biography/Margaret-Hamilton-American-computer-scientist">Encyclopedia Britannica</a></span>
    </div>
  </div>
</body>

</html>
            
          
!
            
              * {
  margin: 5px 5px 5px 5px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
}

html body {
  height: 100%;  
}

header {
  text-align: center;
  border: 1px solid black;
  padding: 25px 15px 15px 15px;
  height: 20%;
  background-color: white;
  position: relative;
  font-size: 200%;
}

.parallax {
  background-image: url("https://futurism.com/wp-content/uploads/2016/07/Margaret_Hamilton-1.gif");
  background-repeat: no-repeat;
  background-position: left-center;
  background-attachment: fixed;
  background-size: cover; 
}

.container {
  border: 1px solid black;
  position: relative;
  padding-top: 100%;
  background-color: rgba(255, 255, 255, 0.5); 
}

.list {
  padding: 2px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  color: black;
  font-size: 150%;
  line-height: 200%;
  list-style-position: inside;
}

.listheader {
  font-size: 130%;
  text-decoration: underline;
}

.image1 {
  float: right;
}

.image2 {
  float: left;
}

.image3 {
  float: right;
}

span {
  font-size: 180%;
  margin: 8%;
}

@media only screen and (max-device-width: 500px) {
  .parallax {
    background-image: none;
    padding-left: 100px;
    margin-left: -100;
    padding-right: 100px;
    margin-right: -100px;
  }
}

            
          
!
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.

Console