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

              
                <head>
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"/>
</head>

<body>
  <nav id="mh-navbar" class="navbar navbar-inverse navbar-fixed-top">
    <div class"container">
      <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="#">achilles imperial</a>
        <p class="navbar-brand"><i class="fa fa-lightbulb-o"></i></p>
      </div>
      <div class="collapse navbar-collapse" id="myNavbar">
        <ul id="mh-page-links" class="nav navbar-nav navbar-right text-right">
          <li><a href="#about-section-container">about</a></li>
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">portfolio
            <span class="caret"></span></a>
            <ul class="dropdown-menu text-right">
              <hr>
              <li class="text-right"><a href="#portwork-cat-1">e-commerce sites</a></li>
              <li class="text-right"><a href="#portwork-cat-2">portfolio sites</a></li>
              <li class="text-right"><a href="#portwork-cat-3">blogs</a></li>
              <hr>
            </ul>
          </li>
          <li class=""><a href="#social-section-container">social</a></li>
          <li class=""><a href="#">contact</a></li>
        </ul>
      </div>
    </div>
  </nav>
  
  <div id="about-section-container" class="container">
    <div class="row">
          <div class="col-sm-9 text-center">
            <div id="name-role-container">
              <div class="page-header">
                <h1 id="developer-name">Achilles Imperial</h1>
                <h2 id="developer-title">Front-End Web Development and UI/UX Design</h2>
              </div>
            </div>
          </div>

            <div id="portrait-container" class="col-sm-3 align-middle">
              <img src="http://saimg-a.akamaihd.net/saatchi/739594/art/2459385/1529402-7.jpg" alt="achilles portrait" id="portrait-photo" class="img-responsive" max-width=200px>
            </div>
        </div>
        <div class="row">
          <div id="work-description-container" class="col-sm-12 col-centered">
            <p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eget mattis odio, dapibus auctor nisi. Morbi viverra tortor eget ullamcorper malesuada. Sed rhoncus ligula quis diam vehicula vulputate. Vestibulum congue lacus tortor, at suscipit leo facilisis non. Duis posuere at massa non semper. Integer venenatis, nisi id gravida posuere, tortor magna convallis urna, a varius augue quam eget quam. Pellentesque ut placerat justo. Curabitur rutrum pretium quam, nec mattis tellus dignissim nec. Donec lobortis auctor metus, a eleifend lacus. Vivamus bibendum arcu sed turpis ultrices imperdiet. Vivamus tincidunt volutpat purus. Integer malesuada tincidunt condimentum. Vivamus faucibus urna felis, eget euismod ipsum sagittis at. Vivamus rutrum, velit eu blandit facilisis, felis risus euismod nulla, sit amet bibendum mi dui nec mi. Praesent vitae libero eu erat feugiat egestas a sed ex.</p>
          </div>
        </div>
      </div>
  <!-- marker -->
  <div id="portfolio-section-container" class="container">
    <div class="page-header text-center">
      <h1>Design Portfolio</h1>
    </div>
    <div id="portwork-cat-1" class="row">
      <h4 class="text-center">e-commerce sites</h4>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%" class="site-thumbnail">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
<div class="caption text-center align-middle">
          Site Thumbnail
        </div>
      </div>      
    </div>
    <div id="portwork-cat-2" class="row">
      <h4 class="text-center">portfolio sites</h4>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
<div class="caption text-center align-middle">
          Site Thumbnail
        </div>
      </div>      
    </div>
    <div id="portwork-cat-3" class="row">
      <h4 class="text-center">blogs</h4>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
        <div class="caption text-center">
          Site Thumbnail
        </div>
      </div>
      <div class="site-thumb-cell col-sm-4">
        <img src="https://i.ytimg.com/vi/gtJ5i6DhbaM/maxresdefault.jpg" alt="site thumb" width="100%">
<div class="caption text-center align-middle">
          Site Thumbnail
        </div>
      </div>      
    </div>    
  </div>

  <div id="social-section-container" class="container">
    <div id="social-section-header" class="page-header text-center">
      <h1>Connect with Me</h1>
    </div>    
    <div class="row align-middle">
      <div class="col-sm-12 text-center">
        <ul id="social-link-list" class="">
          <li class="social-link-item">
            <a href="http://instagram.com/achillesimperial/" target="_blank"><button class="btn">instagram</button></a>
          </li>
          <li class="social-link-item">
            <a href="http://linkedin.com/in/achillesimperial/" target="_blank"><button class="btn">linkedin</button></a>
          </li>
          <li class="social-link-item">
            <a href="http://github.com/imperial-isms" target="_blank"><button class="btn">github</button></a>
          </li>
          <li class="social-link-item">
            <a href="https://www.freecodecamp.org/imperial-isms" target="_blank"><button class="btn">freecodecamp</button></a>
          </li>
        </ul>
      </div>
    </div>
  </div>
    
  
</body>
              
            
!

CSS

              
                body {
  background-color: #2B2B2B;
}
.col-centered {
    float: none;
    margin: 0 auto;
}

 h1, h2, h3, h4, h5, h6{
  font-family: Raleway, Sans Serif;
}

#mh-navbar {
  padding-right: 10px;
}

#mh-page-links {
  padding-right: 0px;
}

.dropdown-link {

}

#about-section-container {
  margin-top: 51px;
  background-color: #f7f7f7;
  border: 1px solid red;
}

#name-role-container {
  padding-top: 25px;
}

#portrait-container {
  padding: 15px;
}

#portrait-photo {
  border: 1px solid black;
}

#work-description-container {
}

#portfolio-section-container {
  max-width: 1000px;
  margin-top: 15px;
  border: 1px solid red;
  padding-top: 15px;
  background-color: #f7f7f7;
}

.site-thumb-cell {
/*  background-color: #666; --> */
  padding-top: 15px;
}


.caption {
  background-color: #696969;
  margin-bottom: 15px;
  color: #fff;
  text-transformation: lowercase;
}

#social-section-container {
  margin-top: 15px;
  border: 1px solid red;
  padding-top: 15px;
  padding-bottom: 30px;
  background-color: #fff;
  padding-right: 60px;
}

#social-section-header {
  padding-left: 40px;
}

#social-link-list {
  list-style-type: none;
  margin-top: 15px;
}

.social-link-item {
  display: inline;
}
              
            
!

JS

              
                
              
            
!
999px

Console