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


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


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.


                <link rel="stylesheet" type="text/css"

<link rel="stylesheet" href="//"/>

<script src=""></script>

<div  class="jumbotron">
<div class="container-fluid text-center"> <br><br><br><br><br><br><br><br><br><h1>Calvin and Hobbes</h1>
  <h2 class="text-center"><small>Bill Watterson</small></h2> 
  <a class="smoothScroll " href="#image"><i class="fa fa-angle-down fa-2x" aria-hidden="true"></i> </a>


  <div class="jumbotron"><br>
  <a class="smoothScroll " href="#down"><center><img id="image" src="" width="700" height="500"> </center>
    </a> </div>

<div class="jumbotron">
  <h1 id="down" class="text-center" > Timeline </h1>
  <p><ul class="fa-ul text-center "> 
    <li><h3><span class="label label-default">Nov 18, 1985</h3></span>
      First Calvin and Hobbes comic strip </li>
    <li><h3><span class="label label-default">May 5, 1991-February 1, 1992 </h3></span>
    Extended break</li>
    <li><h3><span class="label label-default">April 3, 1994-December 31, 1994 </span></h3>
      Extended break</li>

    <li><h3><span class="label label-default">Dec 31, 1995 </h3></span>
      Calvin and Hobbes final strip</li>
    <li><h3><span class="label label-default">Nov 18, 2005 </h3></span>
      Calvin and Hobbes 20th Anniversary</li>
   <a class="smoothScroll " href="#wiki"><i class="fa fa-angle-down fa-2x" aria-hidden="true"></i> </a>
    </ul> </p>

  </div> </div>

<div id="wiki"class="jumbotron">
  <center><a href=""><i class="fa fa-2x fa-wikipedia-w" aria-hidden="true"></i></a><h4>Know more about Calvin and Hobbes</h4></center>
  <br><br><br><br><br><br><br> </div>




.jumbotron {
  background-color:transparent!important; }

.btn-primary-outline {
  background-color:transparent ;
  border-color: #FFFF00;



                $(function() {
  // This will select everything with the class smoothScroll
  // This should prevent problems with carousel, scrollspy, etc...
  $('.smoothScroll').click(function() {
    if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
      if (target.length) {
          scrollTop: target.offset().top
        }, 1000); // The number here represents the speed of the scroll in milliseconds
        return false;

// Change the speed to whatever you want
// Personally i think 1000 is too much
// Try 800 or below, it seems not too much but it will make a difference