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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <nav class="navbar navbar-default fixed-nav-bar">
  <div class="container-fluid" style="padding-right: 0px; padding-left:0px;">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
         <a class="navbar-brand scroll"href="#home">Haykys Porfolis</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
      	<li><a href="#home" class="scroll">Home</a></li>
      	<li><a href="#about" class="scroll">About</a></li>
        <li><a href="#portfolio" class="scroll">Portfolio</a></li>
      	<li><a href="#contact" class="scroll">Contact</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<!--home-->
<div id="home" class="div-content">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <div id ="content">
            <h1>Haykys</h1>
            <h5>My Personal Portfolio Webpage</h5>
          </div>
        </div>
      </div>
    </div>
  </div>

<!-- about -->
<div id="about" class="div-content-about">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <div id ="content-about">
            <h1>About Me</h1>
            <h5>My Personal Portfolio Webpage</h5>
            <hr />
            <div class = "col-md-6 col-xs-12">
              <p>I'm a student at University of Economic in Prague. My field of study is applied informatic. I have learned most of my programing skills in my free time using books and online material. Currenly I'm working on understanding as much as possible about web developement. I'm really interested in React.js, Meteor.js, Node.js and many other new technologies connected to Javascript. I have also done some Game Developement in Unity 4.7.x using C#, creating games similar to Space Invadors or Plants vs. Zombies. Working on Cisco certificates is also my freetime activity. Curretly I own only CCNA R&S_1. </p>
            </div>
            <div class = "col-xs-6 computer hidden-xs">
              <img class = "img-responsive" style = "padding-bottom:50px" src="https://hd.unsplash.com/38/awhCbhLqRceCdjcPQUnn_IMG_0249.jpg" alt="Computer" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

<!-- portfolio -->
<div id="portfolio" class="div-content-portfolio">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <div id ="content-portfolio">
            <h1>Portfolio</h1>
            <h5>My Personal Portfolio Webpage</h5
              <hr />
              <div class = "row firstrow">
                <div class = "col-xs-12 col-md-4 thumb">
                  <div class="caption">
                      <h4>YelpCamp Project</h4>
                      <p>Technology used: HTML, CSS, Javascript, Express.js, Node.js, MongoDb, Mongoose, RESTful, Passport.js, Git, Heroku, Bootstrap </p>
                  </div>
                  <div>
                   <a href="https://obscure-shelf-68966.herokuapp.com/"><img src="http://oi68.tinypic.com/2zf9014.jpg" alt="YelpCamp" class = "img-responsive"/></a>
                  </div>
              </div>
                  <div class = "col-xs-12 col-md-4 thumb tribute">
                  <div class="caption">
                      <h4>Tribute page</h4>
                      <p>Technology used: HTML, CSS, Codepen</p>
                  </div>
                  <div>
                   <a href="https://codepen.io/Haykys/pen/BLBprz"> <img src="http://oi63.tinypic.com/2d6u0k6.jpg" alt="YelpCamp" class = "img-responsive"/></a>
                  </div>
              </div>
                <div class = "col-xs-12 col-md-4 thumb tribute">
                  <div class="caption">
                      <h4>Patatap clone</h4>
                      <p>Technology used:HTML, CSS, Javascript, Paper.js, Howler.js, Express.js, Git, Heroku </p>
                  </div>
                  <div>
                    <a href="https://shielded-headland-31452.herokuapp.com/"><img src="http://oi64.tinypic.com/2iayd6o.jpg" alt="YelpCamp" class = "img-responsive"/></a>
                  </div>
              </div>
              </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <!--Contact-->
  <div id="contact" class="div-content-contact">
    <div class="container">
      <div class="row">
        <div class="col-md-12">
          <h1 class = "black">CONTACT</h1>
          <p class="black">Feel free to contact me</p>
          <div class="row">
              <div class="col-sm-12">
                <a class="btn btn-default btn-lg" href="https://www.linkedin.com/in/hayk-shakhbazyan-a020b1a9?trk=nav_responsive_tab_profile_pic" role="button" target="_blank"><i class="fa fa-linkedin"></i><span> Linkedin</span></a>
                <a class="btn btn-default btn-lg" href="https://www.facebook.com/hayk.shakhbazyan" role="button" target="_blank"><i class="fa fa-facebook"></i><span>Facebook</span></a>
                <a class="btn btn-default btn-lg" href="https://github.com/Haykys" role="button" target="_blank"><i class="fa fa-github"></i><span>Github</span></a>
              </div>
            </div>  
        </div>
      </div>
    </div>
  </div>
              
            
!

CSS

              
                /*--general styles --*/
body{
  background-color:#A8A8A8;
}
.div-content {
  min-height: 100vh;
  padding-top: 70px;
  padding-bottom: 20px;
}

a{
  color: #A8A8A8;
}
/*---navbar---*/

.navbar-header{
  background-color:black;
}

.fixed-nav-bar {
  font-family:Playfair Display;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background-color:#A8A8A8 ;
  border:solid;
  border-color:rgba(0,0,0,1);

}

.navbar-nav{
  background:black;
  border-color:rgba(255,255,255,1);
  
}
/*---home---*/
#home {
  background: url('https://hd.unsplash.com/photo-1434357887303-9cc5772b2a77');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#content{
  font-family:Playfair Display;
	text-align: center;
	padding-top: 15%;
	text-shadow: 0px 4px 3px rgba(255,255,255,0.4),
}

#content h1{
  color:#A8A8A8;
  font-size: 5em;
  font-weight: 100;

}
#content h5{
  color:#A8A8A8;
  font-size: 1.5em;
}

/*---about---*/
.computer{
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
hr{
  display: block; 
  content: ""; 
  height: 30px; 
  margin-top: -31px; 
  border-style: solid; 
  border-color: #8c8b8b; 
  border-width: 0 0 1px 0; 
  border-radius: 20px; 
}

.div-content-about {
  min-height: 50vh;
  padding-top: 40px;
  padding-bottom: 20px;
}

#content-about{
  font-family:Playfair Display;
	text-align: center;
	padding-top: 0
	text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
}

#content-about h1{
  color:black;
  font-size: 5em;

}
#content-about h5{
  color:black;
  font-size: 20px;
}

/*--portfolio --*/
.tribute{
  margin-top:50px;
}
.caption{
  opacity: 0;
}

.firstrow{
  margin-top:20px;
}

.div-content-portfolio{
  font-family:Playfair Display;
	text-align: center;
	padding-top: 0;
	text-shadow: 0px 4px 3px rgba(0,0,0,0.4);
  background-color:black;
  color: #A8A8A8;
}

#content-portfolio h1{
  color:#A8A8A8;
  font-size: 5em;

}
#content-portfolio h5{
  color:#A8A8A8;
  font-size: 20px;
}

.div-content-portfolio {
  min-height: 70vh;
  padding-top: 70px;
  padding-bottom: 20px;
}

/* contact */
.div-content-contact{
  font-family:Playfair Display;
	text-align: center;
	padding-top: 0;
  background-color: #A8A8A8;
}

.black{
    color:black;
  }

              
            
!

JS

              
                $('.thumb').hover(function(){
	$(this).find('.caption').css('opacity','1');
}, function(){
	$(this).find('.caption').css('opacity','0');
});

$(document).ready(function(){ 
	$(".scroll").click(function(event){
		event.preventDefault();
		$("html,body").animate({scrollTop:$(this.hash).offset().top}, 500);
		$('.navbar-default a').removeClass('selected');
		$(this).addClass('selected');
    	});
});

              
            
!
999px

Console