css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <html>
  <head>
    <title>Portfolio v1</title>
    <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">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  </head>
  <body data-spy="scroll" data-target=".navbar" data-offset="50">
    <div class="container-fluid">
      <!-- *** NAVIGATION BAR *** -->
      <nav class="navbar navbar-default 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="#">portfolio</a>
          </div>
          <div>
            <div class="collapse navbar-collapse" id="myNavbar">
              <ul class="nav navbar-nav navbar-right">
                <li class="active"><a class="slideMenu" name="section1" href="#section1">About</a></li>
                <li><a class="slideMenu" name="section2" href="#section2">Skills</a></li>
                <li><a class="slideMenu" name="section3" href="#section3">Portfolio</a></li>
                <li><a class="slideMenu" name="section4" href="#section4">Get in touch</a></li>
              </ul>
            </div>
          </div>
        </div>
      </nav>
      <!-- *** END OF NAVIGATION *** -->
      <!-- *** ABOUT ME *** -->
      <div class="row bg-intro text-center" id="section1">
        <h3>Who am I?</h3>
        <img src="https://theboardr.blob.core.windows.net/headshots/2685_900.jpg" alt="James Smith" class="img-circle portfolioPic" />
        <p>Web developer with experience in HTML/CSS, JavaScript, jQuery and bootstrap</p>
        <a href="https://github.com/TOMEJUS" target="_blank"><i class="fa fa-github fa-3x" area-hidden="true"></i></a>
        <a href="https://facebook.com" target="_blank"><i class="fa fa-facebook fa-3x" area-hidden="true"></i></a>
        <a href="http://instagram.com" target="_blank"><i class="fa fa-instagram fa-3x" area-hidden="true"></i></a>
      </div>
      <!-- *** END OF ABOUT ME *** -->
      <!-- SKILLS *** -->
      <div class="row bg-languages text-center" id="section2">
        <h3>What am I good at?</h3>
        <div class="col-xs-4">
          <i class="fa fa-code fa-5x" area-hidden="true"></i>
          <p>HTML5/CSS3</strong></p>
          <p>sufficient in HTML5 and CSS3 able to work with frameworks (i.e. bootstrap)</p>
        </div>
        <div class="col-xs-4">
          <i class="fa fa-code fa-5x" area-hidden="true"></i>
          <p>JavaScript/jQuery</p>
          <p>sufficient in JavaScript and able to work with frameworks (i.e. jQuery)
        </div>
        <div class="col-xs-4">
          <i class="fa fa-code fa-5x" area-hidden="true"></i>
          <p>PHP/MySQL</p>
          <p>sufficient in PHP and MySQL able to work with databases</p>
        </div>
      </div>
      <!-- END OF SKILLS *** -->
      <!-- PORTFOLIO *** -->
      <div class="row bg-portfolio text-center no-gutter" id="section3">
        <h3>Take a look at my work</h3>
        <div class="col-xs-4">
          <img src="http://t15.deviantart.net/pc6y5YUm_XVwKsXbaJQSELdzF-c=/fit-in/700x350/filters:fixed_height(100,100):origin()/pre00/cb8b/th/pre/f/2008/054/f/c/home_page_by_esito.jpg" class="img-responsive center-block" alt="Portfolio design 1"/>
        </div>
        <div class="col-xs-4">
          <img src="http://t00.deviantart.net/Lg8kcA9PWeTbiqTYG1apUGBjaws=/fit-in/700x350/filters:fixed_height(100,100):origin()/pre05/0cda/th/pre/f/2008/023/7/6/escompany_green_style_by_esito.jpg" class="img-responsive center-block" alt="Portfolio 2" />
        </div>
        <div class="col-xs-4">
          <img src="http://t01.deviantart.net/5RA6cz-EX1j-ED_D10SseN9o50A=/fit-in/700x350/filters:fixed_height(100,100):origin()/pre05/c2f5/th/pre/f/2008/048/9/6/es_design_by_esito.jpg" class="img-responsive center-block" alt="Portfolio 3" />
        </div>
        <button class="btn btn-default btn-lg"><i class="fa fa-paper-plane" aria-hidden="true"></i> Browse all gallery</button>
      </div>
      <!-- *** END OF PORTFOLIO *** -->
      <!-- *** GET IN TOUCH *** -->
      <div class="row bg-contact text-center" id="section4">
        <h3>Get in touch with me</h3>
        <div class="col-xs-6">
          <div class="col-xs-6 col-xs-offset-3"> <!-- In order to centralize form -->
            <form id="contactForm">
              <div class="form-group">
                <label for="name" class="sr-only">Name</label>
                <input type="text" class="form-control" placeholder="Your name" id="name" />
              </div>
              <div class="form-group">
                <label for="email" class="sr-only">Email address</label>
                <input type="email" class="form-control" placeholder="Email address" id="email" />
              </div>
              <textarea name="message" form="contactForm" class="form-control" rows="6" placeholder="Message"></textarea>
              <button type="submit" class="btn btn-lg btn-primary"><i class="fa fa-envelope"></i> Send</button>
            </form>
          </div>
        </div>
        <div class="col-xs-6">
          <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sed dolor diam. Donec a tincidunt leo. Pellentesque dapibus turpis lacus, a auctor turpis vehicula et. Vestibulum sagittis ultrices eros, vel consectetur eros mollis id. Nunc luctus lectus id erat scelerisque vehicula. Duis convallis auctor urna eget condimentum. Nullam vitae nisi eget arcu laoreet scelerisque ac ac nibh. Curabitur euismod in nunc a dignissim. Donec placerat sollicitudin dictum.</p>
        </div>
      </div>
      <!-- END OF GET IN TOUCH -->
        <footer class="text-center">
          <p>2017 TOMAS MONKEVICIUS</p>
        </footer>
    </div>
  </body>
</html>
            
          
!
            
              body {
  position: relative;
}

.bg-intro {
  background-color: #dddfd4;
}

.portfolioPic {
  height: 150px;
  width: 150px;
}

.bg-portfolio {
  background-color: #3fb0ac;
}

.bg-contact {
  background-color: #173e43;
  color: #FFFFFF;
}

button.btn-default {
  margin-top: 70px;
  background-color: #3fb0ac;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

button.btn-default:hover {
  background-color: #FFFFFF;
  color: #173e43;
}

input, textarea {
  border: none !important;
  background-color: #dddfd4 !important; 
  box-shadow: none !important;
  resize: none;
}

.row {
  padding-top: 70px;
  padding-bottom: 70px;
}

footer {
  margin: 10px;
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 18px !important;
  }
  
  p {
    font-size: 12px !important;
  }
  
  .fa {
    font-size: 48px;
  }
}

@media screen and (max-width: 568px) {
  h3 {
    font-size: 14px !important;
  }
  
  p {
    font-size: 10px !important;
  }
  
  .fa {
    font-size: 36px;
  }
}

#section1 p {
  font-size: 24px;
}

#section1 i {
  color: #173e43;
}

#section1 i:hover {
  color: #3fb0ac;
}

#section2 i {
  color: #173e43;
}

#section4 button {
  margin-top: 10px;
}

#section3 img {
  transition: all .2s ease;
}

#section3 img:hover {
  transform: scale(1.5);
}

#section3 .col-xs-4 {
  overflow: hidden;
    border: 10px solid red;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
            
          
!
            
              $(document).ready(function() {
  function slideToAnchor(tempId) {
    var id = $("#" + tempId);
    $("html, body").animate({ // Use jQuery anime in order to slide
      scrollTop: id.offset().top}, "slow"); // id = the name of <a> tag
  }
  
  $(".slideMenu").click(function(event) {
    event.preventDefault(); // So nav bar does not blink when clicked
    slideToAnchor(event.target.name);
  });
});
            
          
!
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