cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

            
              <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">

<body>
  <!--nav fixed bar -->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <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="#">Hung Nguyen</a>
      </div>
      <div>
       <div class="collapse navbar-collapse" id="myNavbar">
        <ul class="nav navbar-nav navbar-right">
          <li><a>Introduction</a></li>
          <li><a>Portfolio</a></li>
          <li><a>Contact</a></li>
        </ul>
       </div>
      </div>
    </div>
  </nav>
<div class="container-fluid">
  <div class="row"  id="introduction" style="padding-top: 50px;"  >
    <!--devide the web into 3 col  -->
    <!--left section -->
    <div class="col-md-2 col-xs-1 left-section">
      <div>&nbsp;</div>
    </div>
    <!--center section -->
    <div class="col-md-8 col-xs-10 center-section">
      <div class="row text-center center">
        <!--left space section for medium screen -->
        <div class="col-md-2 ">&nbsp;</div>
        <!--introduce info -->
        <div class="col-md-4 col-xs-8">
          <div>Hey! FU <a href="https://freecodecamp.com" target="_blank">Free Code Camp</a></div>
          <hr>
          <div class="h4">Web Developer</div>
        </div>
        <!--space between introduce info and image -->
        <div class="col-md-2 ">&nbsp;</div>
        <!--col for image -->
        <div class="col-md-2 col-xs-4">
          <div><img src="#" ></div>
          </div>
        <!--space for medium screen -->
        <div class="col-md-2">&nbsp;</div>
      </div>
      <!--new col in center-section -->
      <div class="row portfolio text-center" >
        <a><div >Portfolio</div></a>
        <hr>
        <!--devide into 2 cols -->
        <div class="col-md-1 col-xs-1">&nbsp;</div>
        <div class="col-md-4 col-xs-4">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473222/images_zrfcm1.jpg" class="img-responsive">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473215/images1_srngwn.jpg" class="img-responsive ">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473843/images_ghihe1.png" class="img-responsive ">
        </div>
        <div class="col-md-2 col-xs-2">&nbsp;</div>
        <div class="col-md-4 col-xs-4">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473209/image4_exjeyb.jpg" class="img-responsive ">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473194/image3_gdecbi.jpg" class="img-responsive ">
          <img src="https://res.cloudinary.com/hungnguyen1895/image/upload/v1473473844/images_1_nczuei.png" class="img-responsive ">
        </div>
        <div class="col-md-1 col-xs-1">&nbsp;</div>
        </div>
      <div class="row contact" >
        <div class="text-center contact-me"><b>Contact me</b></div>
        <hr>
        <div class="col-sm-6">
          <div><input type="text" placeholder="Name" style="border: none"></div>
          <hr>
          <div><input type="text" placeholder="Email Address" style="border: none"></div>
          <hr>
          <div><input type="text" placeholder="Phone number" style="border: none"></div>
          <hr>
          <div><textarea placeholder="Message" style="border: none"></textarea></div>
          <hr>
          <div><button class="btn bt-default btn-primary">Send</button></div>
          <hr>

        </div>
        <div class="col-sm-6">
          <div class="quote">Want to get in touch with me? Be it to request more info about myself or my experience, to ask for my resume, tips on how to solve your sudoku, random questions about the universe and the meaning of life.</div>
        </div>
      </div>
    </div>
    <div class="col-md-2 col-xs-1 right-section">&nbsp;</div>
  </div>
      <div class="row text-center about-me">
        <div class="col-md-2 col-xs-1">&nbsp;</div>
        <div class="col-md-3 col-xs-5">
          <div>About this page</div>
          <div>Made with <span class="glyphicon glyphicon-music"></span> and <span class="glyphicon glyphicon-glass"></span></div>
          <div>By Hung Nguyen</div>
        </div>
        <div class="col-md-2 col-xs-1">&nbsp;</div>
        <div class="col-md-3 col-xs-5">
          <div>Around the web</div>
          <a href=""><i class="glyphicon glyphicon-envelope"></i></a>
          <a href=""><i class="glyphicon glyphicon-send"></i></a>
        </div>
        <div class="col-md-2 col-xs-1>">&nbsp;</div>
      </div>
  <div class="row">
    <footer class="col-md-12 col-xs-12 footer text-center">Copyright &copy;</footer>
  </div>
</div>
</body>

            
          
!
            
              body {
	font-family: 'Open Sans', sans-serif;
}
.active {
  background-color: orange;
}
.navbar-brand a {
  color: white;
}
.left-section, .right-section {
  background-color:  #E2CEE6  ;
}
.about-me {
  background-color: #53B08D  ;  
}
.footer {
  background-color: #A809CB  ;
}
.center {
  background-color: #BCBCBC  ;
}
.center, .contact, .portfolio {
  padding: 50px 0px;  
}
.portfolio {
  background-color:  #FAD3D0  ;
   font-weight: bold;
  font-size:  24px;
  
}

.contact {
  background-color:  #FAFBFB;
  
}
.contact-me {
  font-size: 20px;
  text-transform: uppercase;
}

.quote {
  font-size: 24px;
}
input, textarea {
  background-color:  #FAFBFB;
}
input[type="text"] {
  font-size: 16px;
  line-height: 40px;
}
.portfolio img {
  padding: 20px;
}
.about-me {
  font-weight: bold;
  padding: 10px 0;  
}
.footer {
  padding: 20px;
  font-size: 18px;
}
/*make rows have the same height */
.row {
  overflow: hidden; 
}
[class*="col-"]{
  margin-bottom: -99999px;
  padding-bottom: 99999px;
}

/*font size responsive */


            
          
!
            
              $('a').click(function(){
    $('html, body').animate({
        scrollTop: $( $(this).attr('href') ).offset().top
    }, 500);
    return false;
});
            
          
!
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