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

              
                <head>
  <title>BCM at Virginia Tech</title>
  <meta charset="utf-8">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
</head>
<div id="page">
  <div id="wrapper">
    <header id="mainHeader">
      <a id="logo" href="index.html"><img src="images/bcmLogo.PNG" alt="BCM Homepage"></a>
      <nav class="socialNavbar">
        <ul>
          <li>
            <a href="https://www.facebook.com/bcmatvt"><img src="images/facebook.png" alt="BCM Facebook"></a>
          </li>
          <li>
            <a href="https://twitter.com/bcmvt"><img src="images/twitter.png" alt="BCM Twitter"></a>
          </li>
          <li>
            <a href="http://instagram.com/bcmvt"><img src="images/instagram.png" alt="BCM Instagram"></a>
          </li>
        </ul>
      </nav>
      <nav id="menu-wrap" class="navBar">
        <div id="menu-trigger"></div>
        <ul id="menu">
          <li><a href="index.html">Home</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="633.html">6:33</a></li>
          <li><a href="groups.html">Groups</a></li>
          <li><a href="missions.html">Missions</a></li>
          <li><a href="events.html">Events</a></li>
          <li><a href="giving.html">Giving</a></li>
        </ul>
      </nav>
    </header>
    <hr>
  </div>
  <main>
    <figure id="home">
      <a href="about.html"></a>
    </figure>
  </main>
  <footer>
    <div class="copyright">
      <p>&copy; 2015 Baptist Collegiate Ministries</p>
    </div>
  </footer>
</div>
</div>

</html>
              
            
!

CSS

              
                div,
span,
iframe,
p,
blockquote,
a,
cite,
em,
img,
strong,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
caption,
article,
aside,
embed,
figure,
figcaption,
footer,
header,
nav,
section,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  font-family: "Helvetica Neue", sans-serif;
  color: #000;
  vertical-align: baseline;
}

html,
body {
  overflow-x: hidden;
}

body {
  background: #ff6600;
}

#page {
  max-width: 1280px;
  margin: 0px auto 0px auto;
  position: relative;
  background: #fff;
  overflow: hidden;
}

#wrapper {
  background: #fff;
  width: 100%;
}

#wrap {
  background: #fff;
  padding-bottom: 1px;
}

#wrap-beliefs {
  background: #333;
}

.page {
  position: relative;
}

main,
header,
footer,
figure,
nav,
.missionPhoto1,
.missionPhoto2,
.missionText1,
.missionText2,
.missionText3,
.centerText1,
.centerText2,
.centerText3 {
  display: block;
}

#logo img {
  width: 195px;
  margin-left: 5%;
  margin-top: 8px;
  margin-bottom: 8px;
}

figure {
  height: 550px;
  margin-top: -20px;
  margin-left: -26%;
  margin-right: -26%;
  background-repeat: no-repeat;
  background-size: 1960px 550px;
  background-image: url(http://www.bcm.org.vt.edu/images/After_Gods_Heart_Banner.jpg);
}

hr {
  border: 2px solid #ff6600;
  margin-top: 1px;
  width: 100%;
}

#mainHeader {
  background: #fff;
  width: 100%;
}

#mainHeader img {
  white-space: nowrap;
  margin-top: 5px;
  cursor: pointer;
  float: left;
  width: 14em;
}

#mainHeader .socialNavbar {
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  left: 1020px;
  top: 25px;
}

#mainHeader .socialNavbar ul {
  list-style-type: none;
  width: 200px;
}

#mainHeader .socialNavbar li {
  display: inline-block;
  margin: 0 1.2em;
}

#mainHeader .socialNavbar img {
  display: inline-block;
  width: 2em;
}

#mainHeader .socialNavbar a {
  display: block;
  text-decoration: none;
  opacity: 0.5;
}

#mainHeader .socialNavbar a:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.navBar {
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  top: 122px;
  left: 610px;
  padding-bottom: 3px;
  font-size: 1.1em;
}

.navBar ul {
  list-style-type: none;
  display: block;
}

.navBar li {
  display: inline;
  margin-right: 30px;
  padding-bottom: 8px;
}

.navBar a {
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
}

.navBar a:hover {
  color: #999;
}

main {
  clear: left;
}

footer {
  background: #333;
  float: left;
  width: 100%;
  clear: left;
}

.copyright {
  clear: left;
  text-align: center;
  margin-top: 1%;
  margin-bottom: 2%;
}

.copyright p {
  color: #fff;
}

@media(max-width:505px) {
  /*small-screen-res*/
  
  #logo img {
    width: 120px;
    margin-left: 5%;
  }
  #mainHeader .socialNavbar {
    left: 185px;
    top: 45px;
  }
  figure {
    height: 150px;
    margin-top: -20px;
    margin-left: -75%;
    margin-right: -75%;
    background-repeat: no-repeat;
    background-size: 1000px 150px;
  }
  /*Responsive nav menu*/
  
  #menu-wrap {
    position: relative;
    top: 5px;
    left: 0;
    width: 100%;
  }
  #menu-wrap * {
    box-sizing: border-box;
    background: #333;
  }
  #menu-trigger {
    display: block;
    height: 40px;
    cursor: pointer;
    padding: 0 0 0 35px;
    border: 1px solid #ff6600;
    background-color: #111;
    background: url(http://www.solostream.com/wp-content/themes/solostream/img/dropdown-menu-white.png) no-repeat 30px center, #ff6600;
  }
  
  #menu {
    margin: 0;
    padding: 10px;
    top: 40px;
    width: 100%;
    z-index: 100;
    display: none;
    box-shadow: none;
  }
  #menu li {
    position: static;
    display: block;
    float: none;
    border: 0;
    margin: 5px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 6px;
    box-shadow: none;
    background: none !important;
  }
  #menu li:hover {
    opacity: .5;
    filter: alpha(opacity=50);
  }
  #menu a {
    display: block;
    float: none;
    padding: 0;
    color: #fff;
  }
  #menu a:hover {
    text-decoration: none;
  }
  #menu ul a {
    background: none !important;
  }
  /*end of responsive nav menu*/
  
  .copyright {
    padding: 12px;
  }
}
              
            
!

JS

              
                $(document).ready(function() {
  $('#menu-trigger').on('click', function() {
    $('#menu').slideToggle();
  });
});
              
            
!
999px

Console