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

              
                <!-- top navigation menu -->
<nav id="custom-bootstrap-menu" class="navbar navbar-default navbar-fixed-top">
 <div class="container-fluid">
  <div class="row">
   <div class="col-md-1"></div>
   <div class="col-md-10">
    <div class="navbar-header">
     <a class="navbar-brand" href="#">DDR</a>
    </div>
    <ul class="nav navbar-nav navbar-right">
     <li><a href="#about">About</a></li>
     <li><a href="#projects">Projects</a></li>
     <li><a href="#contact">Contact</a></li>
    </ul>
   </div>
   <div class="col-md-1"></div>
  </div>
</nav>
<!-- content -->
<div class="container-fluid">
 <div class="row">
  <div class="col-md-1"></div>
  <div id="about" class="col-md-10">
   <!-- empty row -->
   <div class="row">
    <div class="col-md-12">&nbsp;</div>
   </div>
   <!--content row -->
   <div class="row">
    <div class="col-md-8">
     <div class="jumbotron jumbotron-fluid">
			 <h1 class="display-3">Hello!</h1>
      <p class="lead">I'm Daniel, architect and geek, trying to always learn new things.</p>
     </div>
    </div>
    <div class="col-md-4">
     <img src="http://theforeignarchitect.com/wp-content/uploads/2017/05/me-e1494749003670.png" class="img-thumbnail float-right">
    </div>

   </div>
   <!-- empty row -->
   <div class="row">
    <div class="col-md-12">&nbsp;</div>
   </div>
  </div>
  <div class="col-md-1"></div>
 </div>
 <!-- end about -->
 <div class="row">
  <div class="col-md-1"></div>
  <div id="projects" class="col-md-10">
   <h1>PROJECTS</h1>
   <p>Here will come my projects. Three rows.</p>
   <div class="row">
    <div class="col-md-4">
     <img src="https://theforeignarchitect.com/wp-content/uploads/2017/04/170408-172544-CN-Hong-Kong-1100x541.jpg" class="img-thumbnail">
     <p>Project A</p>
    </div>
    <div class="col-md-4">
     <img src="https://theforeignarchitect.com/wp-content/uploads/2017/04/170408-061742-CN-Hong-Kong-1100x618.jpg" class="img-thumbnail">
     <p>Project B</p>
    </div>
    <div class="col-md-4">
     <img src="https://theforeignarchitect.com/wp-content/uploads/2017/04/170409-225120-CN-Hong-Kong-1100x618.jpg" class="img-thumbnail">
     <p>Project C</p>
    </div>
   </div>
   <!-- end project thumbnail row -->
   <div class="row">
    <div class="col-md-4">
     <img src="http://theforeignarchitect.com/wp-content/uploads/2017/03/Burj-Khalifa-Dubai-1-1100x733.jpg" class="img-thumbnail">
     <p>Project D</p>
    </div>
    <div class="col-md-4">
     <img src="http://theforeignarchitect.com/wp-content/uploads/2017/05/170409-154633-CN-Hong-Kong-1100x733.jpg" class="img-thumbnail">
     <p>Project E</p>
    </div>
    <div class="col-md-4">
     <img src="http://theforeignarchitect.com/wp-content/uploads/2017/05/170408-060523-CN-Hong-Kong-1100x618.jpg" class="img-thumbnail">
     <p>Project F</p>
    </div>
   </div>
   <!-- end project thumbnail row -->
  </div>
  <div class="col-md-1"></div>
 </div>
	<!-- CONTACT SECTION ----------------->
 <div class="row">
  <div class="col-md-1"></div>
  <div id="contact" class="col-md-10">
   <h1>CONTACT</h1>
   <div class="row">
    <div class="col-md-6">
     <form>
      <div class="form-group">
       <label for="inputEmail">Email:</label>
       <input type="email" class="form-control" id="inputEmail" placeholder="Enter email">
      </div>
      <div class="form-group">
       <label for="inputName">Name:</label>
       <input type="text" class="form-control" id="inputName">
      </div>
      <div class="form-group">
       <label for="inputMessage">Message:</label>
       <textarea class="form-control" id="inputMessage" rows="5"></textarea>
      </div>
      <button type- "submit" class="btn btn-primary">Send</button>

     </form>
    </div>
    <div class="col-md-6">
     <p>Send me a message if you want to know more about the projects above, or just to say hi!</p>
    </div>
   </div>
  </div>
  <div class="col-md-1"></div>
 </div>
 <div id="myfooter" class="row">
  <div class="col-md-1"></div>
  <div class="col-md-10">
   <div class "row">
    <div class="col-md-6 text-center footer">
			<p>Page created and coded by Daniel da Rocha.<br/>© 2017 All rights reserved.</p>
    </div>
    <div class="col-md-6 text-center">
     <a href="https://www.linkedin.com/in/danrocha/" class="fa fa-linkedin"></a>
			<a href="https://twitter.com/theForeignArch" class="fa fa-twitter"></a>
			<a href="https://www.pinterest.com/theforeignarchitect/" class="fa fa-pinterest"></a>
    </div>
   </div>
		<!-- empty row -->
   <div class="row">
    <div class="col-md-12">&nbsp;</div>
   </div>
  </div>
  <div class="col-md-1"></div>
	 
 </div>

</div>
              
            
!

CSS

              
                body {
	background-color: #222;
	color: #000;
	padding-top: 50px;
}

form {
	margin-bottom: 1em;
}

h1{
	font-family: 'Arvo', Georgia, Times, serif;
	font-size: 59px;
	line-height: 70px;
}

p {
	font-family: 'PT Sans', Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 25px;
}

.footer{
	padding-top: 1em;
	color: gray;
}

#about {
	padding-top: 50px;
	background-color: lightgray;
}
#projects {
	padding-top: 30px;
	background-color: darkgray;
}
#contact {
	padding-top: 30px;
	background-color: gray;
}
#myfooter {
	background-color: lightgray;
}

#custom-bootstrap-menu.navbar-default .navbar-brand {
    color: rgba(255, 255, 255, 1);
}
#custom-bootstrap-menu.navbar-default {
		font-family: 'Arvo', Georgia, Times, serif;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 1);
    border-width: 0px;
    border-radius: 0px;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
    color: rgba(143, 143, 143, 1);
    background-color: rgba(0, 0, 0, 1);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(248, 248, 248, 0);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(89, 89, 89, 1);
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #595959;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
    background-color: #595959;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #595959;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #000000;
}


/* Style all font awesome icons */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
		color: white;
}

/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
	text-decoration: none;
}

              
            
!

JS

              
                
              
            
!
999px

Console