css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
                <head>
    <meta charset="utf-8">
    <title>Krista Kannen</title>
    <link rel="icon" href="img/favicon.ico">
  </head>
  <body>

    <!-- Navigation bar -->
    <nav class="navbar fixed-top navbar-expand-sm navbar-light bg-light">
      <a href="https://codepen.io/kkannen/full/MOQqML" class="navbar-brand logo">Krista Kannen</a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar7">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="navbar-collapse collapse justify-content-stretch" id="navbar7">
        <ul class="navbar-nav ml-auto">
          <li class="nav-item active">
            <a class="nav-link" href="#home">HOME <span class="sr-only">(current)</span></a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#portfolio">PORTFOLIO</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#about">ABOUT</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#contact">CONTACT</a>
          </li>
        </ul>
      </div>
    </nav>

    <!-- Header/home -->
    <header>
      <a href="https://codepen.io/kkannen/full/MOQqML" class="logo"> 
        <div class="logoBox">
          <div class="bigDot"></div>
          <h1>Krista Kannen</h1>
        </div>
        </a> 
      <h2 class="tagline">Retired Biologist | Newborn Web Developer</h2>
    </header>

    <!-- Portfolio-->
    <div id="portfolio">
      <h2 class="sectionTitle">PORTFOLIO</h2>
      <p>Full versions of all portfolio items can be viewed by hovering (or tapping on a touch screen device) and clicking the CODEPEN button.</p> <hr>
      <div class="portfolioItem airplane">
        <div class="portOverlay">
          <div class="portText">
            <h2 class="portTitle">UX ATLANTIC</h2>
            <p class="portDescription">Booking page for UX Atlantic Airline</p>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/mqBOPo" target="_blank">CODEPEN</a>
        </div>
      </div>
      <div class="portfolioItem driftwood">
        <div class="portOverlay">
          <div class="portText">
            <h2 class="portTitle">DRIFTWOOD</h2>
            <p class="portDescription">Remodel of the Driftwood Estate Winery site.</p>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/vWdVEm" target="_blank">CODEPEN</a>
        </div>
      </div>
      <div class="portfolioItem nasa">
        <div class="portOverlay">
          <div class="portText">
            <div class="portText">
              <h2 class="portTitle">NASA</h2>
              <p class="portDescription">Contact page for NASA</p>
            </div>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/JOpagY" target="_blank">CODEPEN</a>
        </div>
      </div>
      <div class="portfolioItem calc">
        <div class="portOverlay">
          <div class="portText">
            <h2 class="portTitle">CALCULATOR</h2>
            <p class="portDescription">A cute little calculating monster.</p>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/WXOMgZ" target="_blank">CODEPEN</a>
        </div>
      </div>
      <div class="portfolioItem transitions">
        <div class="portOverlay">
          <div class="portText">
            <h2 class="portTitle">TRANSITIONS</h2>
            <p class="portDescription">Four lil boxes disappear amongst the stars.</p>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/XzJLzK/" target="_blank">CODEPEN</a>
        </div>
      </div>
      <div class="portfolioItem welcome">
        <div class="portOverlay">
          <div class="portText">
            <h2 class="portTitle">FLEXBOX</h2>
            <p class="portDescription">Simple responsive homepage.</p>
          </div>
          <a class="portLink" href="https://codepen.io/kkannen/full/boPYBw" target="_blank">CODEPEN</a>
        </div>
      </div>
    </div>

    <!-- About me and contact form -->
    <div class="container-fluid" id=aboutContact>
      <div class="row">
        <div class="col-md-6" id="about">
          <article>
            <h2 class="sectionTitle">ABOUT</h2><hr>
            <p id="aboutText">I graduated from Trinity University in the Spring of 2017 with a Bachelor of Science degree in Biology. After leaving Trinity I discovered that I no longer wished to pursue a career in Biology, and began a web development bootcamp at the Austin Coding Academy in October. I expect to finish the course in June of 2018. </p>
            <section id="whereToFindMe">
              <strong>WHERE TO FIND ME</strong><br><hr class="socialHr">
              <a href="https://github.com/kkannen" target="_blank" class="socialLink">GitHub: kkannen</a><br>
              <a href="https://www.linkedin.com/in/krista-kannen-6b1a4498/" target="_blank" class="socialLink">LinkedIn: Krista Kannen</a><br>
              <a href="https://codepen.io/kkannen/" target="_blank" class="socialLink">CodePen: kkannen</a><br>
              <a href="https://twitter.com/kkannencoding/" target="_blank" class="socialLink">TWITTER: @kkannencoding</a><br>
            </section>
          </article>
        </div>

        <!-- contact form -->
        <div class="col-md-6" id="contact">
          <h2 class="sectionTitle">CONTACT ME</h2>
          <hr>
          <form name="sentMessage" id="contactForm" novalidate>
            <div class="form-group floating-label-form-group controls">
              <label>NAME</label>
              <input class="form-control" id="name" type="text" placeholder="Name" required data-validation-required-message="Please enter your name.">
            </div>
            <div class="form-group floating-label-form-group controls">
              <label>EMAIL ADDRESS</label>
              <input class="form-control" id="email" type="email" placeholder="Email Address" required data-validation-required-message="Please enter your email address.">
            </div>
            <div class="form-group floating-label-form-group controls">
              <label>PHONE NUMBER</label>
              <input class="form-control" id="phone" type="tel" placeholder="Phone Number" required data-validation-required-message="Please enter your phone number.">
            </div>
            <div class="form-group floating-label-form-group controls">
              <label>MESSAGE</label>
              <textarea class="form-control" id="message" rows="5" placeholder="Message" required data-validation-required-message="Please enter a message."></textarea>
            </div>
            <br>
            <div id="success"></div>
            <div class="form-group">
              <button type="submit" class="btn" id="sendButton">SEND</button>
            </div>
          </form>
        </div>
      </div>
    </div>

    <!-- footer with social links here -->
    <footer>

      <a href="https://twitter.com/kkannencoding/" target="_blank">
        <div class="iconContain">
          <img src="https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/twitterDark.png?raw=true" alt="" class="icon">
          <div class="smallDot1"></div>
        </div>
      </a>
      <a href="https://www.linkedin.com/in/krista-kannen-6b1a4498/" target="_blank">
        <div class="iconContain">
          <img src="https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/linkedinDark.png?raw=true" alt="" class="icon">
          <div class="smallDot1"></div>
        </div>
      </a>
      <a href="https://codepen.io/kkannen/" target="_blank">
        <div class="iconContain">
          <img src="https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/codepenDark.png?raw=true" alt="" class="icon">
          <div class="smallDot1"></div>
        </div>
      </a>
      <a href="https://github.com/kkannen" target="_blank">
        <div class="iconContain">
          <img src="https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/githubDark.png?raw=true" alt="" class="icon">
          <div class="smallDot1"></div>
        </div>
      </a>
      <a href="#">
        <div class="iconContain">
          <img src="https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/homeDark.png?raw=true" alt="" class="icon">
          <div class="smallDot2"></div>
        </div>
      </a>
    </footer>
  </body>
 

            
          
!
            
              
/*styling is organized top to bottom as the page is.*/
/*media queries for responsive design are added after styling for the element to which they apply*/


body{
  background-color: #F8F9FA;
  color: #483C32;
}

/*Header styling*/

.logo{
  font-family: 'Clicker Script';
  font-weight: bold;
  color: inherit;
}

.logo:hover{
  text-decoration: none;
  color: inherit;
  font-weight: normal;
}

header{
padding-bottom: 100px;
}

.logoBox{
  height: 1000%;
  width: 80%;
  margin: 150px auto 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*for tablet*/
@media (min-width: 768px) and (max-width: 991px){
  .logoBox{height: 800%;
  }
}

/*for mobile*/
@media (max-width: 767px){
  .logoBox{height: 500%;
  }
}

h1{
  font-size: 1000%;
  text-align: center;
}

/*for tablet*/
@media (min-width: 768px) and (max-width: 991px){
  h1{font-size: 800%;
  }
}

/*for mobile*/
@media (max-width: 767px){
  h1{font-size: 500%;
  }
}

  /*adds decorative hover effect to "logo" */
.bigDot{
  height: 0px;
  width: 0px;

  background-color: #E2BAF2;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  opacity: 0.5;
  position: absolute;
  z-index: -1;
  -webkit-transition: all 0.5s; /*safari*/
  -o-transition: all 0.5s; /*opera*/
  -moz-transition: all 0.5s; /*mozilla*/
  transition: all 0.5s;
}

.logoBox:hover > .bigDot{
  height: 350px;
  width: 350px;

}

/*for tablet*/
@media (min-width: 768px) and (max-width: 991px){
  .logoBox:hover > .bigDot{
    height:300px;
    width: 300px;
  }
}

/*for mobile*/
@media (max-width: 767px){
  .logoBox:hover > .bigDot{
    height: 250px;
    width: 250px;
  }
}

.tagline{
  text-align: center;
  font-family: 'Amatic SC', cursive;
  font-weight: bold;
}

.sectionTitle{
  text-align: center;
}

/*Portfolio Styling*/
#portfolio{
  background-color: #C9BFB7;
  padding: 50px;
  -moz-box-shadow: inset 5px 5px 10px #483C32; /*firefox*/
  -webkit-box-shadow: inset 5px 5px 10px #483C32; /*safari*/
  box-shadow: inset 5px 5px 10px #483C32;
}

.portHeader {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  font-size: 2rem;
  letter-spacing: 5px;
  color: black;
  margin-bottom: 0;
}

p {
  margin: 0 auto 2rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #444;
  font-weight: 100;
  width: 90%;
}

hr {
  width: 80%;
  margin-bottom: 30px;
  border-top: 1px solid #483C32
}

.portfolio {
  margin-top: 50px;
  width: 90%;
  margin: 50px auto;
  max-width: 1100px;
}

.portfolioItem {
  position: relative;
  display: block;
  width: 90%;
  height: 200px;
  margin: 0 auto 2rem;
  background-color: lightblue;
  border-radius: 10px;
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-position: center top;
  background-size: cover;
  transition: all .4s ease;
}

/*for tablet*/
@media  (min-width: 768px) and (max-width: 991px){
  .portfolioItem {
    display: inline-block;
    width: 45%;
    margin-left: 1.5em;
  }
}

/*for mobile*/
@media screen and (min-width: 992px) {
  .portfolioItem {
    display: inline-block;
    width: 30%;
    margin-left: 25px;
  }
}

  /*adds overlay with link to codepen and hover effects*/
.portOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 10;
}

.portOverlay:after {
  content: '';
  width: 100%;
  border-radius: 10px;
  height: 100%;
  background-color: #202020;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: -10;
  left: 0;
  -o-transition: all .3s ease; /*opera*/
  -moz-transition: all .3s ease; /*mozilla*/
  -webkit-transition: all .3s ease; /*safari*/
  transition: all .3s ease;
}

.portTitle {
  position: relative;
  top: -200px;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 100;
  color: white;
  text-align: center;
  letter-spacing: 5px;
  -o-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*opera*/
  -moz-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*mozilla*/
  -webkit-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*safari*/
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
}

.portDescription {
  position: relative;
  top: -200px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 100;
  color: white;
  text-align: center;
  -o-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*opera*/
  -moz-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*mozilla*/
  -webkit-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*safari*/
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
}

.portLink {
  position: relative;
  display: block;
  width: 80%;
  top: 200px;
  padding: 10px;
  margin: 0 auto;
  color: white;
  letter-spacing: 3px;
  text-decoration: none;
  text-align: center;
  border: 2px solid white;
  border-radius: 3px;
  font-size: 1em;
  -o-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*opera*/
  -moz-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*mozilla*/
  -webkit-transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3); /*safari*/
  transition: all 0.3s cubic-bezier(0.3, 0, 0, 1.3);
}

.portLink:hover {
  background-color: white;
  color: #202020;
  text-decoration: none;
}

.portfolioItem:hover .portTitle {
  top: 0;
}

.portfolioItem:hover .portDescription {
  top: 0;
}

.portfolioItem:hover .portLink {
  top: 0;
}
.portfolioItem:hover .portOverlay:after {
  opacity: .75;
}

  /*add images to portfolio tiles*/
.airplane {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/airplaneThumbnail.PNG?raw=true);
}

.driftwood {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/driftwoodThumbnail.PNG?raw=true);
}

.nasa {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/nasaThumbnail.PNG?raw=true);
}

.calc {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/Calculator.PNG?raw=true);
}

.transitions {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/transitionsThumbnail.PNG?raw=true);
}

.welcome {
  background-image: url(https://github.com/kkannen/web-workbook/blob/gh-pages/07week/Checkpoint02/img/welcomeThumbnail.PNG?raw=true);
}

/*about and contact section styling*/

#aboutContact{
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 10%;
  padding-right: 10%;
}
  /*about me*/
#about{
  margin:0px;
}

#aboutText{
  text-align: center;
  margin-bottom: 50px;
}

/*links to social media and other sites*/
#whereToFindMe{
  margin: 50px auto;
  color: inherit;
  text-align: center;
  font-size: 150%;
}

.socialHr{
  width:40%
}

.socialLink{
  text-decoration: none;
  color: inherit;
  -o-transition: all 150ms; /*opera*/
  -moz-transition: all 150ms; /*mozilla*/
  -webkit-transition: all 150ms; /*safari*/
  transition: all 150ms;
}

.socialLink:hover{
  font-weight: bolder;
  text-decoration: none;
  -o-text-shadow: 2px 2px 5px #E2BAF2; /*opera*/
  -moz-text-shadow: 2px 2px 5px #E2BAF2; /*mozilla*/
  -webkit-text-shadow: 2px 2px 5px #E2BAF2; /*safari*/
  text-shadow: 2px 2px 5px #E2BAF2;
  color: inherit;
}

  /*contact form styling*/
#name, #email, #phone, #message{
  background-color: #F8F9FA;
  border: 1px solid #483C32;
  border-radius: 3px;
}

#sendButton{
  position: relative;
  display: block;
  width: 60%;
  padding: 5px;
  margin: 0px auto;
  color: #483C32;
  background-color: #F8F9FA;
  letter-spacing: 3px;
  text-decoration: none;
  border: 1px solid #483C32;
  border-radius: 3px;
  font-size: 1.25em;
  -o-transition: all 0.3s; /*opera*/
  -moz-transition: all 0.3s; /*firefox*/
  -webkit-transition: all 0.3s; /*safari*/
  transition: all 0.3s;
}

#sendButton:hover {
  background-color: #483C32;
  color: #E2BAF2;
}


/*footer and social/other links here*/

footer{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  height:4em;
}

.iconContain{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.icon{
  height:2em;
  margin-left: 15px;
  margin-right: 15px;

}


  /*adds decorative hover effect to footer link/icons*/
.smallDot1{
  height:0em;
  width: 0em;
  border-radius: 50%;
  background-color: #FCEF9C;
  z-index: -1;
  position: absolute;
  -o-transition: all 0.3s; /*opera*/
  -moz-transition: all 0.3s; /*firefox*/
  -webkit-transition: all 0.3s; /*safari*/
  transition: all 0.3s;
}

.smallDot2{
  height:0em;
  width: 0em;
  border-radius: 50%;
  background-color: #D7B0E6;
  z-index: -1;
  position: absolute;
  -o-transition: all 0.3s; /*opera*/
  -moz-transition: all 0.3s; /*firefox*/
  -webkit-transition: all 0.3s; /*safari*/
  transition: all 0.3s;
}

.iconContain:hover > .smallDot1{
    height:3.25em;
    width: 3.25em;
}

.iconContain:hover > .smallDot2{
    height:3.25em;
    width: 3.25em;
}

            
          
!
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.
Loading ..................

Console