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

              
                <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<div class="container">
			<!-- Top Navigation -->

			<header class="ccheader">
				<h1>CSS3 Navigation Slide Hover Effect</h1>	
        
			</header>
			<div class="wrapper">
            	
				<section class="ccblue">	
					<div class="mainmenu">
					  <ul>
						<li><i class="icon-home icon-large"></i>&nbsp;<main>Home</main><span>codeconvey</span></li>
						<li><i class="icon-user icon-large"></i>&nbsp;<main>About Us</main><span>what we do</span></li>
						<li><i class="icon-gear icon-large"></i>&nbsp;<main>Our Services</main><span>what we provide</span></li>
						<li><i class="icon-briefcase icon-large"></i>&nbsp;<main>Portofolio</main><span>our work</span></li>
						<li><i class="icon-comments icon-large"></i>&nbsp;<main>Blog</main><span>Just Share</span></li>
						<li><i class="icon-tint icon-large"></i>&nbsp;<main>Contact</main><span>How to reach</span></li>
					  </ul>
					</div>
				</section>	
				
				<section class="ccred">	
					<div class="mainmenu">
					  <ul>
						<li><i class="icon-home icon-large"></i>&nbsp;<main>Home</main><span>codeconvey</span></li>
						<li><i class="icon-user icon-large"></i>&nbsp;<main>About Us</main><span>what we do</span></li>
						<li><i class="icon-gear icon-large"></i>&nbsp;<main>Our Services</main><span>what we provide</span></li>
						<li><i class="icon-briefcase icon-large"></i>&nbsp;<main>Portofolio</main><span>our work</span></li>
						<li><i class="icon-comments icon-large"></i>&nbsp;<main>Blog</main><span>Just Share</span></li>
						<li><i class="icon-tint icon-large"></i>&nbsp;<main>Contact</main><span>How to reach</span></li>
					  </ul>
					</div>
				</section>
				
				
				<section class="ccgreen">	
					<div class="mainmenu">
					  <ul>
						<li><i class="icon-home icon-large"></i>&nbsp;<main>Home</main><span>codeconvey</span></li>
						<li><i class="icon-user icon-large"></i>&nbsp;<main>About Us</main><span>what we do</span></li>
						<li><i class="icon-gear icon-large"></i>&nbsp;<main>Our Services</main><span>what we provide</span></li>
						<li><i class="icon-briefcase icon-large"></i>&nbsp;<main>Portofolio</main><span>our work</span></li>
						<li><i class="icon-comments icon-large"></i>&nbsp;<main>Blog</main><span>Just Share</span></li>
						<li><i class="icon-tint icon-large"></i>&nbsp;<main>Contact</main><span>How to reach</span></li>
					  </ul>
					</div>
				</section>
				
				
				<section class="cssbron">	
					<div class="mainmenu">
					  <ul>
						<li><i class="icon-home icon-large"></i>&nbsp;<main>Home</main><span>codeconvey</span></li>
						<li><i class="icon-user icon-large"></i>&nbsp;<main>About Us</main><span>what we do</span></li>
						<li><i class="icon-gear icon-large"></i>&nbsp;<main>Our Services</main><span>what we provide</span></li>
						<li><i class="icon-briefcase icon-large"></i>&nbsp;<main>Portofolio</main><span>our work</span></li>
						<li><i class="icon-comments icon-large"></i>&nbsp;<main>Blog</main><span>Just Share</span></li>
						<li><i class="icon-tint icon-large"></i>&nbsp;<main>Contact</main><span>How to reach</span></li>
					  </ul>
					</div>
				</section>
                
                
                
			</div>
			
		</div>
    <div class="credit">For More Details: <a href="https://codeconvey.com/css3-animated-navigation/">Colorful CSS3 Animated Navigation with Slideout Hover Effect</a>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Cuprum:400,700);

.mainmenu {
    color: #FFFFFF;
    font-family: 'Cuprum',Georgia,"Times New Roman",Times,Serif;
    font-size: 16px;
    height: 57px;
}
.mainmenu ul {margin: 0; padding: 0; }
.mainmenu li i { position: absolute; margin-left: -35px; margin-top: 6px;}
.mainmenu li { float: left; display: block; padding: 10px 10px 10px 50px; border-right: 1px solid #ffffff; cursor: pointer; }
.mainmenu li:last-child{ border-right:none;}
.mainmenu li main {font-weight: 700; margin-top: -18px; }
.mainmenu li span { position: relative; float: left; font-size: 12px; color: #f5f7f8; }

.mainmenu li, .mainmenu li i, .mainmenu li main, .mainmenu li span {
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    -webkit-transition: all 0.8s ease-in-out;
}

.mainmenu li:hover main { 
	margin-left: 10px; 
   -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}
.mainmenu li:hover span { 
	margin-left: 25px; 
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

/* COLOR MANAGEMENT */

.ccblue .mainmenu { background: none repeat scroll 0 0 #03B2EC;}
.ccblue .mainmenu li:hover { background: #044c64; }
.ccblue .mainmenu li:hover i {color: #ffffff;}
.ccblue .mainmenu li i { color: #044c64; }
.ccblue .mainmenu li:hover i {color: #ffffff;}

.ccred .mainmenu { background: none repeat scroll 0 0 #f00940;}
.ccred .mainmenu li:hover { background: #a30328; }
.ccred .mainmenu li i { color: #a30328; }
.ccred .mainmenu li:hover i {color: #ffffff;}

.ccgreen .mainmenu { background: none repeat scroll 0 0 #98c304;}
.ccgreen .mainmenu li:hover { background: #5e7902; }
.ccgreen .mainmenu li i { color: #5e7902; }
.ccgreen .mainmenu li:hover i {color: #ffffff;}

.cssbron .mainmenu { background: none repeat scroll 0 0 #af4004;}
.cssbron .mainmenu li:hover { background: #7c2e03; }
.cssbron .mainmenu li i { color: #7c2e03; }
.cssbron .mainmenu li:hover i {color: #ffffff;}

section{ float:left; width:100%; margin-bottom:40px;}

.credit {
float: left;
margin: 25px;
text-align: center;
}
.credit em{
margin-right:5px;
}
.credit a {
color: #00B7EA;
font-weight: bold;
text-decoration: none;
}
.credit a:hover {
color: #086cc1;
}
.demo {
  font-family: 'Raleway', sans-serif;
	color:#fff;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
    text-align: center;
}
.demo a{
  font-family: 'Raleway', sans-serif;
color: #2ecc71;		
  font-weight:bold;
}


              
            
!

JS

              
                
              
            
!
999px

Console