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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <head>
  <link rel="stylesheet" type="text/css"
          href="https://fonts.googleapis.com/css?family=Architects Daughter">
   <link rel="stylesheet" type="text/css"
          href="https://fonts.googleapis.com/css?family=Josefin Sans">
  <style>
    h1 {
      font-size: 92px;
    }
    img {
      display: block;
      margin: 0 auto;
    }
    li {
      font-size: 16px;
    }
    .main {
      margin: 50px 100px 0px 100px;
      border-radius: 15px;
      background-color: #ececec;
    }
    .headlines {
      font-family: Architects Daughter, sans-serif;
      text-align: center;
    }    
    .body-text {
      font-family: Josefin-sans, sans-serif;
    }
    .summary {
      padding: 7px;
    }
    .timeline{
      margin: 0px 50px 10px 50px;
    }
    .image-container {
      text-align: center;
    }
    .image-container figure {
      padding: 6px;
      box-shadow: 0 10px 12px #777;
      display: inline-block;   
      border: 1px solid black;
      text-align: center;
      margin: 3% 27%;  
      background-color: white;
      border-radius: 5px;
    }
    #wow{
      color: red;
      font-style: italic;
    }
  </style>
</head>
<body>
  <div class="well main container-fluid">
    <h1 class="headlines"><strong>Hachiko</strong></h1>
    <h3 class="headlines">THE WORLD'S MOST INSPIRING DOG</h3>
    <div class="image-container">    
      <figure>
        <img class="img-responsive" src="https://tinyurl.com/zuvuurt" target="_blank">
        <figcaption class="body-text" style="text-align:center">One of the few known images of Hachiko</figcaption>
      </figure>
    </div>
    <div class="timeline body-text">
      <p class="summary"><h4><strong><em>Remembered for remarkable loyalty to his owner &mdash; which continued for ten years after his owner's death &mdash; Hachiko has been held up in Japanese culture as an example of loyalty and fidelity. 
      </em></strong></h4></p>
      <br/>
      <h3><strong>Hachiko's Remarkable Life</strong></h3>
      <ul>
        <li><strong>1922 </strong> - Born November, 23 1923</li>
        <li><strong>1924 </strong> - Dr. Hidesaburo Ueno, a professor in the agriculture deparment at the University of Tokyo, takes Hachiko as a pet</li>
        <ul>
          <li id="wow">Remarkably, during Professor Ueno's life, Hachiko greeted him at the end of each day at the nearby Shibuya Train Station!</li>
        </ul>
        <li><strong>1925 </strong> - The pair continued their daily routine until May, 1925, when Professor Ueno did not return: He suffered a cerebral hemorrhage at work and died</li>
        <ul>
          <li id="wow"><em>For the next nine years, Hachiko waited at the Shibuya Train Station for his master's return!</em></li>
        </ul>
        <li><strong>1932 </strong> - One of Professor Ueno's students, Hirokichi Saito, frequently visits Hachiko and publishes several articles about Hachiko's loyalty, placing Hachiko in the national spotlight</li>
        <li><strong>1932 </strong> - After an article about Hachiko appears in the newspaper <em>Asahi Shimbun</em>, people start to bring Hachiko treats while he was on his vigil of waiting for Professor Ueno</li>
        <li><strong>1934 </strong> - A bronze statue of Hachiko is erected at Shibuya station &mdash; <em>Hachiko is present at its unveiling </em></li>
        <li><strong>1935 </strong> - Hachiko passes away at age 12 on March 8, 1935 and is buried beside Professor Ueno in Aoyama Cemetary, Tokyo</li>
        <li><strong>1948 </strong> - Hachiko's statue, which was recycled for the war effort, is recreated by the son of the original artist</li>       
        <li><strong>1987 </strong> - The story of Hachiko's life is told in the Japanese movie Hachiko Monogatari (literally "The Tale of Hachiko") and was considered a blockbuster success</li>        
        <li><strong>2004 </strong> - Two books about Hachiko are published, "Hachiko: The True Story of a Loyal Dog" and "Hachiko Waits"</li>
        <li><strong>2009 </strong> - Hachi: A Dog's Tale, starring actor Richard Gere, is released</li>        
        <li><strong>2011 </strong> - Scientists settle the cause of Hachiko's death: terminal cancer and a filaria infection</li>
        <li><strong>2015 </strong> - The Faculty of Agriculture of the University of Tokyo constructed a bronze statue, depicting Professor Ueno returning to meet Hachikō.</li>        
      </ul>
    </div>
    <blockquote class="shadow">Famous quotation:<br/><em><strong>
      "Woof, woof !  Woof, woof, woof !"
      </em></strong><br/>&mdash;Hachiko</blockquote>
    <div style="text-align: center">
    <p>To learn more about Hachiko, please visit this link: 
      <a href="https://en.wikipedia.org/wiki/Hachiko" target="_blank">Learn more</a>
    </p>
    </div>
  </div>
</body>
              
            
!

CSS

              
                blockquote {
  background: #FCFCFC;
  border-left: 10px solid #ccc;
  margin: 1.5em 30px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  box-shadow: 0 10px 12px #777;
}


              
            
!

JS

              
                
              
            
!
999px

Console