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 class="header">
	<div class="wrapper">
		<h1 class="site-title">
			Material design<br>
			Cool navigation hover effect
		</h1>
	</div>
	<nav class="navigation">
		<div class="wrapper">
			<ul class="navigation-list ul-reset">
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						Home
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						About
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						Contact
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						FAQ
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						More
					</a>
				</li>
			</ul>
		</div>
	</nav>
</header>
<!-- /.header -->


<main class="main" role="main">
	<div class="wrapper">
		<article class="content-article">
			<h1>The kitchen sink</h1>
			<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em>				Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci,
				sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
		</article>
		<article class="content-article">
			<h1>The kitchen sink</h1>
			<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em>				Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci,
				sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
		</article>
		<article class="content-article">
			<h1>The kitchen sink</h1>
			<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em>				Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci,
				sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
		</article>
	</div>
</main>
<!-- /.main -->


<footer class="footer">
	<div class="wrapper">
		<article class="content-article">
			<p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em>				Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci,
				sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
		</article>
		<nav class="navigation">
			<ul class="navigation-list ul-reset">
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						Terms
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						Privacy
					</a>
				</li>
				<li class="navigation-item ib">
					<a href="#" class="navigation-link">
						Sitemap
					</a>
				</li>
			</ul>
		</nav>
	</div>
</footer>
<!-- /.footer -->
            
          
!
            
              /* defaults */

html,
body {
	height: 100%;
}

html {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
}

*,
*:before,
*:after {
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	margin: 0;
	line-height: 1.5;
	font-family: Roboto, Helvetica, Arial, sans-serif;
	color: #333;
}


/* main ie fix */

main {
	display: block;
}


/* headers */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Roboto Slab", Times, "Times New Roman", serif;
}

h1 {
	font-size: 2.2em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.8em;
}

h4 {
	font-size: 1.6em;
}

h5 {
	font-size: 1.4em;
}

h6 {
	font-size: 1.2em;
}


/* anchor links */

a {
	color: #009688;
}

a:hover,
a:active {
	text-decoration: none;
}


/* inline block */

.ib {
	display: -moz-inline-stack;
	display: inline-block;
	zoom: 1;
	*display: inline;
	vertical-align: top;
}


/* ul-reset */

.ul-reset {
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
}


/* wrapper */

.wrapper {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}


/* header */

.header {
	text-align: center;
}


/* navigation */

.navigation {
	background-color: #eee;
	font-weight: 700;
}

.navigation-list {
	font-size: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}

.navigation-item {
	font-size: 1.2rem;
}

.navigation-link {
	display: block;
	position: relative;
	padding: 5px 20px;
	text-decoration: none;
	color: #333;
	-webkit-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.navigation-link:before {
	content: "";
	position: absolute;
	bottom: 0;
	width: 0;
	border-bottom: solid 2px;
}

.navigation-link:before {
	left: 0;
}

.navigation-link:hover {
	color: #009688;
}

.navigation-link:hover:before {
	width: 100%;
}

.navigation-link:before {
	-webkit-transition: width .2s ease-in-out;
	transition: width .2s ease-in-out;
}


/* main */

.main {
	padding-top: 20px;
	padding-bottom: 20px;
}

.content-article {
	margin-top: 80px;
}

.content-article:first-child {
	margin-top: 0;
}

.content-article > h1:first-child {
	margin-top: 0;
}


/* footer */

.footer {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #333;
	color: #fff;
}

.footer a,
.footer a:hover {
	color: inherit;
	font-size: 1rem;
}

.footer .navigation {
	background-color: inherit;
	text-align: center;
	font-weight: 400;
}


/* media queries */

@media only screen and (max-width:1024px) {
	.wrapper {
		width: 90%;
	}
}
            
          
!
            
              // Hover on the navigation items within the header and footer!
            
          
!
999px
Loading ..................

Console