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

              
                <head>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

</head>

<!-- BEWARE: BODY BURIED BELOW -->

<body>

  <!-- NAVIGATION BAR -->

  <nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid noPadding">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span> 
      </button>
        <a class="navbar-brand" href="#">
          <span><img src="http://i65.tinypic.com/2air3w0.png" height="30px" width="30px" class="d-inline-block align-top"></span>KL </a>
      </div>
      <div class="collapse navbar-collapse" id="myNavbar">
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#about">About</a></li>
          <li><a href="#portfolio">Portfolio</a></li>
          <li><a href="#connect">Connect</a></li>
        </ul>
      </div>
    </div>
    <!-- /.container -->
  </nav>


  <!-- INTRO -->

  <div id="about" class="container-fluid bg-1 text-center">
    <br>
    <h1 id="knock" class="animated bounce">Knock, knock.</h1>
    <img src="http://i64.tinypic.com/2ugo2a1.png" alt="abstract door" class="imgAbout">
    <h2 id="whoThere" class="animated zoomIn"><em>Who's there?</em></h2>
    <h3 id="Kris" class="animated slideInRight">Kris Lyle.</h3>
    <h2 id="Kyle" class="animated zoomIn"><em>Kyle who?</em></h2>
    <br>
    <div id="facepalm" class="animated bounceIn">
      <button type="button" class="btn buttonFace" id="fontFace" data-toggle="modal" data-target="#myModal">#facepalm</button>
    </div>
  </div>
  <!-- PORTFOLIO -->

  <div id="portfolio" class="container-fluid bg-2">
    <h1 class="text-center fontBlack">Portfolio</h1>
    <div class="row">

      <!-- LEFT COLUMN: CODE / DESIGN -->

      <div class="col-sm-6">
        <h4 class="text-center fontBlack">Code & Design</h4>
        <img src="http://i63.tinypic.com/2wh32ic.png" alt="laptop with </> on screen" class="imgPort">

        <div class="polaroid" animated="slideInUp">
          <a href="https://codepen.io/kris-lyle/full/yMOPdm"><img src="http://i63.tinypic.com/efxjq.png" style="width:100%"></a>
          <div class="polaroid-container">
            <p>HTML5, CSS3, Bootstrap, jQuery, Content Writing</p>
          </div>
        </div>

        <br>

        <div class="polaroid">
          <a href="http://www.oldschoolscript.com/first-time/"><img src="http://i64.tinypic.com/nys4uu.png" alt="Hobby blog" style="width:100%"></a>
          <div class="polaroid-container">
            <p>Wordpress > Squarespace, UI, Content Writing, Social</p>
          </div>
        </div>

        <br>

        <div class="polaroid">
          <a href="http://www.realdirtyfood.com/"><img src="http://i65.tinypic.com/2q231xs.png" alt="Nutritional Therapy Business website" style="width:100%"></a>
          <div class="polaroid-container">
            <p>Squarespace, CSS3, UI, Copy, Lead Magnet, Mailchimp</p>
          </div>
        </div>

      </div>
      <!-- end of 1st "col-sm-6" -->

      <!-- RIGHT COLUMN: WRITER / EDITOR -->

      <div class="col-sm-6">
        <h4 class="text-center fontBlack">Write & Edit</h4>
        <img src="http://i67.tinypic.com/345fpd0.png" class="imgPort" alt="typerwriter with blank page loaded">
    
      <div class="polaroid">
        <a href="https://www.logos.com/product/135990/lexham-discourse-handbooks"><img src="http://i64.tinypic.com/10mobp2.png" alt="Handbooks" style="width:100%"></a>
        <div class="polaroid-container">
          <p>200K word series, Author/Co-author, Discourse Analysis</p>
        </div>
      </div>

      <br>
      
      <div class="polaroid">
        <a href="https://blog.logos.com/2016/08/take-a-personal-guided-tour-through-the-gospels/"><img src="http://i66.tinypic.com/20rk9id.jpg" alt="Commentary" style="width:100%"></a>
        <div class="polaroid-container">
          <p>200K word project, Markdown, CMS, Contributing Editor</p>
        </div>
      </div>
      
      <br>
      
      <div class="polaroid ">
        <a href="http://mymaties.academia.edu/KristopherLyle"><img src="http://i66.tinypic.com/nbsl7c.jpg" alt="academic articles" style="width:100%"></a>
        <div class="polaroid-container ">
          <p>Author, Research, Linguistics, Styleguides</p>
        </div>
      </div>

    </div> <!-- end of 2nd "col-sm-6 " -->
  </div> <!-- row -->
</div> <!-- portfolio container -->
  
<!-- CONNECT -->

<div id="connect" class="container-fluid bg-3 text-center">
  <div class="row">
    <div class="col-xs-12 col-sm-8 col-sm-offset-2 col-lg-4 col-lg-offset-4">
      <h1>Let's Talk!</h1>
      <img src="http://i68.tinypic.com/2dqn18p.png" alt="walkie-talkie " class="imgConnect">
      <h3>I've got a passion for connecting with people knee-to-knee (or screen-to-screen), and helping them get from A&nbsp;to&nbsp;B.</h3>
      <p>Let's get to the bottom of your headaches, and craft the perfect fix.</p>
      <p>I'm obsessed with problem-solving. So if you'd like to brainstorm, let's chat. (It's&nbsp;on&nbsp;the&nbsp;house.)</p>
      <p>If we discover you need more (a new or updated website?), then we can talk rates.</p>
      <h3>Bottom line, you got issues. ;) Let's get them sorted, together.</h3>
    </div>
  </div>
</div>
  
<!-- MODAL DIV -->
 <div class="modal fade" id="myModal" role="dialog">
   <div class="modal-dialog modal-sm" id="modalPosition">
     <div class="modal-content">
       <div class="modal-body">
         <p class="modalFont">Let's get this out of the way. Lots of people call me Kyle. So don't feel bad <s>if</s> <em>when</em> you do. Let's just focus on the content Kyle creates.</p>
           <button type="button" class="btn modalButtonClose" data-dismiss="modal"><i class="fa fa-check-square-o" aria-hidden="true"></i> Got it.</button>
       </div>
     </div>         
   </div>
 </div>
  
</body>

<footer class="container-fluid bg-4 text-center">
  <p class="footerFont">Size me up. Feel me out.</p>
  
  <a href="https://www.linkedin.com/in/kristopherlyle/" class="fa fa-linkedin fa-lg" aria-hidden="true "></a>
  <a href="https://www.freecodecamp.com/kris-lyle" class="fa fa-free-code-camp fa-lg" aria-hidden="true "></a>
  <a href="https://twitter.com/KristopherLyle" class="fa fa-twitter fa-lg" aria-hidden="true"></a>
  <a href="https://codepen.io/kris-lyle/" class="fa fa-codepen fa-lg" aria-hidden="true"></a>

  <p class="text-center"><small>Coded and Smithed by <s>Kyle</s> Kris Lyle</small></p>
</footer>
              
            
!

CSS

              
                

/* BACKGROUND COLOR */

.bg-1 {
  background-color: #00ccff;
  color: white; 
}

.bg-2 {
  background-color: #66ff66;
  color: white;
}

.bg-3 {
  background-color: #ff66cc;
  color: white;
}

.bg-4 {
  background-color: #aab4bb;
  color: black;
}

/* PADDING */

body { padding-top: 30px; }

.container-fluid { padding: 50px; }

.noPadding {
  padding: 0px 20px;
}

/* NAVBAR STYLE */

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
}

.nav li {
    float: left;
}

.nav li a {
    display: block;
    color: black;
    text-align: center;
    padding: 20px 14px;
    text-decoration: none;
}

.active {
    background-color: blue;
}

li hover:not(.active) {
    background-color: red;
}


/* IMAGES */

.imgAbout {
  margin: auto;
  display: block;
  width: 27%;
}

.imgPort {
  margin: auto;
  display: block;
  width: 50%;
}

.imgConnect {
  margin: auto;
  display: block;
  width: 40%;
}


/* POLAROID */

.polaroid {
  position: relative;
  margin: auto;
  display: block;
  width: 90%;
  border: 5px solid #fff;
}

.polaroid-container {
  padding: 1.15em 0em 0em 0em;
  text-align: center;
  background-color: #fff;
  height: 50px;
}

.polaroid p {
  font-size: 1em;
  line-height: normal;
  color: #888;
}


/* FONT */

nav {
    font: 1.3em "Montserrat", sans-serif;
}

h1 {
    font: 2.75em "Montserrat", sans-serif;
    font-weight: bold;
    line-height: 1;
    color: #f5f6f7;
}

h2 {
    font: 1.5em "Montserrat", sans-serif;
    font-weight: bold;
    line-height: .75;
    color: #f5f6f7;
}
  
h3 {
    font: 1.25em "Montserrat", sans-serif;
    line-height: 1.5;
    color: #f5f6f7;
}

h4 {
    font: 2em "Calibri", "Open Sans", sans-serif;
    color: #f5f6f7;
}

p {
    font: 1.15em "Calibri", "Open Sans", sans-serif;
}

.footerFont {
    font: 1.25em "Montserrat", sans-serif;
}

.fontBlack {
    color: #000000;
}

/* ANIMATION */

#knock {
    -webkit-animation-delay: .5s; /* Safari 4.0 - 8.0 */
    animation-delay: .5s;
}

#whoThere {
    -webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
    animation-delay: 2s;
}

#Kris {
    -webkit-animation-delay: 3s; /* Safari 4.0 - 8.0 */
    animation-delay: 3s;
}

#Kyle {
    -webkit-animation-delay: 4s; /* Safari 4.0 - 8.0 */
    animation-delay: 4s;
}

#facepalm {
    -webkit-animation-delay: 5.5s; /* Safari 4.0 - 8.0 */
    animation-delay: 5.5s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

/* BUTTON */

.buttonFace {
    background-color: #00ccff;
    font-size: 1em;
    padding: 10px;
    border: 2px solid #f5f6f7;  
    -webkit-transition-duration: 1s; /* Safari */
    transition-duration: 1s;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); 
}

#fontFace {
    font: 1.25em "Montserrat", sans-serif;
}

.buttonFace:hover {
    background-color: #f5f6f7;
    color: #00ccff;
}

/* MODAL */

.modalFont {
      color: #47476b;
      font: 1.25em "Calibri", sans-serif;
}

.modalButtonClose {
      font: 1.25em "Calibri", sans-serif;
      text-align: right;
}

#modalPosition {
top:40%;
outline: none;
}

/* FOOTER */

.fa {
    padding: .5em;
    text-align: center;
    text-decoration: none;
    color: black;
}

.fa:hover {
    padding: .5em;
    text-align: center;
    text-decoration: none;
    color: #f5f6f7;
}

              
            
!

JS

              
                
$(document).ready(function(){
    $('[data-toggle="popover"]').popover(); 
});

              
            
!
999px

Console