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.

            
              <!-- /\/\/\ HEADER /\/\/\ -->
<header class="header">
  <!-- HEADER BACKGROUND IMAGE -->
  <div class="header__item header__item--background-img-wrapper">
    <div class="header__background-img"></div>
  </div>
  <!-- HEADER PROFILE -->
  <div class="header__item header__item--profile-wrapper">
    <div class="header__profile profile" id="img-div">
      <!-- PROFILE PICTURE -->
      <img class="profile__img profile__img--responsive" id="image" src="https://goo.gl/uGLpWp" />
      <!-- SLANT DIV -->
      <div class="profile__slant"></div>
      <div class="profile__content">
        <!-- NAME, TITLE, QUOTE -->
        <h1 class="profile__title" id="title">Thomas Stauss</h1>
        <span class="profile__subtitle" id="img-caption">Husband, Father, Disciple, HR Professional</span>
        <blockquote class="profile__quote" cite="https://goo.gl/kwLkVe">"<em>Father</em> is the noblest title a man can be given. It is more than a biological role. It signifies a patriarch, a leader, an exemplar, a confidant, a teacher, a hero, a friend, and, ultimately, a perfect being."<span class="profile__cite">- Robert L. Backman</span></blockquote>
      </div>
    </div>
  </div>
</header>
<!-- /\/\/\ TIMELINE /\/\/\ -->
<main class="timeline" id="main">
  <ul class="timeline__list list" id="tribute-info">
    <li class="list__item">
      <div class="list__item-content">
        <h2 class="list__title">Served LDS Mission</h2>
        <p class="list__text">Tom served a two year mission for the Church of Jesus Christ of Latter-Day Saints. He was assigned to the Colorado Denver mission. While serving he was called to serve as an assistant to the Mission President. He performed many acts of service and taught hundreds of people.</p>
        <div class="list__date">
          January 2018
        </div>
      </div>
    </li>
    <li class="list__item">
      <div class="list__item-content">
        <h2 class="list__title">Married Colleen Cowely</h2>
        <p class="list__text">While attending BYU Tom met his sweetheart who happened to be roommates with his sister. They were married in the Oakland temple for time and all eternity. They've since raised a family of six children and have several grandchildren. One of Tom's favorite things in life is being a grandpa.</p>
        <div class="list__date">
          July 1983
        </div>
      </div>
    </li>
    <li class="list__item">
      <div class="list__item-content">
        <h2 class="list__title">Promoted to Chief of Human Resources</h2>
        <p class="list__text">After working at the Washoe County School District for over 20 years Tom was promoted to the position of Chief of Human Resources. He oversaw recruitment, selection, staffing, employer & employee labor negotiations & labor relations, risk management, performance evaluation, classification & compensation, and training, policy & procedure development.</p>
        <div class="list__date">
          January 2007
        </div>
      </div>
    </li>
    <li class="list__item">
      <div class="list__item-content">
        <h2 class="list__title">Lorem Ipsum Dolor</h2>
        <p class="list__text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi venenatis ornare tellus eu vestibulum. Proin ultricies dolor eu interdum vehicula. Mauris augue justo, accumsan ut purus sed, fringilla fringilla odio. Fusce eu odio nibh. Fusce interdum egestas tincidunt. Donec lorem dui, tempor eget pulvinar sit amet, vestibulum eu est.</p>
        <div class="list__date">
          January 2018
        </div>
      </div>
    </li>
    <div class="clear"></di>
  </ul>
</main>
<!-- /\/\/\ FOOTER /\/\/\ -->
<footer class="footer">
  <div class="footer__item footer__item--wrapper">
    <p>Learn more about his professional history on <a class="footer__link" id="tribute-link" href="https://goo.gl/ddhk2T" target="_blank">LinkedIn</a></p>
  </div>
</footer>
            
          
!
            
              @import url('https://goo.gl/meQQ3y');

body {
  font-family: 'Montserrat', sans-serif;
}

.clear {
  clear: both;
}

.header__item--background-img-wrapper {  
  animation-name: fade-in;
  animation-duration: 1.4s;
  animation-timing-function: cubic-bezier(1,.01,.50,.50);
  overflow: hidden;
  position: relative;
  z-index: -1;
}
.header__background-img {
  background: url(https://goo.gl/oomLGj) no-repeat;
  background-attatchment: fixed;
  background-position: center center;
  background-size: cover;
  filter: blur(10px);
  height: 370px;
  transform: scale(1.1);
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.header__item--profile-wrapper {
  margin-top: -200px;
  padding-right: 16px;
  padding-left: 16px;
  position: relative;
  z-index: 1;
}
.header__profile {
  align-items: center;
  animation-name: grow-in;
  animation-duration: 1.4s;
  animation-timing-function: ease-in-out;
  background: #567d8c;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  margin-right: auto;
  margin-left: auto;
  max-width: 960px;
  padding-bottom: 16px;
  position: relative;
  text-align: center;
}
@keyframes grow-in {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.profile__img {
  border-radius: 50%;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  height: 150px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  top: -75px;
  width: 150px;
}
.profile__img--responsive {
  display: block;
  height: auto;
  max-width: 100%;
}
.profile__slant {
  display: none;
}
.profile__content {
  color: #fff;
  margin-top: -100px;
  padding: 16px;
}
.profile__title {
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.29);
}
.profile__subtitle {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.29);
}
.profile__quote {
  border-color: rgba(255, 255, 255, 0.29);
  border-style: solid;
  border-width: 1.5px 0;
  margin-top: 40px;
  max-width: 450px;
  padding: 16px 0;
  position: relative;
}
.profile__quote:before {
  background: #567d8c;
  color: #fff;
  content: "\201C";
  font-size: 3rem;
  height: 2rem;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 0;
  transform: translate(-50%, -50%);
  width: 3rem;
}
.profile__cite {
  color: rgba(255, 255, 255, 0.29);
  display: block;
  margin-top: 10px;
  text-align: right;
}

@media only screen and (min-width: 768px) {
  .header__profile {
    flex-direction: row-reverse;
    padding: 0;
  }
  
  .profile__slant {
    border-color: rgba(223, 50, 50, 0) transparent transparent #567d8c;
    border-style: solid;
    border-width: 400px 0 0 100px;
    display: block;
    margin-right: -100px;
    z-index: 1;
  }
  
  .profile__content {
    margin-top: 0;
  }
  
  .profile__img {
    border-radius: 0 2px 2px 0;
    box-shadow: none;
    top: 0;
    width: 400px;
  }
}

.timeline {
  margin: 50px auto;
  max-width: 960px;
  position: relative;
}
.timeline:before {
  animation-name: list-grow-in;
  animation-duration: 1.4s;
  animation-timing-function: ease-in-out;
  background: rgba(86, 125, 140, 0.29);
  content: "";
  height: 100%;
  left: 20px;
  position: absolute;
  width: 2px;
}
.timeline__list {
  padding: 0;
}
.list__item {
  animation-name: list-grow-in;
  animation-duration: 1.4s;
  animation-timing-function: ease-in-out;
  box-sizing: border-box;
  list-style: none;
  padding: 40px 40px 20px;
  position: relative;
}
@keyframes list-grow-in {
  from {
    opacity: 0;
    transform: translateY(50px) scale(1);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.list__item:nth-child(odd) {
  width: 100%;
}
.list__item:nth-child(odd):before {
  background: rgba(140, 86, 98, 1);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(140, 86, 98, .29);
  content: "";
  height: 10px;
  left: 16px;
  position: absolute;
  top: -3px;
  transform: rotate(45deg);
  width: 10px;
}
.list__item:nth-child(even) {
  width: 100%;
}
.list__item:nth-child(even):before {
  background: rgba(140, 86, 98, 1);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(140, 86, 98, .29);
  content: "";
  height: 10px;
  left: 16px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 10px;
}
.list__item-content {
  padding-bottom: 20px;
}
.list__title {
  color: rgba(140, 86, 98, 1);
  font-weight: 600;
  margin: 0;
}
.list__item:nth-child(odd) .list__date {
  background: rgba(140, 86, 98, 1);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(140, 86, 98, 0.29);
  color: #fff;
  padding: 8px 16px;
  position: absolute;
  top: -15px;
}
.list__item:nth-child(odd) .list__date:before {
  background: rgba(86, 125, 140, 0.29);
  content: "";
  height: 2px;
  left: -20px;
  position: absolute;
  top: 16px;
  width: 22px;
  z-index: -1;
}
.list__item:nth-child(even) .list__date {
  background: rgba(140, 86, 98, 1);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(140, 86, 98, 0.29);
  color: #fff;
  padding: 8px 16px;
  position: absolute;
  top: -10px;
}
.list__item:nth-child(even) .list__date:before {
  background: rgba(86, 125, 140, 0.29);
  content: "";
  height: 2px;
  left: -20px;
  position: absolute;
  top: 17px;
  width: 22px;
  z-index: -1;
}

@media only screen and (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .list__item {
    padding: 15px 40px 0;
    width: 50% !important;
  }
  .list__item:nth-child(odd) {
    float: left;
    text-align: right;
    clear: both;
  }
  .list__item:nth-child(odd):before {
    left: unset;
    right: -6px;
    top: 24px;
  }
  .list__item:nth-child(even) {
    float: right;
    text-align: left;
    clear: both;
  }
  .list__item:nth-child(even):before {
    left: -4px;
    top: 24px;
  }
  .list__item:nth-child(odd) .list__date {
    right: -165px;
    top: 12px;
  }
  .list__item:nth-child(even) .list__date {
    top: 12px;
    left: -165px;
  }
  .list__item:nth-child(odd) .list__date:before {
    left: -30px;
    top: 16px;
    width: 30px;
  }
  .list__item:nth-child(even) .list__date:before {
    left: unset;
    right: -32px;
    top: 16px;
    width: 30px;
  }
  .list__date {
    min-width: 103px;
  }
}

.footer {
  background: #567d8c;
}
.footer__item--wrapper {
  color: #fff;
  margin: 0 auto;
  max-width: 960px;
  padding: 20px 16px;
  text-align: center;
}
.footer__link {
  color: #dbcfd1;
  display: inline-block;
  position: relative;
  text-decoration: none;
}
.footer__link::after {
  background-color: #dbcfd1;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
  width: 100%;
}
.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
            
          
!
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