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

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

              
                <html>

<body>

  <nav id="navbar" class="main-header">
    <h1 class="name"><a href="#home">Tommy Gebru</a></h1>
    <ul class="main-nav">
      <li><a href="#about">about</a></li>
      <li><a href="#projects">projects</a></li>
      <li><a href="#contact">contact</a></li>
    </ul>
  </nav>
  <!--/.main-header-->
  <div class="banner" id="welcome-section">
    <h1 class="fatface">Hello, my name is</h1>
    <h1 class="fatface">Tommy Gebru</h1>
    <h3 class="overlock">I build beautiful, responsive and fully functional websites and web applications!</h3>
    <h1 class="extra-small">Learn more about me<i class="fa fa-angle-down"></i></h1>
  </div>
  <!--/.banner-->
  <span id="about">
    </span>

  <blockquote><a href="https://www.bento.io/">"You should learn to code"</a></blockquote>


  <div class="row">

    <div class="primary col">
      <img class="profile" src="http://i1194.photobucket.com/albums/aa363/gebrut/Profile_zps2skh3g9d.jpg" alt="profile-image">
      <h1 class="headline">Tommy Gebru</h1>
      <span class="tagline">Front End Developer</span>
    </div>
    <!--/.primary-->


    <div class="secondary col">
      <h2><strong>Hello World!</strong></h2>
      <p>I'm a self-taught Front End Developer, located in the SF Bay Area.</p>
      <p>I have logged hundreds of hours pair programming & moderating the forums for FreeCodeCamp and Teamtreehouse respectively, to further enhance my web development skills.</p>
      <p>I enjoy competing in coding challenges to beef up my programming skills.</p>
      <p>In my free time I contribute to Open Source and community projects.</p>
      <p> Currently pursuing the MEAN stack to create incredible websites.</p>

    </div>
    <!--/.secondary-->
  </div>
  <!--/.row-->


  <div id="projects">
    <span><h1>Graphic Design</h1>
        <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/PzGVaJ"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/brand%20identity_zpsjoxvxmh8.png"></a></div>
  </span>

    <span><h1>Graphic Design</h1>
  <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/EPyorV"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-02-24%20at%208.19.19%20AM_zps0rqsxp35.png?t=1456245972"></a></div></span>

    <span><h1>UI Design</h1>
    <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/XXdOxe"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-06-20%20at%201.17.12%20PM_zps9ry4jmff.png"></a></div>
    </span>

    <span><h1>UI Design</h1>
  <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/elqIf"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-06-04%20at%209.14.42%20AM_zpsqyigswtr.png"></a></div></span>

    <span><h1>Web Design</h1>
  <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/qbvoey"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-02-24%20at%209.47.59%20AM_zpsoluujdjl.png?t=1456249733"></a></div></span>

    <span><h1>Web Design</h1>
   <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/tLHFh"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-02-24%20at%209.01.12%20AM_zpszfscfbnw.png"></a></div>
  </span>

    <span><h1>Web App</h1>
         <div class="project-tile"><a href="https://s.codepen.io/gebrutommy/debug/xVZOgg"><img src="http://i1194.photobucket.com/albums/aa363/gebrut/Screen%20Shot%202016-06-20%20at%201.25.20%20PM_zpsmsvmyifu.png"></a></div>
  </span>


  </div>


  <footer class="main-footer">
    <div class="last-words">
      <h1 class="last-heading" id="contact"><a href="https://codepen.io/gebrutommy/">Join Me</a></h1>
      <h3 class="last-tag">Let's make the web better</h3>
    </div>

    <ul class="listed">
      <div class="social codepen"><a href="https://codepen.io/gebrutommy"><i class="fa fa-codepen fa-5x"></i></a></div>
      <div class="social twitter"><a href="https://twitter.com/tommygebru"><i class="fa fa-twitter fa-5x"></i></a></div>
      <div class="social linkedin"><a href="https://www.linkedin.com/in/tommygebru"><i class="fa fa-linkedin fa-5x"></i></a></div>
      <div class="social github"><a id="profile-link" href="https://github.com/tommygebru" target="_blank"><i class="fa fa-github fa-5x"></i></a></div>
      <div class="social facebook"><a href="https://www.facebook.com/profile.php?id=100010388656451"><i class="fa fa-facebook fa-5x"></i></a></div>

    </ul>
    <hr>
    <span>&copy;2016 Tommy Gebru</span>
  </footer>
  <!--COMPLETE-->

</body>

</html>
              
            
!

CSS

              
                /* ================================= 
  Base Element Styles
==================================== */
  body{display:flex; flex-direction:column;
}

nav{position:fixed; background-color:white; top:0; width:100%; z-index:2;}

#projects{display:flex; flex-wrap:wrap; justify-content:space-around; height:100%; width:80%; margin:0 auto; }

#projects span{
  padding:15px; margin:15px;
}

.project-tile{height:100%; width:100%; display:flex; justify-content:center; align-items:center; font-size:2em; flex-wrap:wrap;}

.project-tile:hover{border:solid #333 1px; box-shadow:0px 5px 7px 0px rgba(50, 50, 50, 0.36);}

*{color:rgba(59, 89, 152, .7);}

.banner{
  background-image: linear-gradient(130deg, #3b5998, #091299);
}

.row .col p{color:rgba(58, 49, 51, .9) !important;}

nav h1 a:hover{color:rgba(59, 89, 152, 1) !important;}

nav ul a{font-weight:600;}

nav ul a:hover{color:rgba(59, 89, 152, 1) !important;}

blockquote:hover {
  font-weight: 100;
}

.profile {
  height: 150px;
  width: 150px;
  border-radius: 50%;
}

blockquote {
  font-weight: 400;
  font-size: 1.3em;
  font-family: 'Dosis', sans-serif;
  text-align: center;
  letter-spacing: 2px;
  margin: 20px 0px 10px 0px;
}

.fatface {
    color:rgba(250, 250, 250, .5) !important;
  font-family: 'Dosis', sans-serif;
  margin: 0;
  font-weight:100;
letter-spacing:5px;
}

.overlock {
    color:rgba(250, 250, 250, .6) !important;
  font-weight: 300;
  font-family: 'Dosis', sans-serif;
  margin: 10px;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight:100px;
}

.fa-angle-down{
      color:rgba(250, 250, 250, 1) !important;  
}

.extra-small {
      color:rgba(250, 250, 250, .7) !important;
  font-size: .8em;
  letter-spacing: 1px;
  color: white;
  font-weight: 300;
  font-family: 'Dosis', sans-serif;
  margin: 50px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Dosis', sans-serif;
  line-height: 1.6;
  margin: 0;
}

ul {
  /*makes navigation bar smaller*/
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  font-size: .95em;
  margin-bottom: 1.8em;
}


h2{font-size:1.35em;}


strong{font-weight:bold;}
a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


/* ================================= 
  Base Layout Styles
==================================== */


/* ---- Navigation ---- */

.name {
  font-size: 1.5em;
  margin: 0;
}

.main-nav {
  margin-top: 5px;
}

.name a,
.main-nav a {
  text-align: center;
  display: block;
  padding: 10px 15px;
}

.main-nav a {
  font-size: .95em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #E6BF47;
}


/* ---- Layout Containers ---- */

.banner,
.main-footer {
  text-align: center;
}

.banner {
  color: #fff;
  padding: 3.2em 0;
}

.primary {color:rgba(58, 49, 51, .5) !important;
  padding: 3.2em;
  margin-bottom: 48px;
  
}

.col {color:rgba(58, 49, 51, .5) !important;
  padding-right: 1em;
  padding-left: 1em;
}

.row {
  border-top: solid rgba(58, 49, 51, .5) 2px;
}


.secondary h2{margin:15px 0 0 0;}

/* ---- Page Elements ---- */

.headline {
 font-size:1.5em;
  font-weight:800;
  letter-spacing:1px;
}


/* ================================= 
      SOCIAL BUTTONS & FOOTER
==================================== */

hr {
  width: 80%;
  margin-bottom: 3%;
}


/*horizontal line*/

span {
  margin-bottom: 3%;
}


/*signature*/


/*buttons list*/

.listed,
.social {
  margin: 1%;
}

.last-words,
.main-footer,
.listed,
.social {
  display: flex;
}


/*flex-containers*/

.last-words {
  background-color: #f6f6f6;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/*flexbox*/

.last-heading a {
  opacity:.7;
  font-family: 'Lobster Two', cursive;
  font-size: 4em;
}


/*footer text*/

.last-tag {
  color: #9D9D9D;
  text-transform: uppercase;
  margin: -15px;
}


/*footer text*/

.main-footer {
  justify-content: center;
  flex-direction: column;
}


/*flexbox*/

.listed {
  margin-top: 3%;
  justify-content: space-between;
  flex-wrap: wrap;
}


/*list icon*/

.social { 
  height: 100px;
  width: 100px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

i:hover{font-weight:600;}
/* ================================= 
  Media Queries
==================================== */

@media (max-width: 769px) {
  .row {
    width: 80%;
    margin: 0 auto;
  }
  
  .listed {
    padding: 50px 0;
  }
  .banner {height:120vh; }
}

@media (min-width: 770px) {

  .listed,
  .row {
    width: 80%;
    margin: 0 auto;
  }
  .listed {
    padding: 80px;
  }
    .banner {height:100vh;}
}


/* ================================= 
  Media Queries using FLEXBOX
==================================== */

@media (max-width: 769px) {
  /*if less than, then do this*/
  /*create a single declaration for all things flex aka the flex containers*/
  .banner,
  .row,
  .main-header,
  .main-nav {
    display: flex;
    /*flex containers*/
    /*this broke down the child elements*/
  }
  .last-words {
    height: 300px;
  }
  .main-header {
    height: 70px
  }
  /*header*/
  .name {
    margin: -10px;
  }
  .main-nav {
    margin-top: -10px;
  }
  .primary {
    display: flex-box;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-bottom: solid 2px;
  }
  /*flexbox*/
  .row {
    flex-direction: column;
  }
  /*flexbox*/
  .main-header {
    flex-direction: column;
    align-items: center;
  }
  /*flexbox*/
  .banner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /*flexbox*/
  .fatface,
  .overclock {
    font-size: 12vw;
  }
  /*text in header*/
  p {
    font-size: .95em;
  }
    .banner{flex:1;}  
  
  /*text in body*/
}

@media (min-width: 770px) {
  /*if greater than 770px, then do this*/
  .row,
  .banner,
  .primary,
  .main-header,
  .main-nav {
    display: flex;
    /*flex containers*/
    /*this broke down the child elements*/
  }
  .primary {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: solid 2px;
  }
  /*about page*/
  .secondary {
    flex: 2;
  }
  /*about page*/
  .row {margin-bottom:150px;
    flex-direction: row;
  }
  /*about page*/
  .main-nav {
    justify-content: center;
  }
  /*flexbox*/
  .main-header {
    justify-content: space-between;
    align-items: center;
  }

  /*flexbox*/
  .last-words {
    height: 400px;
  }
  /*text in footer*/
  .last-heading {
    font-size: 1em;
  }
  /*text in footer*/
  .banner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /*landing*/
  .fatface,
  .overclock {
    font-size: 10vw;
  }
  /*text in header*/
  p {
    font-size: 1.35em;
  }
  /*text in body*/
  .col{margin-bottom:100px;}

  #projects{height:100%; width:50%;}

}

              
            
!

JS

              
                $(document).ready(function(){
  $(".fatface").addClass("animated bounce");
});
              
            
!
999px

Console