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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <body>
  <header>
    
            <!------------------NAVIGATION (bootstrap) ------------------> 
    <nav class="navbar navbar-default" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed"  data-toggle="collapse" data-target="#collapse" >
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div><!-- closing navbar-header -->
            <div class="collapse navbar-collapse" id="collapse">
                <ul class="nav navbar-nav navbar-left">
                    <li><a href="#home">HOME</a></li>
                    <li><a href="#data">DATA</a></li>
                    <li><a href="#dev">WEB DEVELOPMENT</a></li>
                    <li><a href="#design">DESIGN</a></li>
                    <li><a href="#it">IT SERVICES</a></li>
                    <li><a href="#contact">CONTACT</a></li>
                </ul>
            </div> <!-- close navbar collapse -->
                
        </div> <!--closing container-->
    </nav>
    
      <div class="section" id="home">
        <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507353435/LOGO_trans_lrg_leigrs.png" alt="AVerity Consulting Logo">
    </div>
  </header>
  
    
    <div class="main" id="data">
        <div class="content container">
            <h2> Data </h2>
            <p> This is the data section</p>
        </div> <!-- closing content container -->
    </div> <!-- closing data section -->
    
    <div class="main" id="dev">
        <div class="content container">
            <h2> Web Development </h2>
            <div class="row">
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507330790/screen-dkblu_bmfer0.png" alt="Sample Site 1">
                    <h3>Sample Site 1</h3>
                    <p> greek copy </p>
                </article>
                
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507330793/screen-ltfuchsia_qq1zvy.png" alt="Sample Site 2">
                    <h3>Sample Site 2</h3>
                    <p> greek copy </p>
                </article>
                
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507339514/screen-ltrblu_hjdi1x.png" alt="Sample Site 3">
                    <h3>Sample Site 3</h3>
                    <p> greek copy </p>
                </article>
            </div> <!-- closing row class--> 
            
            <div class="row">
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507330788/screen-midblu_idvbih.png" alt="Sample Site 4">
                    <h3>Sample Site 4</h3>
                    <p> greek copy </p>
                </article>
                
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507330787/screen-fuchsia_wagsmz.png" alt="Sample Site 5">
                    <h3>Sample Site 5</h3>
                    <p> greek copy </p>
                </article>
                
                <article class="dev col-sm-4">
                    <img class="img-responsive" src="http://res.cloudinary.com/averity/image/upload/v1507330797/screen-ltblu_bvnvmb.png" alt="Sample Site 6">
                    <h3>Sample Site 6</h3>
                    <p> greek copy </p>
                </article>
                
                
                
            </div> <!-- closing row class--> 
        </div> <!-- closing content container -->
    </div> <!-- closing dev section -->
    
    <div class="main" id="design">
        <div class="content container">
            <h2> Design </h2>
            <p> This is the design section</p>
        </div> <!-- closing content container -->
    </div> <!-- closing design section -->
    
    <div class="main" id="it">
        <div class="content container">
            <h2> IT Services </h2>
            <p> This is the IT Services section</p>
        </div> <!-- closing content container -->
    </div> <!-- closing IT section -->
  
  <!----------------- Contact / FORM Section ----------------->
    
    <div class="main" id="contact">
        <div class="content container">
            <h2> Contact </h2>
          <br>
            <form action="mailto:andrea@averityconsulting.com" method="post" enctype="text/plain">
                    First Name: <input type="text" name="First Name" placeholder="Enter First Name" size="50">
                    <br><br>
             
                    
                    Last Name: <input type="text" name="Last Name" placeholder="Enter Last Name" size="50">
                    <br><br>
                    
                    Email: <input type="text" name="Email" placeholder="Enter Email" size="55">
                    <br><br>
                
                     Questions or Comments:
                     <br>
                     <textarea name="Questions or Comments" placeholder="Enter your questions or comments." rows="10" cols="60"></textarea>
              <br>
                    <input type="submit" value="Send">
                    <input type="reset" value="Reset">
          </form>

  
  
  <!------------------- Footer ------------------->
<div class="footer container-fluid">
  <div class="row row-centered">
    <div class="col-md-12 social-icons">
      
        <a class="btn btn-social-icon btn-linkedin" href="https://www.linkedin.com/in/andrea-verity/" alt="LinkedIn Page" target="_blank"><i class="fa fa-linkedin"></i></a>
      
        <a class="btn btn-social-icon btn-facebook" href="https://www.facebook.com/AVconsults/" alt="Facebook Page" target="_blank"><i class="fa fa-facebook-square"></i></a>
      
        <a class="btn btn-social-icon btn-twitter" href="https://twitter.com/AV_Consults" alt="Twitter Page" target="_blank"><i class="fa fa-twitter"></i></a><a class="btn btn-social-icon btn-github" href="https://github.com/AVconsults" alt="Github Page" target="_blank"><i class="fa fa-github"></i></a>
      
            <a class="btn btn-social-icon btn-codepen" href="https://codepen.io/av_tech" alt="Codepen Page" target="_blank"><i class="fa fa-codepen"></i></a>
    </div> <!-- Closing col-md-12 social-icons -->
   </div> <!-- Closing row row-centered -->
    <div class="footer_text">
      Copyright &copy;<script>new Date().getFullYear()>2017&&document.write(" 2017-"+new Date().getFullYear());</script>,  AVerity Consulting.
      
      
      
     <!-- © AVerity Consulting 2017. All rights reserved.</div> <!-- Closing Footer TEXT -->
</div> <!-- closing footer -->
</body>
              
            
!

CSS

              
                /*
Color palette:
#d6eded - lightest teal blue
#9dcbd8 - shade darker robin's egg blue
#2b84aa - mid blue color, more of a sky blue with a little grey
#0b3c5a - dark blue
#0c1925 - navy blue
#9f26b4 - logo fushia

*/
body {
  padding: 0;
  margin: 0;
  background: #fff;
}



header {
    background-image: url(http://res.cloudinary.com/averity/image/upload/v1502733343/AdobeStock_107741290_oknfe2.jpg);
      background-position: center center;
      background-size: cover; /* Ensures that photo covers page horizontally*/
      background-repeat: no-repeat;
      background-attachment: fixed;
      min-height: 100vh;
      width:100%;
}
  
header img {
  margin: 0 auto; /* set top/bottom margin to zero, L/R to auto center */
  padding-top: 100px;
  padding-bottom: 60px;
  max-height: 100vh;
}

/** Header Navigation **/
/** Created bootstrap nav bar at https://work.smarchal.com/twbscolor/3.3.7/css/0b3c5a9f26b4d6ededffffff0 **/


/* This additional code was needed to change background color, code from created bootstrap nav did not work without */


ul.nav a:hover {
    background-color: #9f26b4 !important;
}

.navbar-default {
  background-color: #0b3c5a;
  border-radius: 0;
border-color:transparent;
    position: fixed;
    z-index: 10;
    width: 100%;
  font-family:Oswald, sans-serif;
}

.navbar-default .navbar-brand {
  color: #d6eded;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #ffffff;
}

.navbar-default .navbar-text {
  color: #d6eded;
}

.navbar-default .navbar-nav > li > a {
  color: #d6eded;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ffffff;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #9f26b4;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #9f26b4;
}

.navbar-default .navbar-toggle {
  border-color: #9f26b4;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #9f26b4;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #d6eded;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  
}

.navbar-default .navbar-link {
  color: #d6eded;
}

.navbar-default .navbar-link:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #d6eded;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #9f26b4;
  }
}
/**************************************************/

.main h2 {
    text-align: left;
    font-family: Oswald, sans-serif;
    color: #0b3c5a;
}

#home {
min-height:100vh;
}

#data {
    background: #fff;
    min-height: 100vh;
    padding: 45px; /*move page down under nav bar */
  
}


#dev {
    padding: 45px; /*move page down under nav bar */
    background: #d6eded;
    text-align: center;
    font-family: Roboto, sans-serif;
    color: #0b3c5a;
    min-height: 100vh;
}


#dev text {
    
}

#dev img {
    max-height: 35%;
    padding: 5px;
    margin: 0 auto;
    font-family: Roboto, sans-serif;
    color: #0b3c5a;
}


#design {
    background: #fff; 
    min-height: 100vh;
    padding: 45px; /*move page down under nav bar */
}

#it {
    background: #9dcbd8;
    min-height: 100vh;
    padding: 45px; /*move page down under nav bar */
}

#contact {
    padding: 45px; /*move page down under nav bar */
    min-height: 100vh;
    background: #fff;
}

/*.footer {
    padding:0;
    background-image: url(http://res.cloudinary.com/averity/image/upload/v1502733343/AdobeStock_107741290_oknfe2.jpg);
        height: 50px;
    width:100%;
    background-size: cover; /* Ensures that photo covers page horizontally*/
/*    background-repeat: no-repeat;
    background-position: center bottom;
  background-attachment: fixed;
} */

.footer {
  position: fixed; /* fix footer at bottom, can be viewed at each section */
  left: 0;
  bottom: 0;
  width:100%;
text-align: center; 
  background: #2b84aa;
}

.footer_text {
    font-family: Oswald, sans-serif;
    text-align: center;
    padding-top: 5px;
    color: #d6eded;/* #0b3c5a; Navy Blue Color */
}

/* Styling font awesome icons */
.fa {
    color: #d6eded;
    padding-top: 5px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
}

/* Adding hover effect for all social icons (fa) */
.fa:hover {
  color: #9f26b4;
}

.social-icons {
  float: center;
  list-style-type: none;
}

/* You can set specific colors for each icon, do the following example for each */

/* FB 
.fa-facebook-square {
    color: white;
*/

              
            
!

JS

              
                
              
            
!
999px

Console