It's free and you have access to premium codes!
Welcome back! Please login to your account.
Don't worry, we'll send you a message to help you to recover your acount.
Written by 23 February 2014
Simple navigations by hover transition designed only by html and css3.
<!-- this script is provided by www.htmlbestcodes.com coded by: Kerixa Inc. -->
<!-- this script got from www.htmlbestcodes.com-Coded by: Krishna Eydat -->
<html>
<head>
<style type="text/css">
* {margin: 0; padding: 0;}
body {
font-family: 'Lucida Grande', helvetica, arial, sans-serif;
font-size: 12px;
background: #eff;
}
.navigation {
margin: 20px;
background: #fff;
overflow: hidden;
width: 760px;
box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.2);
}
.navigation li {
width: 120px; border-left: 5px solid #666;
float: left;
cursor: pointer;
list-style-type: none;
padding: 10px 50px 10px 15px;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
}
.navigation li h2 {
font-family: georgia;
font-weight: normal;
font-style: italic;
font-size: 14px;
margin-bottom: 5px;
line-height: 16px;
}
.navigation li p{
font-size: 11px;
color: #999;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
}
.navigation li:hover {
background: #333;
border-left: 5px solid #000;
}
.navigation li:hover h2 {
font-weight: bold;
color: #fff;
}
.navigation li:hover p {
color: #ccc;
padding-left: 5px;
}
</style>
</head>
<body>
<ul class="navigation">
<li>
<h2>Home</h2>
<p>Welcome to UI Punch</p>
</li>
<li>
<h2>Walkthroughs</h2>
<p>Watch/Code/Learn</p>
</li>
<li>
<h2>About</h2>
<p>Who we are</p>
</li>
<li>
<h2>Feedback</h2>
<p>Help us improve</p>
</li>
</ul>
<div><a target="_blank" href="http://www.htmlbestcodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Best Codes</span></a></div>
</body>
</html><a target='_blank' href='www.htmlbestcodes.com' style='font-size: 8pt; text-decoration: none'>Html Best Codes</a>
Comments
Here you can leave us commments. Let us know what you think about this code tutorial!