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="container-fluid navbar-inverse navbar-fixed-top" id="navbar-scroll">
  <div class="container">
    <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" href="#">Silvio Oliveira</a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#about-me">About</a></li>
        <li><a href="#portfolio">Porfolio</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
  </div>
</nav>
<div class="jumbotron main-hero">
  <div class="container">
    <div class="col-md-6 col-md-offset-3 main-hero-box">
      <h2 class="text-center text-upppercase">UX|UI and Front-End Developer</h2>
      <p class="lead text-center"> Creative solutions for daily web problems</p>
    </div>
  </div>
</div>
<div class="jumbotron about-me clearfix">
  <div class="container about-me-bg">
    <span id="about-me"></span>
    <div class="col-md-6 col-md-offset-3">
      <img src="http://onecluecrossword.net/wp-content/uploads/One-Clue-Crossword-Tiger.jpg" alt="tiger-face" class="img-circle center-block">
      <h2 class="text-center">About Me</h2>
      <hr>
      <p class="text-center">Hi, I'm Silvio Oliveira and this is just a briefing introduction of myself. It wasn’t long into my career that I got sick of the constraints of traditional marketing and advertising and moved to the web. I found a passion for interaction design
        and front-end development.</p>
      <p class="text-center">Having lived and worked in Brazil, Angola, South Africa and Portugal, I am currently attending a full-time Interactive Media & Web Developments at <a href="http://www.vanarts.com" target="_blank">Vanarts</a> in Vancouver, BC.</p>
      <p class="text-center">When I'm not creating beautiful solutions and studying new technologies, I enjoy reading sci-fi Books, running, trekking around those beautiful British Columbia Parks and travelling around the globe.</p>
      <p class="lead text-center">Project updates coming soon!</p>
    </div>
  </div <div class="jumbotron portfolio">
</div>
<div class="jumbotron portfolio clearfix">
  <div class="container portfolio-bg">
    <span id="portfolio"></span>
    <h2 class="text-center">Portfolio</h2>
    <hr>
    <div class="row">
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://websitedesigninplainview.com/images/2015-tiles/web-design.jpg" alt="Lights">
          <figcaption class="caption">
            Project A
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr3.templatemonster.com/400x400/52600/52603-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project B
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr0.templatemonster.com/400x400/57700/57784-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project C
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://seorepublic.com/wp-content/uploads/2016/09/web-design-toronto-seorepublic-photogiftcanvas-400x400-400x400.jpg" alt="Lights">
          <figcaption class="caption">
            Project D
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr2.templatemonster.com/400x400/55000/55050-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project E
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr0.templatemonster.com/400x400/58000/58092-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project F
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://marycorley.com/wp-content/uploads/2016/08/Showcase-DCCO-webdesign-1-400x400.png" alt="Lights">
          <figcaption class="caption">
            Project G
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr1.templatemonster.com/400x400/58700/58781-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project H
          </figcaption>
        </figure>
      </div>
      <div class="col-md-4">
        <figure class="thumbnail">
          <img src="http://scr3.templatemonster.com/400x400/38300/38387-original.jpg" alt="Lights">
          <figcaption class="caption">
            Project J
          </figcaption>
        </figure>
      </div>
    </div>
  </div>
</div>
<div class="jumbotron contact clearfix">
  <div class="container contact-bg">
    <span id="contact"></span>
    <h2 class="text-center">Contact Me</h2>
    <hr>
    <div class="row">
      <div class="col-md-6 footer-content">
        <form>
          <div class="form-group">
            <input type="text" class="form-control" placeholder="Name">
          </div>
          <div class="form-group">
            <input type="email" class="form-control" placeholder="Email...">
          </div>
          <div class="form-group">
            <input type="tel" class="form-control" placeholder="Phone Number">
          </div>
          <div class="form-group">
            <textarea class="form-control" rows="5" id="comment" placeholder="Message"></textarea>
          </div>
          <button type="submit" class="btn btn-default">Submit</button>
        </form>
      </div>
      <div class="col-md-6 footer-content">
        <p class="contact-text">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, or even if only for some nice Fika here
          in stunning Toronto... just feel free to drop me a line anytime. I promise to reply A.S.A.P.</p>
      </div>
    </div>
  </div>
</div>
<footer class="main-footer">
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-6 text-center footer-content">
        <h4 class="text-uppercase">about this page</h4>
        <p class="">Made with <span class="glyphicon glyphicon-glass" aria-hidden="true"></span> and <span class="glyphicon glyphicon-ice-lolly-tasted" aria-hidden="true"></span><br>by <a class="a-footer" href="http://silviojoliveira.com" target="_blank">Silvio Oliveira</a>.</p>
      </div>
      <div class="col-md-6 text-center footer-content">
        <h4 class="text-uppercase">around the web</h4>
        <ul>
          <li><a class="social-btn" href="#"><i class="fa fa-github" aria-hidden="true"></i></a></li>
          <li><a class="social-btn" href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
          <li><a class="social-btn" href="#"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
          </li>
        </ul>
      </div>
    </div>
  </div>
</footer>
<footer class="sub-footer">
  <p class="text-center">Silvio Oliveira © 2016. All Rights Reversed</p>
</footer>
              
            
!

CSS

              
                body {
  margin-top: 40px;
  position: relative;
}

.main-hero {
  background-image: url('http://www.silviojoliveira.com/img/background-fcc.jpg');
  background-size: cover;
}

.main-hero h2,
.main-hero p {
  color: #fff;
  font-weight: bolder;
}

.main-hero {
  padding: 80px 0;
}

.main-hero-box {
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.about-me img {
  max-width: 140px;
}

.portfolio hr,
.about-me hr,
.contact hr {
  width: 120px;
  background-color: black;
  height: 4px;
  margin-bottom: 50px;
  border: none;
}

.portfolio-bg,
.contact-bg {
  padding: 1rem 3.75rem 5rem;
}

.about-me .container {
  padding: 50px 0;
}

.about-me,
.portfolio,
contact {
  padding: 0;
}

.jumbotron {
  margin-bottom: 0;
}

.portfolio-bg {
  background: linear-gradient(45deg, rgba(123, 92, 209, 1) 1%, rgba(41, 110, 229, 1) 99%);
}

.about-me-bg {
  background: linear-gradient(45deg, rgba(194, 191, 204, 1) 1%, rgba(220, 222, 226, 1) 99%);
}

.contact-bg {
  background: linear-gradient(45deg, rgba(194, 191, 204, 1) 1%, rgba(220, 222, 226, 1) 99%);
}

.contact {
  padding: 0;
}

.contact .form-control {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid black;
}

.form-control::-webkit-input-placeholder {
  color: #444 !important;
}

footer ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

footer li {
  display: inline
}

.a-footer {
  color: #262626;
}

.social-btn {
  display: inline-block;
  border: 2px solid #d9d9d9;
  ;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 5px;
}

.social-btn i {
  font-size: 26px;
  line-height: 1.5;
  color: #d9d9d9;
}

.main-footer {
  background-color: #737373;
  color: #d9d9d9;
  padding: 40px 0 0 0;
}

.footer-content {
  margin-bottom: 40px;
}

.sub-footer {
  background-color: #262626;
}

.sub-footer p {
  padding: 20px;
  color: #b3b3b3;
  margin: 0;
}

span#portfolio,
span#contact,
span#about-me {
  display: block;
  height: 40px;
}
              
            
!

JS

              
                $('body').scrollspy({
  target: '#navbar-scroll'
});
              
            
!
999px

Console