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.

            
              <!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">
  <title>General Robert Baden-Powell - Tribute Page</title>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy"
    crossorigin="anonymous">
  <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500" rel="stylesheet">
  <link href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/ekko-lightbox.css" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
  <div class="container" id="main">
    <header class="title">
      <h1 id="title">General Robert Baden-Powell</h1>
      <h2>Founder of the International Scouting Movement</h2>
      <figure id="img-div">
        <img id="image" src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/baden-powell.jpg" alt="R. Baden-Powell with scouts"
        />
        <figcaption id="img-caption">
          In the center General Robert Baden-Powell during Imperial Jamboree in Olympia, London 1924. Credit: Getty Images.
        </figcaption>
      </figure>
    </header>

    <main>

      <section class="timeline" id="tribute-info">

        <h1>TIMELINE</h1>
        <div id="accordion" role="tablist">
          <div class="card">
            <div class="card-header" role="tab" id="headingOne">
              <h5 class="mb-0">
                <a data-toggle="collapse" href="#collapseOne" role="button" aria-expanded="true" aria-controls="collapseOne">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1857 - Robert Baden-Powell Birth
                </a>
              </h5>
            </div>
            <div id="collapseOne" class="collapse show" role="tabpanel" aria-labelledby="headingOne" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-family.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-family.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Born in Paddington, London, England</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingTwo">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseTwo" role="button" aria-expanded="false" aria-controls="collapseTwo">
                  <i class="fas fa-chevron-circle-right"></i>
                  20 February 1876 - Baden-Powell joins army
                </a>
              </h5>
            </div>
            <div id="collapseTwo" class="collapse" role="tabpanel" aria-labelledby="headingTwo" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/young_BP.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/young_BP.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Joined the British army and appointed as Sub-lieutenant for the 13th Hussars in Lucknow,
                  India, and specialised in scouting, map-making and reconnaissance</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingThree">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseThree" role="button" aria-expanded="false" aria-controls="collapseThree">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1899 - Baden-Powell’s Successful Defense of Mafeking Town
                </a>
              </h5>
            </div>
            <div id="collapseThree" class="collapse" role="tabpanel" aria-labelledby="headingThree" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/mafeking.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/mafeking.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Declared a hero for successfully defending the Mafeking Town during the Boer War
                  and was promoted to Major-General by Queen Victoria</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingFour">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseFour" role="button" aria-expanded="false" aria-controls="collapseFour">
                  <i class="fas fa-chevron-circle-right"></i>
                  01 August 1907 - Baden-Powell Organised the Experimental Camp
                </a>
              </h5>
            </div>
            <div id="collapseFour" class="collapse" role="tabpanel" aria-labelledby="headingFour" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/brownsea.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/brownsea.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Held a seven-day experimental camp for 20 boys on Brownsea Island, Dorset, England</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingFive">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseFive" role="button" aria-expanded="false" aria-controls="collapseFive">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1910 - Baden-Powell Retired from the British Army
                </a>
              </h5>
            </div>
            <div id="collapseFive" class="collapse" role="tabpanel" aria-labelledby="headingFive" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/general-bp.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/general-bp.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Retired from the British army as Lieutenant General and focused on the Scout Movement</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingSix">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseSix" role="button" aria-expanded="false" aria-controls="collapseSix">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1912 - Baden-Powell’s Marriage
                </a>
              </h5>
            </div>
            <div id="collapseSix" class="collapse" role="tabpanel" aria-labelledby="headingSix" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-wife.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-wife.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Married Olave St Clair Soames and subsequently had three children – Arthur, Heather
                  and Betty
                </h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingSeven">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseSeven" role="button" aria-expanded="false" aria-controls="collapseSeven">
                  <i class="fas fa-chevron-circle-right"></i>
                  19 February 1913 - Baden-Powell Established a Training Centre for Scout Leaders
                </a>
              </h5>
            </div>
            <div id="collapseSeven" class="collapse" role="tabpanel" aria-labelledby="headingSeven" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/gilwell.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/gilwell.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Started Gilwell Park Training Centre for Scout Leaders in London, England</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingEight">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseEight" role="button" aria-expanded="false" aria-controls="collapseEight">
                  <i class="fas fa-chevron-circle-right"></i>
                  30 July 1920 - Baden-Powell Acclaimed Chief Scout of the World
                </a>
              </h5>
            </div>
            <div id="collapseEight" class="collapse" role="tabpanel" aria-labelledby="headingEight" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/bp.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/bp.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Acclaimed Chief Scout of the World at the 1st World Scout Jamboree in London, England</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingNine">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseNine" role="button" aria-expanded="false" aria-controls="collapseNine">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1925 - Baden-Powell Opened the International Scout Chalet
                </a>
              </h5>
            </div>
            <div id="collapseNine" class="collapse" role="tabpanel" aria-labelledby="headingNine" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/kandersteg.jpeg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/kandersteg.jpeg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Opened the International Scout Chalet in Kandersteg, Switzerland (now known as the
                  Kandersteg International Scout Centre)</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingTen">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseTen" role="button" aria-expanded="false" aria-controls="collapseTen">
                  <i class="fas fa-chevron-circle-right"></i>
                  22 February 1929 - Baden-Powell Created a Peer
                </a>
              </h5>
            </div>
            <div id="collapseTen" class="collapse" role="tabpanel" aria-labelledby="headingTen" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/bp-with-prince-of-wales.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/bp-with-prince-of-wales.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Made Lord Baden-Powell, 1st Baron of Gilwell, by King George V</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingEleven">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseEleven" role="button" aria-expanded="false" aria-controls="collapseEleven">
                  <i class="fas fa-chevron-circle-right"></i>
                  19 February 1937 - Baden-Powell Built His African Home
                </a>
              </h5>
            </div>
            <div id="collapseEleven" class="collapse" role="tabpanel" aria-labelledby="headingEleven" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/paxtu.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/paxtu.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Built and lived at his home, Paxtu cottage, in Nyeri, Kenya</h5>
              </div>
            </div>
          </div>
          <div class="card">
            <div class="card-header" role="tab" id="headingTwelve">
              <h5 class="mb-0">
                <a class="collapsed" data-toggle="collapse" href="#collapseTwelve" role="button" aria-expanded="false" aria-controls="collapseTwelve">
                  <i class="fas fa-chevron-circle-right"></i>
                  08 January 1941 - Baden-Powell Death
                </a>
              </h5>
            </div>
            <div id="collapseTwelve" class="collapse" role="tabpanel" aria-labelledby="headingTwelve" data-parent="#accordion">
              <div class="card-body">
                <a href="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-grave.jpg" data-toggle="lightbox">
                  <img src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/BP-grave.jpg" class="img-fluid thumbnail">
                </a>
                <h5 class="description">Baden-Powell died on 8 January 1941 and is buried at St. Peter's Cemetery in Nyeri,
                  Kenya.
                </h5>
              </div>
            </div>
          </div>
        </div>
      </section>

      <section class="quotes">
        <h1>B-P's QUOTES</h1>
        <div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
          <div class="carousel-inner">
            <div class="carousel-item active">
              <img class="d-block w-100" src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/quote1.jpg" alt="Quote One">
            </div>
            <div class="carousel-item">
              <img class="d-block w-100" src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/quote2.jpg" alt="Quote Two">
            </div>
            <div class="carousel-item">
              <img class="d-block w-100" src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/quote3.jpg" alt="Quote Three">
            </div>
          </div>
          <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
          </a>
          <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
          </a>
        </div>
      </section>
      <section class="reference">
        <p class="read-more">
          If you have time, you should read more about this incredible human being on<br /><a href="https://www.scout.org/"
            class="read-more" id="tribute-link" target="_blank">Scout Movement official site.</a>
        </p>
      </section>
      </div>
    </main>

    <div class="footer">
      <p>
        Written & coded by <a href="mailto:anna@mywebgraphicdesign.com">Anna Szałkiewicz</a>. Copyright &copy; 2018
      </p>
    </div>
  </div>

  <script src="app.js"></script>
  <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
    crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
    crossorigin="anonymous"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.min.js" integrity="sha384-a5N7Y/aK3qNeh15eJKGWxsqtnX/wWdSZSKp+81YjTmS15nvnvxKHuzaWwXHDli+4"
    crossorigin="anonymous"></script>
  <script src="https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/ekko-lightbox.js"></script>
  <script>
    $(document).on('click', '[data-toggle="lightbox"]', function (event) {
      event.preventDefault();
      $(this).ekkoLightbox();
    });
  </script>
</body>

</html>
            
          
!
            
              * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #f2f2f2;
  background-image: url('https://mywebgraphicdesign.com/tribute-page-robert-baden-powell/wosm-logo.jpg');
  background-position: right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
}
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem !important;
  text-align: center;
  padding-top: 50px;
  color: #4A0026 !important;
  padding-bottom: 60px;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding-bottom: 30px;
  color: #4A0026 !important;
  margin-top: -40px !important;
}
#img-div {
  width: 100%;
}
img {
  display: block;
  max-width: 100%;
}
figure {
  background-color: #fff;
  font-size: 13px;
  padding: 10px;
}
ul li {
  list-style-type: none;
}
a {
  color: #00450C !important;
}
.container {
  width: 1000px;
  background-color: #f0f0f0;
  box-shadow: 5px 5px 5px #d2d2d2;
  margin-top: 10px;
  margin-bottom: 20px;
}
.mb-0 {
  padding: 10px;
}
.heading-collapse {
  display: inherit;
  padding-left: 30px;
}
.thumbnail {
  width: auto !important;
  height: 150px !important;
  margin: 10px 30px 25px 10px;
  box-shadow: 5px 5px 5px #d2d2d2;
}
.img-fluid {
  float: left !important;
}
.description {
  margin-top: 20px;
  margin-left: 20px;
  font-size: 18px;
}
.reference {
  background-color: #00450C;
  margin-top: 20px;
}
.read-more {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  text-align: center;
  color: #fff !important;
  padding: 50px;
}
.footer {
  text-align: center;
  padding: 30px;
  border-top: solid 1px #000;
}

            
          
!
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