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

              
                <!-- Navigation Bar -->
  <header class="navbar-inverse">
    <div class="container-fluid">
      <nav class="navigation">
        <!-- 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" href="https://github.com/marislenss" target="_blank">Maris Lenss</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">
        <li><a href="#middle">Portfolio <span class="sr-only">(current)</span></a></li>
        <li><a href="#bottom">Contacts</a></li>
            </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
  </header>
<!-- Social -->
<body>
  <div id="home">
    <h1 class="home-h1">Maris Lenss</h1>
        <h3 class="home-h3">Salesman with a coding dream</h3>
<hr>
<!-- Buttons -->
<ul class="row">
  <div class="col-md-4">
    <a href="https://www.facebook.com/" target ="_blank" class="btn btn-primary btn-lg" role="button"> <i class="fa fa-facebook-square"></i> Facebook</a></div>
  <div class="col-md-4">
    <a href="https://www.linkedin.com/in/m%C4%81ris-len%C5%A1s-3a3073102" target = "_blank" class="btn btn-primary btn-lg" role="button"><i class="fa fa-linkedin-square"></i> Linkedin</a></div>
  <div class="col-md-4">
    <a href="https://www.freecodecamp.com/marislenss" target = "_blank" class="btn btn-primary btn-lg" role="button"> <i class="fa fa-fire"></i> FreeCodeCamp</a></div>
</div>
    </ul>

<!-- PORTFOLIO SECTION -->
<div id="middle"></div>
  <div class="home-h2">Some of my recent work</div>
<br>
  <div class="bck">
    <div class="panel col-sm-3 col-xs-6">
    <div class="thumbnail">
      <a href="https://codepen.io/marislenss/full/LRPWZV/" target="_blank"><img src="http://www.bildites.lv/images/wq03fequ8r270ldl33i8.jpg" alt="placeholder.jpg"></a>
        <div class="caption">
         <h3>Tribute page to Elon Musk</h3>
          <p>This is my first ever created page using codepen. Click on image to visit.</p>
  <div class="showOnHover">
    <a href="" class="btn btn-success">Like</a>
          </div>
      </div>
    </div>
  </div>
<div class="panel col-sm-3 col-xs-6">
  <div class="thumbnail">
    <a href="#"><img src="http://www.bildites.lv/images/pi71ne2q1313oiin01rv.jpg" alt="future.jpg"></a>
      <div class="caption">
       <h3>Unknown Project</h3>
        <p>Saving spot for future projects</p>
           <div class="showOnHover">
    <a href="" class="btn btn-success">Like</a>
          </div>
      </div>
    </div>
  </div>
  <div class="panel col-sm-3 col-xs-6">
    <div class="thumbnail">
      <a href="#"><img src="http://www.bildites.lv/images/vj4oxwvbc1xvqpik5ttk.jpg" alt="future.jpg"></a>
      <div class="caption">
        <h3>Unknown Project</h3>
        <p>Saving spot for future projects</p>
         <div class="showOnHover">
    <a href="" class="btn btn-success">Like</a>
          </div>
      </div>
    </div>
  </div>
 <div class="panel col-sm-3 col-xs-6">
  <div class="thumbnail">
    <a href="#"><img src="http://www.bildites.lv/images/9z2a1gvnna96oyqmdxwa.jpg" alt="future.jpg"></a>
      <div class="caption">
       <h3>Unknown Project</h3>
        <p>Saving spot for future projects</p>
           <div class="showOnHover">
    <a href="" class="btn btn-success">Like</a>
          </div>
      </div>
    </div>
  </div>
</div>

<!-- scipt -->
  <script src="https://use.fontawesome.com/1d949c231d.js"></script>
  
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</body>
<!-- FOOTER -->
<div id="bottom"></div>

<footer>
<div class="home-h3">
  Social around the web
</div>
<hr>
<!-- CONTACTS -->
<ul class="row">
  <div class="col-md-4">
    <a href="https://www.facebook.com/" target ="_blank" class="btn btn-primary btn-lg" role="button"> <i class="fa fa-facebook-square"></i> Facebook</a></div>
  <div class="col-md-4">
    <a href="https://www.linkedin.com/in/m%C4%81ris-len%C5%A1s-3a3073102" target = "_blank" class="btn btn-primary btn-lg" role="button"> <i class="fa fa-linkedin-square"></i> Linkedin</a></div>
  <div class="col-md-4">       
    <a href="https://www.freecodecamp.com/marislenss" target = "_blank" class="btn btn-primary btn-lg" role="button"> <i class="fa fa-fire"></i> FreeCodeCamp</a></div>
        </ul>
  </div>
  <div class="arr">
  <br>
  © All rights reserved - <a href="mailto:maris.lenss@gmail.com">Maris Lenss</a>
  </div>
</footer>

              
            
!

CSS

              
                body{
  margin: 0;
}
.home-h1{
  text-align: center;
  text-transform:uppercase;
  font-family: 'Montserrat', sans-serif;
  color: #001a33;
  font-size: 95px;
}
.home-h3{
  text-align: center;
  font-weight:bold;
  font-family: 'Indie Flower', cursive;
  color: black;
  font-size: 30px;
}

#home{
  background: url(http://www.bildites.lv/images/k4qyoc5044sk7b82xje.png) no-repeat center center fixed;
  position: relative;
  height: 750px;
  width: 100%;
  background-size: cover;
}
.bck{
   background: url(http://www.bildites.lv/images/5cboietwzhuti1mfrnx4.jpg) no-repeat center center fixed;
  position: relative;
  text-align: center;
  height: 750px;
  width: 100%;
  background-size: cover;
}
.home-h2{
  text-align: center;
  font-weight:bold;
  font-family: 'Shadows Into Light', cursive;
  color: black;
  font-size: 50px;
}
.about-img{border-radius: 50%;
margin-top: 11em;}
nav div button {
  display: inline;
  margin: 0;
}
.form-group{
  padding: 50px;
}
ul {
  text-align: center;
  list-style-type: none;
}
footer{
  clear: both;
  background: #999;
  padding: 50px;
  border-radius: 10px;
}
.arr{
  text-align: center;
}
.panel .showOnHover {
  display: none;
}
.panel:hover .showOnHover {
  display: inline-block;
}
.panel {
  box-shadow: 2px 2px 10px #001a33;
  margin: 5px;
  width: 368px;
  height: 450px;
}
              
            
!

JS

              
                
              
            
!
999px

Console