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

              
                <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="./CSS/style2.css">
  <link rel="stylesheet" href="./CSS/mobile.css">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
  <link
  href="https://fonts.googleapis.com/css?family=Indie+Flower|Love+Ya+Like+A+Sister|Finger+Paint|Covered+By+Your+Grace"
  rel="stylesheet"/>
  <title>Charles M. Shulz | Tribute</title>
</head>
<body>
  <main id="main">
    <header>
  <section id="showcase">
   <h1 class="l-heading txt-center">Charles M. Schulz</h1>
   <p class="caption txt-center">One of the most influential cartoonists of all time</p>
   <div class="container">
     <div class="main-img"> </div>
      <p class="caption txt-center">Seen here in 1956 drawing his famous Charlie Brown character</p>
   </div>
  </section>
  </header>
  </main>
  <section id="timeline">
      <h2 class="m-heading txt-center">Timeline of his rise to fame:</h2>
    <div class="timeline-contents">
      <div class="timeline-1">
        <ul>
          <li>1922:</b> Born in Minneapolis, MN</li>
          <li>
            1937: Picture he drew and submitted of his dog appears in
            Ripley's Believe It or Not!
          </li>
          <li>
            1943: Drafted into United States Army to serve in World War
            II
          </li>
          <li>
            1947: First weekly comic, Li'l Folks, appears in the St
            Paul Pioneer Press
          </li>
          <li>
            1950: Sells Li'l Folks to United Feature Syndicate, who
            decides to rename the comic strip to Peanuts.
          </li>
          <li>
            1952: First full color version of Peanuts is published.
          </li>
        </ul>
      </div>
      <div class="timeline-2">
        <ul>
          <li>
            1955: Schulz won the Reuben award for "Outstanding
            Cartoonist of the Year" from the National Cartoonists Society
          </li>
          <li>
            1964: Won Reuben award for "Outstanding Cartoonist of the
            Year" making him the first person ever to recieve the award twice
          </li>
          <li>
            1965: A Charlie Brown Christmas, the first Peanuts animated
            television special, premiered on CBS
          </li>
          <li>
            1966: The Christmas special is awarded the George Foster
            Peabody Award and an Emmy Award.
          </li>
          <li>
            1967: You're A Good Man Charlie Brown debuted off-Broadway
          </li>
          <li>
            2000: Schulz dies in his sleep at home on February 12
          </li>
        </ul>
      </div>
      <div class="timeline-img">
        <img src="http://i64.tinypic.com/2pyp0g6.png" alt="cartoon">
      </div>
      </div>
  </section>
  <!-- SECTION: QUOTE -->
  <section id="quote">
      <blockquote class="txt-center">
          <p>
            "Be yourself. No one can say you're doing it wrong."<br>
                --Charles M.
            Schulz
          </p>
        </blockquote>
        <p class="comic-link txt-center">
            Click 
            <span class="comic-span"><i class="fas fa-arrow-right"></i>
        <a class="comic-link" href="https://www.peanuts.com/comics/"
          target="_blank">here</a>
           <i class="fas fa-arrow-left"></i></span>  to read the comics. </p>
  </section>
  <!-- FOOTER -->
  <footer class="txt-center">
Made with &hearts; by Kaylee Danuta &copy; 2019
  </footer>
</html>
              
            
!

CSS

              
                /* RESET */
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* MAIN STYLING */
html,body{
  background: #fff06d;
  font-family: "Covered By Your Grace", cursive;
  font-size: 1em;
  
}

h1,h2,h3{
  font-family: 'Love Ya Like A Sister', cursive;
  font-weight: 10;
  padding-top: 25px;
}

/* UTILITY */

.container{
  max-width: 800px;
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;

}

.txt-center{
  text-align: center;
}

.l-heading{
  font-size: 5em;
}

.m-heading{
  font-size: 2em;
	padding-bottom: 25px;
}

.caption{
  font-size: 1.6em;
  padding: 10px 0;
  line-height: 2;

}

/* SECTION: MAIN */

#showcase{
  margin: 
}

#showcase .main-img{
  background: url('http://i65.tinypic.com/23shvte.jpg') no-repeat center center/cover;
  height: 80vh;
  border-radius: 20px;
  border: 1px dashed #333;
}

/* SECTION: TIMELINE */

#timeline{
  margin: 0px 10px;
  padding: 20px 15px;
  border: 5px black dashed;
  background: #333;
  color: #f2f5f6;
  border-radius: 50px;
}

#timeline .timeline-contents{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: 1.4em;
  line-height: 1.6;
  

}

#timeline .timeline-1 ul, .timeline-2 ul{
  list-style-type: none; 
}

#timeline .timeline-1 li, .timeline-2 li{
  border-bottom: 2px black dotted;
}

#timeline .timeline-1{
  margin: auto;
  order: 1;
}

#timeline .timeline-2{
  margin: auto;
  order: 3;
}

#timeline .timeline-contents .timeline-img{
  order:2;
  padding-top: 55px;
  margin: 10px 15px;
}

/* SECTION: QUOTE */

#quote blockquote{
  font-size: 2.5em;
  padding-top: 40px;
  margin: 30px;
  background: #FFF8E8;
  border: 3px #333 dotted;
  border-radius: 45%;


}

#quote .comic-link{
  text-decoration: none;
  font-size: 1.5em;
  margin: 20px 0;
  padding-bottom: 15px;
}

#quote .comic-span{
  font-size: 1em;
}

#quote {
  font-size: 1.2em;
  /* background: #FFF5A2; */
}

#quote a{
  color: #333;
}

#quote a:hover{
  color: #fff;
}
#quote a:active{
  color: #7EE8FA;
  border: 3px solid black;
}



/* Section: FOOTER */
footer{
  background: #333;
  color: #fff8e8;
  font-size: 1.65em;
}

/* MOBILE */
@media only screen and (max-width: 600px) {
 /* MAIN STYLING */
html,body{
  background: #fff06d;
  font-family: "Covered By Your Grace", cursive;
  font-size: 1em;
  
}

h1,h2,h3{
  font-family: 'Love Ya Like A Sister', cursive;
  font-weight: 10;
  padding-top: 10px;
}

/* UTILITY */

.container{
  max-width: 500px;
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;

}

.txt-center{
  text-align: center;
}

.l-heading{
  font-size: 2em;
}

.m-heading{
  font-size: 2em;
}

.caption{
  font-size: 1.6em;
  padding: 10px 0;
  line-height: 2;

}

/* SECTION: MAIN */

#showcase{
  margin: 
}

#showcase .main-img{
  background: url('/IMG/main.jpg') no-repeat center center/cover;
  height: 40vh;
  border-radius: 20px;
  border: 1px dashed #333;
}

/* SECTION: TIMELINE */

#timeline{
  margin: 0px 10px;
  padding: 20px 15px;
  border: 5px black dashed;
  background: #333;
  color: #f2f5f6;
  border-radius: 50px;
}

#timeline .timeline-contents{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 1.4em;
  line-height: 1.6;
}

#timeline .timeline-1 ul, .timeline-2 ul{
  list-style-type: none; 
}

#timeline .timeline-1 li, .timeline-2 li{
  border-bottom: 2px black dotted;
}

#timeline .timeline-1{
  margin: auto;
  order: 1;
}

#timeline .timeline-2{
  margin: auto;
  order: 2;
}

#timeline .timeline-img{
  display: none;
}

/* SECTION: QUOTE */

#quote blockquote{
  font-size: 1.6em;
  padding-top: 40px;
  margin: 70px;
  background: #FFF8E8;
  border: 3px #333 dotted;
  border-radius: 75%;


}

#quote .comic-link{
  text-decoration: none;
  font-size: 1.5em;
  margin: 20px 0;
  padding-bottom: 15px;
}

#quote .comic-span{
  font-size: 1em;
}

#quote {
  font-size: 1.2em;
  /* background: #FFF5A2; */
}

#quote a{
  color: #333;
}

#quote a:hover{
  color: #fff;
}
#quote a:active{
  color: #7EE8FA;
  border: 3px solid black;
}



/* Section: FOOTER */
footer{
  background: #333;
  color: #fff8e8;
  font-size: 1.65em;
}
} 
              
            
!

JS

              
                
              
            
!
999px

Console