cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <header role="banner" class="primary">
    <h1>Building the Modern Web</h1>
    <h2>HTML5, CSS, JavaScript Fundamentals</h2>
    <nav role="navigation">
      <ul>
        <li><a href="http://www.eastinitiative.org/">EAST Initiative</a></li>
        <li><a href="http://learn.shayhowe.com/html-css/getting-to-know-html/">HTML5 & CSS Lessons</a></li>
        <li><a href="http://www.csszengarden.com/">CSS Zen Garden</a></li>
      </ul>
    </nav>
  </header>
  <section id="content">
      <article class="post">
        <header>
        <time class="post-date" datetime="2017-2-1">February 1, 2017</time>
        <figure>
        <img src="http://placehold.it/300x200?text=Placeholder+Image" alt="Placeholder"/>
          <figcaption>Image Caption</figcaption>  
        </figure>
        <h1> <a href="#" rel="bookmark" title="link to this post">Article Title</a> </h1>
        </header>  
        <p>Curabitur facilisis pharetra ultrices. Phasellus eu elementum felis. Etiam cursus mi vitae odio imperdiet, vel fringilla orci porttitor. Cras at tincidunt metus, in lobortis ligula. Fusce metus nisl, efficitur id fringilla quis, luctus non nisi. </p>
        <footer class="post-meta"> Posted by <a href="#">Post Author</a></footer>
      </article>
          <article class="post">
        <header>
        <time class="post-date" datetime="2017-2-1">February 1, 2017</time>
        <figure>
        <img src="http://placehold.it/300x200?text=Placeholder+Image" alt="Placeholder"/>
          <figcaption>Image Caption</figcaption>  
        </figure>
        <h1> <a href="#" rel="bookmark" title="link to this post">Article Title</a> </h1>
        </header>  
        <p>Curabitur facilisis pharetra ultrices. Phasellus eu elementum felis. Etiam cursus mi vitae odio imperdiet, vel fringilla orci porttitor. Cras at tincidunt metus, in lobortis ligula. Fusce metus nisl, efficitur id fringilla quis, luctus non nisi. </p>
        <footer class="post-meta"> Posted by <a href="#">Post Author</a></footer>
      </article>
          <article class="post">
        <header>
        <time class="post-date" datetime="2017-2-1">February 1, 2017</time>
        <figure>
        <img src="http://placehold.it/300x200?text=Placeholder+Image" alt="Placeholder"/>
          <figcaption>Image Caption</figcaption>  
        </figure>
        <h1> <a href="#" rel="bookmark" title="link to this post">Article Title</a> </h1>
        </header>  
        <p>Curabitur facilisis pharetra ultrices. Phasellus eu elementum felis. Etiam cursus mi vitae odio imperdiet, vel fringilla orci porttitor. Cras at tincidunt metus, in lobortis ligula. Fusce metus nisl, efficitur id fringilla quis, luctus non nisi.</p>
        <footer class="post-meta"> Posted by <a href="#">Post Author</a></footer>
      </article>
    </section>
<section id="slideshow">
<!--Carousel Goes Here-->
  <div class="gallery">
  <img src="http://thomaswallace.net/demos/east-training/1.jpg" alt="Design"> 
  <img src="http://thomaswallace.net/demos/east-training/2.jpg" alt="Design"> 
  <img src="http://thomaswallace.net/demos/east-training/3.jpg" alt="Design"> 
</div>
</section>

    <aside role="complementary">
      <div class="container">
      <article class="widget">
        <header><h1>Sample Sidebar Item </h1></header>
        <p>Quisque justo erat, varius placerat fermentum vel, iaculis vel ligula. Phasellus et elit purus. Curabitur ipsum enim, scelerisque vitae condimentum ac, cursus eget quam. Nullam volutpat dui ut risus pulvinar at fringilla sem tristique. Nulla facilisi. Donec posuere euismod purus, eu scelerisque risus pellentesque eu. Vestibulum sed tincidunt metus. <a href="#">Read More</a>&raquo;</p>
        <footer>Widget Footer</footer>
      </article>
          <article class="widget">
        <header><h1>Sample Sidebar Item </h1></header>
        <p>Quisque justo erat, varius placerat fermentum vel, iaculis vel ligula. Phasellus et elit purus. Curabitur ipsum enim, scelerisque vitae condimentum ac, cursus eget quam. Nullam volutpat dui ut risus pulvinar at fringilla sem tristique. Nulla facilisi. Donec posuere euismod purus, eu scelerisque risus pellentesque eu. Vestibulum sed tincidunt metus. <a href="#">Read More</a>&raquo;</p>
        <footer>Widget Footer</footer>
      </article>
      </div>
    </aside>
    <!--#secondary --> 
  <!--#content -->
  <footer id="colophon" role="contentinfo">
    <h6>&copy; 2017 Thomas Wallace</h6>
  </footer>



            
          
!
            
              /*Reset Box Model*/
* {
  box-sizing: border-box;
}
/*Responsive Images*/
img{
  max-width:100%;
  height:auto;
}

body{
  font-family: 'Lato', sans-serif;
  margin:0;
}

header.primary{
  background-color: #3b638b;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23130b20' fill-opacity='0.11' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  text-align:center;
  color:white;
  padding:40px;
  text-shadow: 2px 2px #000;
}

header.primary h1{
  font-size: 3.5em;
  margin: 20px 0 0;
}
header.primary h2{
  font-size: 2em;
  margin:20px auto 40px auto;
}

header nav {
width:960px;
margin:20px auto;
backgorund-color:white;
}

header nav ul{
  display:flex;
  flex-direction:row;
  justify-content:center;
}
header nav ul li{
  list-style-type:none;
  width: 33%;
  padding: 10px;
}

header nav li a{
  color:white;
  text-decoration:none;
  background-color:#000;
  background-color:rgba(0,0,0,0.5);
  padding: 8px 16px;
  border-radius:6px;
}

header nav li a:hover{
  background-color:rgba(0,0,0,0.8);
}

#content {
  width: 960px;
  margin:40px auto;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
}

#content article {
  width:280px;
  margin:20px 0;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  padding:12px;
}

#content article time{
  text-transform:uppercase;
  font-size: .8em;
  color:grey;
}

#content article:hover{
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

#content article figure{
  margin:10px 0;
}

#content article figcaption {
  font-size: .8em;
  color:grey;
}

#content a{
color:#3b638b;
}

aside {
  background-color: #172635;
  color:white;
  padding:40px;
}

aside .container{
  width: 960px;
  margin:20px auto 40px;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
 
}
aside .container article{
  width:450px;
}

aside .container article h1{
  font-size:1.5em;
}

aside .container article a{
  color:#fff;
}

#colophon {
  background-color: #3b638b;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23130b20' fill-opacity='0.11' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#colophon h6 {
  margin:0;
  padding:20px;
  font-size:.8em;
  text-align:center;
  color:white;
  text-transform:uppercase;
}

/* Image Carousel*/

.gallery {
	width: 960px;
	margin: 40px auto;
	border: 1px solid lightgrey;
	height: 560px;
	overflow: hidden; /*Avoids showing all of the images momentarily while JS loads */
	border-radius: 4px;
  padding:0;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.gallery img {
  margin:30px;
}

            
          
!
            
              $(document).ready(function() {

$('.gallery').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});

});
            
          
!
999px
Loading ..................

Console