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

              
                
<!--Navbar -->


<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class='container-fluid navbar-container'>
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#headCollapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span> 
      </button>
    </div>
    <div class="collapse navbar-collapse" id='headCollapse'>
      <ul class='nav navbar-nav'>
        <li><a class='nav-item' href='#back1' id='home'>Home</a></li>
        <li><a class='nav-item' href='#back2' id='about'>About</a></li>
        <li><a class='nav-item' href='#back3' id='works'>Works</a></li>
        <li><a class='nav-item' href='#back4' id='contact'>Contact</a></li>
      </ul>
    </div>
  </div>
</nav>

<!--Page 1 -->

<div class="back" id="back1">
  <div data-role="content">
    <div class='container-fluid introContent text-center'>
      <div class='row'>
        <div class='emptyPadding'></div>
        <div class='intro text-center col-md-12'>
          <h1>Xinhao Jiang</h1>
          <div class='line'></div>
          <div>
            <p>Front End Developer</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<!--Page 2 -->

<div class="back" id="back2">
  <div data-role="content">
    <div class='container-fluid bio'>
      <div class='row'>
        <div class='emptyPadding'></div>
        <div class='intermediate'>
          <div class='blockUp col-md-12'>
            <p class='text-center aboutHeader'>
              About Me
            </p>
            <p class='aboutParagraph'>
              I am a self taught developer with an analytical mindset, and a keen interest in finding creative solutions with practical implementation. Primarily focused on the area of responsive, dynamic, user focused development.
              <br><br> Let's make this a good one!
            </p>
            <p class='aboutSkills'>
              <span class='skillsHeader'>Languages and Frameworks</span> - Javascript, jQuery, CSS3, HTML5, Bootstrap.
            </p>

          </div>
        </div>
        <div class='blockDown col-md-12 text-center collapse navbar-collapse'>
          <p><span class="devicons devicons-javascript_shield col-md-6 spinner"></span>
            <span class="devicons devicons-css3 col-md-6 spinner"></span></p>
          <p><span class="devicons devicons-html5 col-md-12 spinner"></span></p>
          <p><span class="devicons devicons-bootstrap col-md-6 spinner"></span>
            <span class="devicons devicons-jquery col-md-6 spinner"></span></p>

        </div>

      </div>
    </div>
  </div>
</div>


<!--Page 3 -->

<div class="back" id="back3">
  <div data-role="content">
    <div class='container-fluid content' id='works'>
      <div class='row'>
        <div class='emptyPadding'>
        </div>
        <div class='worksHeader text-center'>Personal Portfolio
        </div>
        <div class='worksHeaderExplanation text-center'>My recent works as detailed below
        </div>


        <div class='col-md-6 worksItem img-responsive text-center'>
          <a href='https://codepen.io/ehekatlOf/pen/VamQON' target='_blank'>
            <img class='worksImage' src='https://36.media.tumblr.com/095ddbad17988f499f6bc864f6ce3386/tumblr_inline_o566wyIn2J1u2aqia_540.png'>
          </a>
          <div class='descriptor'>
            <h4>Simon Board Game</h4> Reproduction of the board game
          </div>
        </div>
        <div class='col-md-6 worksItem img-responsive text-center'>
          <a href='https://codepen.io/ehekatlOf/pen/aNdGMQ' target='_blank'>
            <img class='worksImage' src='https://40.media.tumblr.com/a73f8fedb96c46eae7ab4f32f4bb09f1/tumblr_o566xae5lv1v9brtyo1_400.png'>
          </a>
          <div class='descriptor'>
            <h4>Tic Tac Toe</h4> Tic Tac Toe made with jquery and vanilla JS
          </div>
        </div>
        <div class='col-md-6 worksItem img-responsive text-center'>
          <a href='https://codepen.io/ehekatlOf/pen/MKRqab' target='_blank'>
            <img class='worksImage' src='https://40.media.tumblr.com/9e75fe5263a346c4fdc7504f9826adc5/tumblr_inline_o566x5pa0P1u2aqia_540.png'>
          </a>
          <div class='descriptor'>
            <h4>Wikipedia Viewer</h4> Wikipedia search using the wikipedia API
          </div>
        </div>
        <div class='col-md-6 worksItem img-responsive text-center'>
          <a href='https://codepen.io/ehekatlOf/pen/MyWvjZ' target='_blank'>
            <img class='worksImage' src='https://40.media.tumblr.com/d8d6c0fa4f579d19bddaa7267d2cd20c/tumblr_inline_o566x8JHoc1u2aqia_540.png'>
          </a>
          <div class='descriptor'>
            <h4>Stream Status</h4> Twitch stream tracker with real time updates
          </div>
        </div>


      </div>
    </div>
  </div>
</div>

<!--Page 4 -->

<div class="back" id="back4">
  <div class='container-fluid contactPage'>
    <div class='row'>
      <div class='emptyPadding'>
      </div>
      <div class='contactHeader text-center'>
        Find me at
      </div>

      <div class='contactBlock text-center'>
        <div class='contact text-center col-md-3'>
          <a href='https://github.com/ehekatlOf' target='_blank'>
            <div class='contactCont'>
              <span class='contactIcon devicons devicons-github_badge'></span>
              <span class='contactIconName'>Github</span>
            </div>
          </a>
        </div>
        <div class='contact text-center col-md-4'>
          <a href='https://codepen.io/ehekatlOf/' target='_blank'>
            <div class='contactCont'>
              <span class='contactIcon devicons devicons-codepen'></span>
              <span class='contactIconName'>Codepen</span>
            </div>
          </a>
        </div>
        <div class='contact text-center col-md-5'>
          <a href='https://www.freecodecamp.com/ehekatlof' target='_blank'>
            <div class='contactCont'>
              <span class='contactIconFire'><i class="fa fa-fire fa-fw"></i></span>
              <span class='contactIconNameFire'>Freecodecamp</span>
            </div>
          </a>
        </div>
      </div>
    </div>
  </div>
</div>

              
            
!

CSS

              
                /* debugging */

* {

}

/* Backgrounds and Overlay */

body {
  font-family: 'Quicksand';
  margin-left: 0px;
  padding: 0;
}

.content {
  color: rgba(0, 0, 0, 0.65) !important;
}

.back {
  min-height: 900px;
}

#back1 {
  background: linear-gradient(180deg, #EFEFBB 20%,#D4D3DD);
}

#back2 {
  background:linear-gradient(180deg,#D4D3DD,#757F9A);
}

#back3 {
  background:linear-gradient(180deg,#757F9A,#B993D6);
}

#back4 {
  background:linear-gradient(180deg,#B993D6,#FBD3E9);
  min-height: 450px;
}

a,a:link,a:visited{
  border:none;
  outline:none;
  text-decoration:none;
  color:inherit;
}
/* Navbar stuff */

.navbar-default {
  background-color: transparent !important;
  border: 0px transparent solid !important;
  margin: 0px !important;
}

.navbar-container {
  text-align: center !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
}

.navbar .navbar-nav {
  float:none;
  display: inline-block;
  margin-bottom: -5px;
  margin-left: 20px;
}

ul > li > a {
  color: rgba(0, 0, 0, 0.65) !important;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  font-size: 1.75em;
  background-color: transparent !important;
}

ul > li:hover {
  box-shadow: inset 0px 0px 2px 3px rgba(100, 100, 100, 0.2);
  -webkit-animation: blink 1.5s infinite;
}

/* animations */

@-webkit-keyframes blink {
  0% {
    opacity:0.8;
    color: rgba(183,154,0,0.9);    
  }
  50% {
    opacity:0.55;
    color: rgba(183,154,0,0.9);    
  }
  100% {
    opacity:0.8;
    color: rgba(183,154,0,0.9);    
  }
}

@-webkit-keyframes blink2 {
  0% {
    opacity:0.9;
    transform: scale(1.005);
  }
  50% {
    opacity:0.7;
    transform: scale(1.005);
  }
  100% {
    opacity:0.9;
    transform: scale(1.005);
  }
}

.spinMe {
  color: rgba(0, 0, 0, 0.65) !important;
  -webkit-animation: spin 1.5s;
  -webkit-font-smoothing: antialiased;
}

@-webkit-keyframes spin {
  0% {
    
  }
  50% {
    -webkit-transform: rotatex(360deg);
  }
  100% {
    -webkit-transform: rotatex(720deg);
  }
}

@-webkit-keyframes contactLink {
  0% {
    opacity:0.9;
  }
  50% {
    opacity:0.55;
  }
  100% {
    opacity:0.9;
  }
}

/* prepage formatting */

.emptyPadding{
  border: 0px red solid;
  content: '';
  height: 50px;
}

/*page 1*/

.back>content {
  padding-left: -20px;
}

.introContent{
  max-width: 600px;
}

.intro {
  margin-top: 30vh;
  border: 0px red solid;
}

.intro>h1 {
  font-size: 5em;
  font-weight: 900;
}

.line {
  min-height: 2px;
  content:'';
  background: radial-gradient(rgba(0,0,0, 1), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  margin-top: -0.3em;
  margin-bottom: 0.5em;
}

.intro>div>p {
  font-size: 2em;
  font-weight: 900
}

/* Page 2 */

.bio {
  border: 0px green solid;
  max-width: 1000px;
}

.intermediate {
  margin-top: 0.5em;
}

.blockUp {
  border: 0px red solid;
  padding: 0px 40px 40px 40px;
  min-height: 100%;
  margin-bottom: 3em;
}

.blockDown {
  border: 0px red solid;
  width: 100%;
  font-size: 7em;
  margin: auto 0;
}

.aboutHeader {
  font-size: 4em;
}

.skillsHeader {
  font-weight: 700;
}

.aboutSkills {
  margin-top: 2em;  
}

.aboutParagraph, .aboutSkills {
  font-size: 1.7em;
}

.spinner:hover {
  -webkit-animation: spin 1.5s;
  -webkit-font-smoothing: antialiased;
  color: rgba(0, 0, 0, 0.65) !important;
}

/* Page 3 */

.content{
  max-width : 900px;
}

.worksHeader {
  margin-top: 0.1em;
  font-size: 4em;
}

.worksHeaderExplanation {
  font-size:2em;
  margin-bottom: 4vh;
}

.worksDisplay {
  border: 0px red solid;
  height: 70%;
}

.worksItem {
  border: 0px black solid;
  margin-bottom: 30px;
}


.worksImage{
  width: 400px;
  border-radius: 5px 5px 0px 0px;
}

.worksImage:hover{
  -webkit-animation: blink2 1.5s infinite;
  box-shadow: 0px 0px 3px 3px rgba(255,215,0,0.1);  
}

h4 {
  font-weight: 700;
}

.descriptor {
  max-width: 400px;
  margin: 0 auto;
  background-color: rgba(255,255,255, 0.4);
  padding: 5px;
  border: 0px green solid;
  border-radius: 0px 0px 5px 5px;
}

/* Page 4 */

.contactPage{
  max-width: 1150px;
}

.contactHeader {
  margin-top: 0.1em;
  margin-bottom: 1em;
  font-size: 4em;
}

.contact {
  border: 0px red solid;
  padding: 10px;
}

.contactCont{
  border-radius: 5px;
  border: 2px rgba(50,50,50,0.6) solid;
  cursor: pointer;
  background: rgba(250,250,250,0.3);
  box-shadow: 0px 0px 2px 1px rgba(50,50,50,0.6);
}

.contactCont:hover {
  -webkit-animation: contactLink 1.5s infinite;
  color: rgba(183,154,0,0.8);
}

.contactIcon {
  font-size: 6em;
}

.contactIconName{
  font-size: 2.5em;
  position: relative;
  top: -0.7em;
  border: 0px red solid;
}

.contactIconFire {
  font-size: 4.65em;
}

.contactIconNameFire{
  font-size: 2.5em;
  position: relative;
  top: -0.3em;
  border: 0px red solid;
}
              
            
!

JS

              
                $(function() {

/*$('.spinners').on('mouseenter',function(){
    $(this).closest('.spinner').removeClass('spinMe').addClass('spinMe');
    console.log($(this).closest('.spinner').attr('class'));
});

$('.spinners').on('mouseenter',function(){
  var oldSteak = $(this).closest('.spinner');
  newSteak = oldSteak.clone(true);
  oldSteak.before(newSteak);
  $(this).closest('.spinner').remove();
}); */


$('a').click(function() {
    $('body').animate({
        scrollTop: $($(this).attr('href')).offset().top }, 500);
    return false;
});

  
});
              
            
!
999px

Console