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

              
                <html>
  <head>
  <title>A Tribute to Bread</title>
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Arima+Madurai|Noticia+Text" rel="stylesheet">
   </head>
<body>
  
<div id="main">

  <header>
    <h1 id="title">BREAD</h1>
    <div id="img-div">
      <img src="https://res.cloudinary.com/jolls/image/upload/v1531462592/bread.jpg" alt="Hands holding bread" id="image">
      <div id="img-caption">"The art of bread making can become a consuming hobby, and no matter how often and how many kinds of bread one has made, there always seems to be something new to learn."</br>
    - Julia Child</div>
    </div>
  </header>
  
  <div id="tribute-info">
    <p>
   <img src="https://res.cloudinary.com/jolls/image/upload/v1533064547/bread-icon.png" alt="Bread icon" class="bread-icon">
    </p>
    <p>Bread is humanity's oldest cooked food, and its ubiquitous presence around the world is a testament to humankind's cleverness, resilience, and evolution into the societies we comprise today. Let's look at all the ways bread has developed around the world!<br><br>
      <img src="https://res.cloudinary.com/jolls/image/upload/v1533588121/bread-icon2.png" class="bread-icon"><br>
    <table>
      <colgroup>
        <col span="1" style="background-color:#e5b452; width:17%;">
        <col span="2" style="background-color:#f5f3f2;">
      </colgroup>
      <tr>
        <td class="table-col1">~10000 BCE</td>
        <td>Signs of bread's earliest form, charred remains of a flat bread of flour and water, found in modern day Jordan</td>
      </tr>
      <tr>
        <td class="table-col1">3500 BCE</td>
        <td>Earliest uses of fermentation first noted in breadmaking around Southern Europe</td>
      </tr>
      <tr>
        <td class="table-col1">~3000 BCE</td>
        <td>Ancient Egyptions become the first civilization to bake leavened bread</td>
      </tr>
      <tr>
        <td class="table-col1">800 BCE</td>
        <td>Mesopotamians use animals or slaves to rotate large stones for grinding grain, a much more refined mill</td>
      </tr>
      <tr>
        <td class="table-col1">~202 BCE</td>
        <td>The watermill was first invented by the Chinese for use in grinding grains</td>
      </tr>
      <tr>
        <td class="table-col1">~150 BCE</td>
        <td>The first Bakers Guild was formed in Rome, baking bread for the upperclass and sometimes the poor in times of need. Bakeries flourished in this way for many centuries prior to industrialization</td>
      </tr>
      <tr>
        <td class="table-col1">1786</td>
        <td>Steam power was first used to run a flour mill in Battersea, England</td>
      </tr>
      <tr>
        <td class="table-col1">1860</td>
        <td>Through early microscopes, yeast is discovered as the catalyst for bread fermentation and leavening—although yeast had been used in bread for thousands of years already</td>
      </tr>
      <tr>
        <td class="table-col1">1869</td>
        <td>Baking powder is invented by chemist Eben Horsford, allowing bakers to produce "quick breads"</td>
      </tr>
      <tr>
        <td class="table-col1">1870</td>
        <td>White flour is invented by millers using only the endosperm of the grain</td>
      </tr>
      <tr>
        <td class="table-col1">1908</td>
        <td>The electric mixer is first invented</td>
      </tr>
      <tr>
        <td class="table-col1">1919</td>
        <td>The pop-up toaster is invented, revolutionizing the way people ate bread at home</td>
      </tr>
      <tr>
        <td class="table-col1">1928</td>
        <td>The invention of the commercial bread slicer brought about the ubiquitous modern sliced bread</td>
      </tr>
      <tr>
        <td class="table-col1">1940</td>
        <td>Enriched white bread hit the market as Continental Baking began adding vitamins and minerals combat certain diseases</td>
      </tr>
      <tr>
        <td class="table-col1">1961</td>
        <td>The invention of the Chorleywood bread process further revolutionized commercial breadmaking—the process could make a batch of bread in 3.5 hours</td>
      </tr>
      <tr>
        <td class="table-col1">1986</td>
        <td>Japanese company Matsushita (now Panasonic) invents the home bread machine</td>
      </tr>
    </table><br><br>
    <img src="https://res.cloudinary.com/jolls/image/upload/v1533588281/toaster.png" class="bread-icon"><Br><center>
    If you're interested in learning <em>so much more</em> about bread, you can do so at the following websites!<br>
    <a href="https://en.wikipedia.org/wiki/History_of_bread" target="_blank">Wikipedia: History of Bread</a> • <a href="https://www.preceden.com/timelines/284041-history-of-bread" target="_blank" id="tribute-link">Preceden: History of Bread Timeline</a> • <a href="https://www.allrecipes.com/recipes/156/bread/" target="_blank">Allrecipes: Bread Recipes</a></center>
      </p>
  </div>



  </div>
</body>
</html>
              
            
!

CSS

              
                #main {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  padding: auto;
  background-color: #eae7e3;
  font-family: 'Noticia Text'', serif;
}

header {
  position: relative;
  text-align: center;
  width: 100%;
  height: auto;
}

#image {
  max-width: 100%;
  display: block;
  height: auto;
  margin: auto;
}

#img-caption {
  max-width: 1000px;
  height: auto;
  text-align: center;
  font-family: 'Arima Madurai', serif;
  font-size: 20px;
  padding: 15px;
  margin: 15px;
}

#title {
  margin: auto;
  position: absolute;
  z-index: 1000;
  height: 100%;
  width: 100%;
  color: white;
  font-family: 'Abril Fatface', serif;
  text-shadow: 3px 2px #281E18;
  letter-spacing: 0.4em;
  z-index: 99;
  padding: 25% 12%;
  font-size: 15vw;  
}

/* Stops text from scaling past image max */
@media (min-width: 1000px) {
  #title {
    padding: 250px 125px;
    font-size: 150px;
  }
}

#tribute-info {
  height: auto;
  margin: 20px;
  padding: 20px;
}

table {
  max-width: 700px;
  margin: auto;
}

.bread-icon {
  width: 8%;
  height: auto;
  display: block;
  margin: auto;
}

td {
  padding: 8px;
}

.table-col1 {
  font-weight: bold;
  text-align: right;
}



              
            
!

JS

              
                

              
            
!
999px

Console