Navigations by hover transition

Written by @kerixa 23 February 2014

Simple navigations by hover transition designed only by html and css3.

Code Snippet:

                                                <!-- this script is provided by coded by: Kerixa Inc. -->
<!-- this script got from by: Krishna Eydat -->
<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;
<ul class="navigation">
		<p>Welcome to UI Punch</p>
		<p>Who we are</p>
		<p>Help us improve</p>
<div><a target="_blank" href=""><span style="font-size: 8pt; text-decoration: none">HTML Best Codes</span></a></div>
</html><a target='_blank' href='' style='font-size: 8pt; text-decoration: none'>Html Best Codes</a>                                                


About @kerixa

I am Krishna Eydat. I studied Software Engineering at University of Waterloo in Canada. I lead a few tech companies. I am passionate about the way we are connected. I would like to be part of something big or be the big deal!



Here you can leave us commments. Let us know what you think about this code tutorial!

0 / 300

Online Users: 12
Recent Members: sahjahan, fk khan, Proper, Jenisha, Mr Joseph Charles
advertisement 2