Style#1: Top Menu :
From menubar in notepad++ select new from file menu.Next save as command from File menu.Then please give it a name in file name field e.g(Menuber.html).
Now you simply copy the code below & pase it in your Cool Menuber.html.After that from run menu select any browser e.g launch in google crome.
<!doctype html>
<html lang="en">
<head>
<script src="js/jquery.min.js"></script>
<style type="text/css">
/* CSS */
a {
text-decoration: none;
color: #2e2e2e;
}
body {
background: #2e2e2e;
margin: 0;
padding: 0;
}
ul {
font-family: Helvetica, Arial, sans-serif;
list-style: none;
margin: 0;
padding: 12px 0;
text-align: center;
}
ul li {
color: #fff;
font-size: 10px;
letter-spacing: 2px;
padding: 12px 0;
text-transform: uppercase;
}
#menu {
background: #222;
display: none;
width: 100%;
}
#menu ul li:hover {
background: red;
height: 20px;
width: 100%;
}
#bar {
background: #eee;
box-shadow: 0 0 5px #000;
-mox-box-shadow: 0 0 5px #000;
-webkit-box-shadow: 0 0 5px #000;
height: 50px;
width: 100%;
}
h1 {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
font-style: bold;
letter-spacing: 4px;
margin: 0;
padding: 18px;
text-align: center;
text-transform: uppercase;
}
</style>
</head>
<body>
<div id="menu">
<ul>
<a href="#"><li>Home</li></a>
<a href="#"><li>Services</li></a>
<a href="#"><li>Work</li></a>
<a href="#"><li>Contact</li></a>
</ul>
</div>
<div id="bar">
<a href="#"><h1>Menu</h1></a>
</div>
<script>
$(document).ready(function(){
$("#bar a").click(function(){
event.preventDefault();
$("#menu").slideToggle("slow");
});
});
</script>
</body>
</html>
Style#2 : Menuber with icon & animation :
<!DOCTYPE html>
<html>
<head>
<title>Menuber with icon & animation</title>
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<!-- CSS styles for standard search box with placeholder text-->
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Cuprum:400,700);
body { padding: 0px; margin: 0px; background: #000811; }
.mainmenu { color: #ccc; font-size: 16px; font-family: 'Cuprum', Georgia, "Times New Roman", Times, Serif; background: #002244; width: 100%; height: 51px; border: 1px solid #026; border-bottom: 3px solid #012; text-shadow: 0 1px 0 #000;}
.mainmenu ul {margin: 0; padding: 0; }
.mainmenu li i { position: absolute; margin-left: -35px; margin-top: 6px; color: #012; text-shadow: 0 1px 0 #036;}
.mainmenu li { float: left; display: block; padding: 10px 10px 10px 50px; border-right: 1px solid #012; cursor: pointer; min-width: 100px; max-width: 100px; }
.mainmenu li:hover { background: #012; }
.mainmenu li:hover i {color: #036; text-shadow: 0 1px 0 #000;}
.mainmenu li main {font-weight: 700; margin-top: -18px; }
.mainmenu li desc { position: relative; float: left; font-size: 11px; color: #888; }
.mainmenu li, .mainmenu li i, .mainmenu li main, .mainmenu li desc {
-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.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;}
.mainmenu li:hover desc { margin-left: 30px;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;}
</style>
</head>
<body>
<div class="mainmenu">
<ul>
<li><i class="icon-home icon-large"></i> <main>Home</main><desc>sweet home ...</desc></li>
<li><i class="icon-comments icon-large"></i> <main>Blog</main><desc>What they say</desc></li>
<li><i class="icon-tint icon-large"></i> <main>Contact</main><desc>drop a line ...</desc></li>
</ul>
</div>
</body>
</html>
Style#3:Icon Menu :
<!DOCTYPE html>
<html>
<style type="text/css">
/*
yeah, we're using LESS.
*/
body {
display: block;
background: lightgrey;
}
.container {
text-align: center;
position: absolute;
top: 40%;
left: 0;
right: 0;
bottom: 0;
}
#nav {
font-size: 20px;
display: inline-block;
list-style: none;
position: relative;
padding: 0;
-webkit-box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
}
#nav li {
display: block;
position: relative;
z-index: 20;
float: left;
}
#nav li:hover:before {
top: 2px;
-webkit-box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
-moz-box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
}
#nav li:active a,
#nav li.active a {
padding-top: 18px;
padding-bottom: 5px;
color: #00bff3;
text-shadow: 0 -1px 0 #000000, 0 0 1em #00bff3;
}
#nav li:active:before,
#nav li.active:before {
top: 7px;
background: #2d2d2d;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJkMmQyZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iIzE0MTQxNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d2d2d), color-stop(99%, #141414));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* IE10+ */
background: linear-gradient(to bottom, #2d2d2d 0%, #141414 99%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d2d2d', endColorstr='#141414', GradientType=0);
/* IE6-8 */
border-bottom: 1px solid black;
}
#nav li:before {
content: "";
position: absolute;
z-index: 10;
width: 100%;
height: 100%;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
-webkit-box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
border-left: 1px solid rgba(0, 0, 0, 0.35);
}
#nav li:after {
content: "";
height: 16px;
position: absolute;
z-index: 5;
bottom: -7px;
width: 100%;
border-left: 1px solid black;
border-bottom: 1px solid black;
}
#nav li:before {
left: 0;
background: #565656;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU2NTY1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNjI2MjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #565656 0%, #262626 100%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #565656), color-stop(100%, #262626));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #565656 0%, #262626 100%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #565656 0%, #262626 100%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #565656 0%, #262626 100%);
/* IE10+ */
background: linear-gradient(to bottom, #565656 0%, #262626 100%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#565656', endColorstr='#262626', GradientType=0);
/* IE6-8 */
}
#nav li:after {
left: 0;
background: #2d2d2d;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyMyUiIHN0b3AtY29sb3I9IiMyZDJkMmQiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiMxNDE0MTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(23%, #2d2d2d), color-stop(99%, #141414));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* IE10+ */
background: linear-gradient(to bottom, #2d2d2d 23%, #141414 99%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d2d2d', endColorstr='#141414', GradientType=0);
/* IE6-8 */
}
#nav li:first-of-type:before,
#nav li:first-of-type:after {
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
#nav li:last-of-type:before,
#nav li:last-of-type:after {
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
#nav li a {
position: relative;
z-index: 10;
display: block;
padding: 12px 16px;
color: #050505;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
#nav li a:hover {
color: #00bff3;
text-shadow: 0 -1px 0 #000000, 0 0 1em #00bff3;
}
@font-face {
font-family: 'icomoon';
src: url(data:font/opentype;charset=utf-8;base64,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) format("woff");
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: 'icomoon';
font-style: normal;
speak: none;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
.icon-mail:before {
content: "\e02b";
}
.icon-home:before {
content: "\e012";
}
.icon-camera:before {
content: "\e013";
}
.icon-cog:before {
content: "\e01f";
}
.icon-comment:before {
content: "\e02c";
}
.icon-user:before {
content: "\e028";
}
</style>
<body>
<div class="container">
<ul id="nav">
<li><a href="#" class="icon-home"></a></li>
<li><a href="#" class="icon-camera"></a></li>
<li><a href="#" class="icon-mail"></a></li>
<li><a href="#" class="icon-comment"></a></li>
<li><a href="#" class="icon-user"></a></li>
<li><a href="#" class="icon-cog"></a></li>
</ul>
</div>
</body>
</html>
Style#4:Fly Menu :
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Account Setup</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans">
<style type="text/css">
#body {
padding: 100px 0 150px 0;
}
.fly-menu {
float: left;
margin: 50px 100px 0 150px;
width: 60px;
height: 60px;
position: relative;
border-radius: 50%;
z-index: 1;
display: block;
}
.fly-main {
width: 60px;
height: 60px;
background: red;
position: relative;
border-radius: 100%;
border: 2px solid #fff;
-moz-transition: 1.5s ease;
-webkit-transition: 1.5s ease;
transition: 1.5s ease;
position:absolute;
cursor:pointer;
}
.fly-main:after{
content:"";
position:absolute;
background:white;
width:10px;
height:30px;
top:15px;
left:25px;
}
.fly-main:before{
content:"";
position:absolute;
background:white;
width:30px;
height:10px;
top:25px;
left:15px;
}
.fly-menu:hover .fly-main {
-moz-transform: rotate(490deg);
-webkit-transform: rotate(490deg);
transform: rotate(490deg);
}
.fly-hover {
width: 60px;
height: 60px;
opacity: 0.5;
border-radius: 100%;
position: absolute;
top: 0;
left: 0;
-moz-transition: 0.3s ease;
-webkit-transition: 0.3s ease;
transition: 0.3s ease;
}
.fly-menu:hover .fly-hover {
-moz-transform: scale(5);
-webkit-transform: scale(5);
transform: scale(5);
}
ul{
list-style:none;
}
.fly-item {
position: absolute;
width: 30px;
height: 30px;
border: 2px solid #fff;
-moz-border-radius: 100%;
-webkit-border-radius: 100%;
border-radius: 100%;
}
.home,
.about,
.setting,
.portfolio,
.mail{
-moz-transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-moz-transition-timing-function: linear;
-webkit-transition-timing-function: linear;
transition-timing-function: linear;
}
.home {
background-color: #D4F25C;
width:50px;
height:50px;
top: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.2s;
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s;
cursor:pointer;
}
.home:after{
content: "";
border-color: transparent transparent #577305;
border-image: none;
border-style: solid;
border-width: 18px;
content: "";
height: 16px;
left: 7px;
position: absolute;
top: -30px;
width: 0;
display:inline-block;
}
.home:before{
width:30px;
height:20px;
content:"";
background-color:#577305;
position:absolute;
top:20px;
left:10px;
display:inline-block;
}
.fly-menu:hover .home {
top: -60px;
left: -60px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: home 1s 1 linear;
-webkit-animation: home 1s 1 linear;
animation: home 1s 1 linear;
}
@-moz-keyframes home {
0% {-moz-transform: rotate(-360deg); top: 15px; left: 15px;}
50% {-moz-transform: rotate(0deg); top: -70px; left: -70px;}
100% {-moz-transform: rotate(360deg); top: -60px; left: -60px;}
}
@-webkit-keyframes home {
0% {-webkit-transform: rotate(-360deg); top: 15px; left: 15px;}
50% {-webkit-transform: rotate(0deg); top: -70px; left: -70px;}
100% {-webkit-transform: rotate(360deg) top: -60px; left: -60px;;}
}
@keyframes home {
0% {transform: rotate(-360deg); top: 15px; left: 15px;}
50% {transform: rotate(0deg); top: -70px; left: -70px;}
100% {transform: rotate(360deg); top: -60px; left: -60px;}
}
.about {
background-color: #02BDF4;
width:50px;
height:50px;
top: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.3s;
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
cursor:pointer;
}
.about:after{
content:"";
width:10px;
height:10px;
border-radius:10px;
position:absolute;
top:10px;
left:20px;
background-color:#21383E;
display:inline-block;
}
.about:before{
content:"";
width:10px;
height:20px;
position:absolute;
top:22px;
left:20px;
background-color:#21383E;
display:inline-block;
}
.fly-menu:hover .about {
top: -120px;
left:50px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: it-2 1.1s 1 linear;
-webkit-animation: it-2 1.1s 1 linear;
animation: it-2 1.1s 1 linear;
}
@-moz-keyframes about {
0% {-moz-transform: rotate(-360deg); top: 15px;}
50% {-moz-transform: rotate(0deg); top: -110px;}
100% {-moz-transform: rotate(360deg); top:-100px;}
}
@-webkit-keyframes about {
0% {-webkit-transform: rotate(-360deg); top: 15px;}
50% {-webkit-transform: rotate(0deg); top: -110px;}
100% {-webkit-transform: rotate(360deg); top:-100px;}
}
@keyframes about {
0% {transform: rotate(-360deg); top: 15px;}
50% {transform: rotate(0deg); top: -110px;}
100% {transform: rotate(360deg); top:-100px;}
}
.setting {
background: #FE9732;
width:50px;
height:50px;
top: 15px;
right: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.4s;
-webkit-transition-delay: 0.4s;
transition-delay: 0.4s;
cursor:pointer;
}
.setting:after{
position:absolute;
width:7px;
height:20px;
top:17px;
left:14px;
content:"";
background-color:#693E13;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.setting:before{
border:6px solid #693E13;
border-top:0px;
border-radius:0px 0px 10px 10px;
top: 12px;
left:19px;
height: 6px;
width:10px;
position:absolute;
content:'';
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.fly-menu:hover .setting {
top: -20px;
right: -120px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
/*==== Animasi Efek Bouncing ====*/
-moz-animation: it-3 1.2s 1 linear;
-webkit-animation: it-3 1.2s 1 linear;
animation: it-3 1.2s 1 linear;
}
@-moz-keyframes setting {
0% {-moz-transform: rotate(-360deg); top: 15px; right: 15px;}
50% {-moz-transform: rotate(0deg); top: -70px; right: -70px}
100% {-moz-transform: rotate(360deg); top:-60px; right: -60px; }
}
@-webkit-keyframes setting {
0% {-webkit-transform: rotate(-360deg); top: 15px; right: 15px;}
50% {-webkit-transform: rotate(0deg); top: -70px; right: -70px}
100% {-webkit-transform: rotate(360deg); top:-60px; right: -60px; }
}
@keyframes setting {
0% {transform: rotate(-360deg); top: 15px; right: 15px;}
50% {transform: rotate(0deg); top: -70px; right: -70px}
100% {transform: rotate(360deg); top:-60px; right: -60px; }
}
.portfolio {
background-color:#FDE674;
bottom: -10px;
right: 5px;
width:50px;
height:50px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
cursor:pointer;
}
.portfolio:after{
content:"";
background:#86680E;
width:30px;
height:20px;
position:absolute;
top:16px;
left:10px;
}
.portfolio:before{
content:"";
background:#86680e;
width:15px;
height:10px;
position:absolute;
top:12px;
left:25px;
}
.fly-menu:hover .portfolio {
bottom: -90px;
right: -110px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: portfolio 1.2s 1 linear;
-webkit-animation: portfolio 1.2s 1 linear;
animation: portfolio 1.2s 1 linear;
}
@-moz-keyframes portfolio {
0% {-moz-transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -70px; right: -70px}
100% {-moz-transform: rotate(360deg); bottom:-60px; right: -60px; }
}
@-webkit-keyframes portfolio {
0% {-webkit-transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -70px; right: -70px}
100% {-webkit-transform: rotate(360deg); bottom:-60px; right: -60px; }
}
@keyframes portfolio {
0% {transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {transform: rotate(0deg); bottom: -70px; right: -70px}
100% {transform: rotate(360deg); bottom:-60px; right: -60px; }
}
.it-5 {
background: url(http://cahcepu.com/v3/anim/plus2.png) no-repeat center top;
bottom: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.6s;
-webkit-transition-delay: 0.6s;
transition-delay: 0.6s;
}
.fly-menu:hover .it-5 {
bottom: -100px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: it-5 1.3s 1 linear;
-webkit-animation: it-5 1.3s 1 linear;
animation: it-5 1.3s 1 linear;
}
@-moz-keyframes it-5 {
0% {-moz-transform: rotate(-360deg); bottom: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -110px;}
100% {-moz-transform: rotate(360deg); bottom:-100px; }
}
@-webkit-keyframes it-5 {
0% {-webkit-transform: rotate(-360deg); bottom: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -110px;}
100% {-webkit-transform: rotate(360deg); bottom:-100px; }
}
@keyframes it-5 {
0% {transform: rotate(-360deg); bottom: 15px;}
50% {transform: rotate(0deg); bottom: -110px;}
100% {transform: rotate(360deg); bottom:-100px; }
}
.it-6 {
background: magenta;
background: url(http://cahcepu.com/v3/anim/plus2.png) no-repeat center top;
bottom: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.7s;
-webkit-transition-delay: 0.7s;
transition-delay: 0.7s;
}
.fly-menu:hover .it-6 {
bottom: -60px;
left: -60px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-animation: it-6 1.4s 1 linear;
-webkit-animation: it-6 1.4s 1 linear;
animation: it-6 1.4s 1 linear;
}
@-moz-keyframes it-6 {
0% {-moz-transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -70px; left: -70px}
100% {-moz-transform: rotate(360deg); bottom:-60px; left: -60px; }
}
@-webkit-keyframes it-6 {
0% {-webkit-transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -70px; left: -70px}
100% {-webkit-transform: rotate(360deg); bottom:-60px; left: -60px; }
}
@keyframes it-6 {
0% {transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {transform: rotate(0deg); bottom: -70px; left: -70px}
100% {transform: rotate(360deg); bottom:-60px; left: -60px; }
}
</style>
</head>
<body>
<div id="body" class="clearfix">
<div class="fly-menu">
<div class="fly-hover"></div>
<ul>
<li class="fly-item home"></li>
<li class="fly-item about"></li>
<li class="fly-item setting"></li>
<li class="fly-item portfolio"></li>
<li class="fly-item mail"></li>
</ul>
<div class="fly-main"></div>
</div>
</div>
</body>
</html>
Style#5:Simple Menuber :
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Simple Menuber</title>
<link rel="shortcut icon" href="flag.gif" />
<style type="text/css" media="screen">
/* Give basic styles to the body and the navigation */
#body{
background-color:#efefef;
height:520px;
}
div#nav{ padding: 20px; border:gold 1px solid;background-color:green; }
div#nav > a{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
padding: 11px 26px;
background: #333;
color:#999;
margin-right: 10px;
text-decoration:none;
border-radius: 3px;
-webkit-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-moz-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-ms-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-o-transition: background 0.3s linear 0s, color 0.3s linear 0s;
transition: background 0.3s linear 0s, color 0.3s linear 0s;
}
div#nav > a:hover{
background: #6F8A00;
color:#FFF;
}
div#nav:hover{background:#ffffff;}
body:hover{}
</style>
</head>
<body>
<div id="nav">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Staff</a>
<a href="#">Contact</a>
<a href="#">blogs</a>
<a href="#">Tutorial</a>
<a href="#">Download</a>
</div>
</body>
</html>
Style#6: Responsive Menuber :
<html lang="en">
<head>
<title>HTML5 & CSS3</title>
<meta charset="utf-8"/>
<link href='http://fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
body {
color: #666666;
font-size: 87.5%;
font-family: 'Lato', sans-serif;
line-height: 1.5;
text-align: left;
background-color: #f7f7f7;
font-weight: 300;
}
a {
text-decoration: none;
}
a:link, a:visited {
color: #282828;
transition: color .2s ease;
font-weight: 300;
}
a:hover, a:active {
color: #222222;
}
.body {
margin: 0 auto;
width: 70%;
clear: both;
}
.mainHeader img {
width: 30%;
height: auto;
margin: 2% 0%;
}
.mainHeader nav {
background-color: #fff;
height: 40px;
}
.mainHeader nav ul {
list-style: none;
margin: 0 auto;
}
.mainHeader nav ul li {
float: left;
display: inline;
}
.mainHeader nav a:link, .mainHeader nav a:visited {
color: #282828;
display: inline-block;
padding: 10px 25px;
height: 20px;
}
.mainHeader nav a:hover, .mainHeader nav a:active,
.mainHeader nav .active a:link, .mainHeader nav .active a:visited{
background-color: #222222;
text-shadow: none;
color: #fff;
}
.mainHeader nav ul li a {
transition: background-color .1s ease;
}
@media only screen and (max-width: 650px) {
.body {
width: 90%;
font-size: 95%;
}
.mainHeader img {
width: 100%;
}
.mainHeader nav {
height: 200px;
}
.mainHeader nav ul {
padding-left: 0;
}
.mainHeader nav ul li {
width: 100%;
text-align: center;
}
.mainHeader nav a:link, .mainHeader nav a:visited {
padding: 10px 25px;
height: 20px;
display: block;
}
</style>
</head>
<body class="body">
<header class="mainHeader">
<p></p>
<nav>
<ul>
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Log In</a></li>
</ul>
</nav>
</header>
</body>
</html>
Ok boss, Please Try All Those Code Above.Thanks a lot for visiting me.To Go Home Page Click Home.
From menubar in notepad++ select new from file menu.Next save as command from File menu.Then please give it a name in file name field e.g(Menuber.html).
Now you simply copy the code below & pase it in your Cool Menuber.html.After that from run menu select any browser e.g launch in google crome.
<!doctype html>
<html lang="en">
<head>
<script src="js/jquery.min.js"></script>
<style type="text/css">
/* CSS */
a {
text-decoration: none;
color: #2e2e2e;
}
body {
background: #2e2e2e;
margin: 0;
padding: 0;
}
ul {
font-family: Helvetica, Arial, sans-serif;
list-style: none;
margin: 0;
padding: 12px 0;
text-align: center;
}
ul li {
color: #fff;
font-size: 10px;
letter-spacing: 2px;
padding: 12px 0;
text-transform: uppercase;
}
#menu {
background: #222;
display: none;
width: 100%;
}
#menu ul li:hover {
background: red;
height: 20px;
width: 100%;
}
#bar {
background: #eee;
box-shadow: 0 0 5px #000;
-mox-box-shadow: 0 0 5px #000;
-webkit-box-shadow: 0 0 5px #000;
height: 50px;
width: 100%;
}
h1 {
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
font-style: bold;
letter-spacing: 4px;
margin: 0;
padding: 18px;
text-align: center;
text-transform: uppercase;
}
</style>
</head>
<body>
<div id="menu">
<ul>
<a href="#"><li>Home</li></a>
<a href="#"><li>Services</li></a>
<a href="#"><li>Work</li></a>
<a href="#"><li>Contact</li></a>
</ul>
</div>
<div id="bar">
<a href="#"><h1>Menu</h1></a>
</div>
<script>
$(document).ready(function(){
$("#bar a").click(function(){
event.preventDefault();
$("#menu").slideToggle("slow");
});
});
</script>
</body>
</html>
Style#2 : Menuber with icon & animation :
<!DOCTYPE html>
<html>
<head>
<title>Menuber with icon & animation</title>
<link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<!-- CSS styles for standard search box with placeholder text-->
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Cuprum:400,700);
body { padding: 0px; margin: 0px; background: #000811; }
.mainmenu { color: #ccc; font-size: 16px; font-family: 'Cuprum', Georgia, "Times New Roman", Times, Serif; background: #002244; width: 100%; height: 51px; border: 1px solid #026; border-bottom: 3px solid #012; text-shadow: 0 1px 0 #000;}
.mainmenu ul {margin: 0; padding: 0; }
.mainmenu li i { position: absolute; margin-left: -35px; margin-top: 6px; color: #012; text-shadow: 0 1px 0 #036;}
.mainmenu li { float: left; display: block; padding: 10px 10px 10px 50px; border-right: 1px solid #012; cursor: pointer; min-width: 100px; max-width: 100px; }
.mainmenu li:hover { background: #012; }
.mainmenu li:hover i {color: #036; text-shadow: 0 1px 0 #000;}
.mainmenu li main {font-weight: 700; margin-top: -18px; }
.mainmenu li desc { position: relative; float: left; font-size: 11px; color: #888; }
.mainmenu li, .mainmenu li i, .mainmenu li main, .mainmenu li desc {
-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.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;}
.mainmenu li:hover desc { margin-left: 30px;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;}
</style>
</head>
<body>
<div class="mainmenu">
<ul>
<li><i class="icon-home icon-large"></i> <main>Home</main><desc>sweet home ...</desc></li>
<li><i class="icon-comments icon-large"></i> <main>Blog</main><desc>What they say</desc></li>
<li><i class="icon-tint icon-large"></i> <main>Contact</main><desc>drop a line ...</desc></li>
</ul>
</div>
</body>
</html>
Style#3:Icon Menu :
<!DOCTYPE html>
<html>
<style type="text/css">
/*
yeah, we're using LESS.
*/
body {
display: block;
background: lightgrey;
}
.container {
text-align: center;
position: absolute;
top: 40%;
left: 0;
right: 0;
bottom: 0;
}
#nav {
font-size: 20px;
display: inline-block;
list-style: none;
position: relative;
padding: 0;
-webkit-box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
box-shadow: 0 0.5em 12px rgba(0, 0, 0, 0.75);
}
#nav li {
display: block;
position: relative;
z-index: 20;
float: left;
}
#nav li:hover:before {
top: 2px;
-webkit-box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
-moz-box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
box-shadow: inset 0 0 1.5em 0 rgba(0, 0, 0, 0.75);
}
#nav li:active a,
#nav li.active a {
padding-top: 18px;
padding-bottom: 5px;
color: #00bff3;
text-shadow: 0 -1px 0 #000000, 0 0 1em #00bff3;
}
#nav li:active:before,
#nav li.active:before {
top: 7px;
background: #2d2d2d;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJkMmQyZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iIzE0MTQxNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d2d2d), color-stop(99%, #141414));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #2d2d2d 0%, #141414 99%);
/* IE10+ */
background: linear-gradient(to bottom, #2d2d2d 0%, #141414 99%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d2d2d', endColorstr='#141414', GradientType=0);
/* IE6-8 */
border-bottom: 1px solid black;
}
#nav li:before {
content: "";
position: absolute;
z-index: 10;
width: 100%;
height: 100%;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
-webkit-box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
box-shadow: inset 0 0 1em 0 rgba(0, 0, 0, 0.25);
border-left: 1px solid rgba(0, 0, 0, 0.35);
}
#nav li:after {
content: "";
height: 16px;
position: absolute;
z-index: 5;
bottom: -7px;
width: 100%;
border-left: 1px solid black;
border-bottom: 1px solid black;
}
#nav li:before {
left: 0;
background: #565656;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU2NTY1NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNjI2MjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #565656 0%, #262626 100%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #565656), color-stop(100%, #262626));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #565656 0%, #262626 100%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #565656 0%, #262626 100%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #565656 0%, #262626 100%);
/* IE10+ */
background: linear-gradient(to bottom, #565656 0%, #262626 100%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#565656', endColorstr='#262626', GradientType=0);
/* IE6-8 */
}
#nav li:after {
left: 0;
background: #2d2d2d;
/* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyMyUiIHN0b3AtY29sb3I9IiMyZDJkMmQiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiMxNDE0MTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(23%, #2d2d2d), color-stop(99%, #141414));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #2d2d2d 23%, #141414 99%);
/* IE10+ */
background: linear-gradient(to bottom, #2d2d2d 23%, #141414 99%);
/* W3C */
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2d2d2d', endColorstr='#141414', GradientType=0);
/* IE6-8 */
}
#nav li:first-of-type:before,
#nav li:first-of-type:after {
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
#nav li:last-of-type:before,
#nav li:last-of-type:after {
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
#nav li a {
position: relative;
z-index: 10;
display: block;
padding: 12px 16px;
color: #050505;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
#nav li a:hover {
color: #00bff3;
text-shadow: 0 -1px 0 #000000, 0 0 1em #00bff3;
}
@font-face {
font-family: 'icomoon';
src: url(data:font/opentype;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTWKGNvYAAAhkAAAAHEdERUYAOAAGAAAIRAAAACBPUy8yT+PcHwAAAVgAAABWY21hcMCsl58AAAHcAAABdmdhc3D//wADAAAIPAAAAAhnbHlmHDbXngAAA2wAAALYaGVhZPocCIEAAADcAAAANmhoZWEEEP/sAAABFAAAACRobXR4EKoBpAAAAbAAAAAsbG9jYQNcA+oAAANUAAAAGG1heHAAUgA3AAABOAAAACBuYW1lTuLz7wAABkQAAAGGcG9zdByvY40AAAfMAAAAcAABAAAAAQAAlXGSil8PPPUACwIAAAAAAMx+Y+IAAAAAzH5j4gAA/+ACAAHgAAAACAACAAAAAAAAAAEAAAHg/+AALgIAAAD+AAIAAAEAAAAAAAAAAAAAAAAAAAALAAEAAAALADQABQAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQIAAZAABQAIAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAIABQMAAAAAAAAAAAABEAAAAAAAAAAAAAAAUGZFZABAACjwAAHg/+AALgHgACCAAAABAAAAAAAAAgAAAAAAAAAAqgAAAgAAAAIAACoCAAA1AgAAQAIAAFsCAABVAgAAVQAAAAAAAAADAAAAAwAAABwAAQAAAAAAcAADAAEAAAAcAAQAVAAAABAAEAADAAAAAAAo4BPgH+Ao4CzwAP//AAAAAAAo4BLgH+Ao4CvwAP//AAD/2x/zH+gf4QAAEAoAAQAAAAAAAAAAAAAABgAAAAAABAAIAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATAByAKQA4AEOASwBXgFsAAQAAP/gAgAB4AAPABMAHwAzAAABISIGFREUFjMhMjY1ETQmASM1MycjIiY1NDYyFhUUBgEjNTQjIgcGHQEjNiczFTYzMhYVAav+qiMyMiMBViMyMv7PTU0mARMYGScXGAErTiccDAJOAQFOGSwpMQHgMiP+qiMyMiMBViMy/lPpIBcREhcXEhEX/vd9NR0GDYLUFSEnNTQABQAqAEoB1gF2AAMABgALAA4AEQAAExEhEQcnIQcXNxcjJzUXMzcVKwGq1YoBFLctLUruNF6aXgF1/tYBKqN5iycnSwmwUlKwAAAAAAEANQA1AcsBiwAmAAAlJwcGFjsCHQIUFjsBMjY9AjsCHQEUFjsBMjY9AzsBMjYBxcXFBwMJFRYMCUAJDBYqFgwJQAkMFhUJA+2engUIFWsVCQ0NCVUVFVUJDQ0JFWsVCAAAAAADAEAASgHAAXYAGwAjACcAAAEjIi8BJisBIg8BBisBIgYdARQWMyEyNj0BNCYGIiY0NjIWFDcjNTMBqysVDw0PFVYVDw0PFSsIDQ0IAVYIDQ2UPiwsPixKKioBSw8MDw8MDw0J1QkMDAnVCQ3AKz4sLD4/KwAAAAACAFsANQGlAYsAEQAZAAABJwcnIwcnBxcHFzcXMzcXNycGIiY0NjIWFAGlIk0URBRNIjo6Ik0URBRNIjpYJhsbJhoBGDsWTk4WOzg4OxZOThY7OC4bJhsbJgAAAAEAVQAgAasBdgASAAABIyIGHQEUFjsBFTczMjY9ATQmAWvWGiYmGhZVaxomJgF1JRuAGiZVVSYagBslAAEAVQAqAasBlgAhAAAlIy4BJzUjNjU0IhUUFyMVDgEHIxQXBhUzHgEyNjczNCc2AasBBUY0Ay2qLQM0RgUBAQEDC1yCXAsDAQFZGC8IGClCampCKRgILxgBAgMBDxgYDwEDAgABAAD/4AIAAeAAAgAAEQEhAgD+AAHg/gAAAAAAAAAMAJYAAQAAAAAAAQAHABAAAQAAAAAAAgAHACgAAQAAAAAAAwAjAHgAAQAAAAAABAAHAKwAAQAAAAAABQALAMwAAQAAAAAABgAHAOgAAwABBAkAAQAOAAAAAwABBAkAAgAOABgAAwABBAkAAwBGADAAAwABBAkABAAOAJwAAwABBAkABQAWALQAAwABBAkABgAOANgAaQBjAG8AbQBvAG8AbgAAaWNvbW9vbgAAUgBlAGcAdQBsAGEAcgAAUmVndWxhcgAARgBvAG4AdABGAG8AcgBnAGUAIAAyAC4AMAAgADoAIABpAGMAbwBtAG8AbwBuACAAOgAgADEAOAAtADkALQAyADAAMQAyAABGb250Rm9yZ2UgMi4wIDogaWNvbW9vbiA6IDE4LTktMjAxMgAAaQBjAG8AbQBvAG8AbgAAaWNvbW9vbgAAVgBlAHIAcwBpAG8AbgAgADEALgAwAABWZXJzaW9uIDEuMAAAaQBjAG8AbQBvAG8AbgAAaWNvbW9vbgAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAABAAIACwECAQMBBAEFAQYBBwEIB3VuaUUwMkIHdW5pRTAxMgd1bmlFMDEzB3VuaUUwMUYHdW5pRTAyQwd1bmlFMDI4B3VuaUYwMDAAAAAB//8AAgABAAAADgAAABgAAAAAAAIAAQADAAoAAQAEAAAAAgAAAAAAAQAAAADJiW8xAAAAAMx+Y+IAAAAAzH5j4g==) format("woff");
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: 'icomoon';
font-style: normal;
speak: none;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
.icon-mail:before {
content: "\e02b";
}
.icon-home:before {
content: "\e012";
}
.icon-camera:before {
content: "\e013";
}
.icon-cog:before {
content: "\e01f";
}
.icon-comment:before {
content: "\e02c";
}
.icon-user:before {
content: "\e028";
}
</style>
<body>
<div class="container">
<ul id="nav">
<li><a href="#" class="icon-home"></a></li>
<li><a href="#" class="icon-camera"></a></li>
<li><a href="#" class="icon-mail"></a></li>
<li><a href="#" class="icon-comment"></a></li>
<li><a href="#" class="icon-user"></a></li>
<li><a href="#" class="icon-cog"></a></li>
</ul>
</div>
</body>
</html>
Style#4:Fly Menu :
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Account Setup</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans">
<style type="text/css">
#body {
padding: 100px 0 150px 0;
}
.fly-menu {
float: left;
margin: 50px 100px 0 150px;
width: 60px;
height: 60px;
position: relative;
border-radius: 50%;
z-index: 1;
display: block;
}
.fly-main {
width: 60px;
height: 60px;
background: red;
position: relative;
border-radius: 100%;
border: 2px solid #fff;
-moz-transition: 1.5s ease;
-webkit-transition: 1.5s ease;
transition: 1.5s ease;
position:absolute;
cursor:pointer;
}
.fly-main:after{
content:"";
position:absolute;
background:white;
width:10px;
height:30px;
top:15px;
left:25px;
}
.fly-main:before{
content:"";
position:absolute;
background:white;
width:30px;
height:10px;
top:25px;
left:15px;
}
.fly-menu:hover .fly-main {
-moz-transform: rotate(490deg);
-webkit-transform: rotate(490deg);
transform: rotate(490deg);
}
.fly-hover {
width: 60px;
height: 60px;
opacity: 0.5;
border-radius: 100%;
position: absolute;
top: 0;
left: 0;
-moz-transition: 0.3s ease;
-webkit-transition: 0.3s ease;
transition: 0.3s ease;
}
.fly-menu:hover .fly-hover {
-moz-transform: scale(5);
-webkit-transform: scale(5);
transform: scale(5);
}
ul{
list-style:none;
}
.fly-item {
position: absolute;
width: 30px;
height: 30px;
border: 2px solid #fff;
-moz-border-radius: 100%;
-webkit-border-radius: 100%;
border-radius: 100%;
}
.home,
.about,
.setting,
.portfolio,
.mail{
-moz-transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-moz-transition-timing-function: linear;
-webkit-transition-timing-function: linear;
transition-timing-function: linear;
}
.home {
background-color: #D4F25C;
width:50px;
height:50px;
top: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.2s;
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s;
cursor:pointer;
}
.home:after{
content: "";
border-color: transparent transparent #577305;
border-image: none;
border-style: solid;
border-width: 18px;
content: "";
height: 16px;
left: 7px;
position: absolute;
top: -30px;
width: 0;
display:inline-block;
}
.home:before{
width:30px;
height:20px;
content:"";
background-color:#577305;
position:absolute;
top:20px;
left:10px;
display:inline-block;
}
.fly-menu:hover .home {
top: -60px;
left: -60px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: home 1s 1 linear;
-webkit-animation: home 1s 1 linear;
animation: home 1s 1 linear;
}
@-moz-keyframes home {
0% {-moz-transform: rotate(-360deg); top: 15px; left: 15px;}
50% {-moz-transform: rotate(0deg); top: -70px; left: -70px;}
100% {-moz-transform: rotate(360deg); top: -60px; left: -60px;}
}
@-webkit-keyframes home {
0% {-webkit-transform: rotate(-360deg); top: 15px; left: 15px;}
50% {-webkit-transform: rotate(0deg); top: -70px; left: -70px;}
100% {-webkit-transform: rotate(360deg) top: -60px; left: -60px;;}
}
@keyframes home {
0% {transform: rotate(-360deg); top: 15px; left: 15px;}
50% {transform: rotate(0deg); top: -70px; left: -70px;}
100% {transform: rotate(360deg); top: -60px; left: -60px;}
}
.about {
background-color: #02BDF4;
width:50px;
height:50px;
top: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.3s;
-webkit-transition-delay: 0.3s;
transition-delay: 0.3s;
cursor:pointer;
}
.about:after{
content:"";
width:10px;
height:10px;
border-radius:10px;
position:absolute;
top:10px;
left:20px;
background-color:#21383E;
display:inline-block;
}
.about:before{
content:"";
width:10px;
height:20px;
position:absolute;
top:22px;
left:20px;
background-color:#21383E;
display:inline-block;
}
.fly-menu:hover .about {
top: -120px;
left:50px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: it-2 1.1s 1 linear;
-webkit-animation: it-2 1.1s 1 linear;
animation: it-2 1.1s 1 linear;
}
@-moz-keyframes about {
0% {-moz-transform: rotate(-360deg); top: 15px;}
50% {-moz-transform: rotate(0deg); top: -110px;}
100% {-moz-transform: rotate(360deg); top:-100px;}
}
@-webkit-keyframes about {
0% {-webkit-transform: rotate(-360deg); top: 15px;}
50% {-webkit-transform: rotate(0deg); top: -110px;}
100% {-webkit-transform: rotate(360deg); top:-100px;}
}
@keyframes about {
0% {transform: rotate(-360deg); top: 15px;}
50% {transform: rotate(0deg); top: -110px;}
100% {transform: rotate(360deg); top:-100px;}
}
.setting {
background: #FE9732;
width:50px;
height:50px;
top: 15px;
right: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.4s;
-webkit-transition-delay: 0.4s;
transition-delay: 0.4s;
cursor:pointer;
}
.setting:after{
position:absolute;
width:7px;
height:20px;
top:17px;
left:14px;
content:"";
background-color:#693E13;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.setting:before{
border:6px solid #693E13;
border-top:0px;
border-radius:0px 0px 10px 10px;
top: 12px;
left:19px;
height: 6px;
width:10px;
position:absolute;
content:'';
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.fly-menu:hover .setting {
top: -20px;
right: -120px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
/*==== Animasi Efek Bouncing ====*/
-moz-animation: it-3 1.2s 1 linear;
-webkit-animation: it-3 1.2s 1 linear;
animation: it-3 1.2s 1 linear;
}
@-moz-keyframes setting {
0% {-moz-transform: rotate(-360deg); top: 15px; right: 15px;}
50% {-moz-transform: rotate(0deg); top: -70px; right: -70px}
100% {-moz-transform: rotate(360deg); top:-60px; right: -60px; }
}
@-webkit-keyframes setting {
0% {-webkit-transform: rotate(-360deg); top: 15px; right: 15px;}
50% {-webkit-transform: rotate(0deg); top: -70px; right: -70px}
100% {-webkit-transform: rotate(360deg); top:-60px; right: -60px; }
}
@keyframes setting {
0% {transform: rotate(-360deg); top: 15px; right: 15px;}
50% {transform: rotate(0deg); top: -70px; right: -70px}
100% {transform: rotate(360deg); top:-60px; right: -60px; }
}
.portfolio {
background-color:#FDE674;
bottom: -10px;
right: 5px;
width:50px;
height:50px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
transition-delay: 0.5s;
cursor:pointer;
}
.portfolio:after{
content:"";
background:#86680E;
width:30px;
height:20px;
position:absolute;
top:16px;
left:10px;
}
.portfolio:before{
content:"";
background:#86680e;
width:15px;
height:10px;
position:absolute;
top:12px;
left:25px;
}
.fly-menu:hover .portfolio {
bottom: -90px;
right: -110px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: portfolio 1.2s 1 linear;
-webkit-animation: portfolio 1.2s 1 linear;
animation: portfolio 1.2s 1 linear;
}
@-moz-keyframes portfolio {
0% {-moz-transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -70px; right: -70px}
100% {-moz-transform: rotate(360deg); bottom:-60px; right: -60px; }
}
@-webkit-keyframes portfolio {
0% {-webkit-transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -70px; right: -70px}
100% {-webkit-transform: rotate(360deg); bottom:-60px; right: -60px; }
}
@keyframes portfolio {
0% {transform: rotate(-360deg); bottom: 15px; right: 15px;}
50% {transform: rotate(0deg); bottom: -70px; right: -70px}
100% {transform: rotate(360deg); bottom:-60px; right: -60px; }
}
.it-5 {
background: url(http://cahcepu.com/v3/anim/plus2.png) no-repeat center top;
bottom: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.6s;
-webkit-transition-delay: 0.6s;
transition-delay: 0.6s;
}
.fly-menu:hover .it-5 {
bottom: -100px;
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
-moz-animation: it-5 1.3s 1 linear;
-webkit-animation: it-5 1.3s 1 linear;
animation: it-5 1.3s 1 linear;
}
@-moz-keyframes it-5 {
0% {-moz-transform: rotate(-360deg); bottom: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -110px;}
100% {-moz-transform: rotate(360deg); bottom:-100px; }
}
@-webkit-keyframes it-5 {
0% {-webkit-transform: rotate(-360deg); bottom: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -110px;}
100% {-webkit-transform: rotate(360deg); bottom:-100px; }
}
@keyframes it-5 {
0% {transform: rotate(-360deg); bottom: 15px;}
50% {transform: rotate(0deg); bottom: -110px;}
100% {transform: rotate(360deg); bottom:-100px; }
}
.it-6 {
background: magenta;
background: url(http://cahcepu.com/v3/anim/plus2.png) no-repeat center top;
bottom: 15px;
left: 15px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-transition-delay: 0.7s;
-webkit-transition-delay: 0.7s;
transition-delay: 0.7s;
}
.fly-menu:hover .it-6 {
bottom: -60px;
left: -60px;
-moz-transform: rotate(-360deg);
-webkit-transform: rotate(-360deg);
transform: rotate(-360deg);
-moz-animation: it-6 1.4s 1 linear;
-webkit-animation: it-6 1.4s 1 linear;
animation: it-6 1.4s 1 linear;
}
@-moz-keyframes it-6 {
0% {-moz-transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {-moz-transform: rotate(0deg); bottom: -70px; left: -70px}
100% {-moz-transform: rotate(360deg); bottom:-60px; left: -60px; }
}
@-webkit-keyframes it-6 {
0% {-webkit-transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {-webkit-transform: rotate(0deg); bottom: -70px; left: -70px}
100% {-webkit-transform: rotate(360deg); bottom:-60px; left: -60px; }
}
@keyframes it-6 {
0% {transform: rotate(-360deg); bottom: 15px; left: 15px;}
50% {transform: rotate(0deg); bottom: -70px; left: -70px}
100% {transform: rotate(360deg); bottom:-60px; left: -60px; }
}
</style>
</head>
<body>
<div id="body" class="clearfix">
<div class="fly-menu">
<div class="fly-hover"></div>
<ul>
<li class="fly-item home"></li>
<li class="fly-item about"></li>
<li class="fly-item setting"></li>
<li class="fly-item portfolio"></li>
<li class="fly-item mail"></li>
</ul>
<div class="fly-main"></div>
</div>
</div>
</body>
</html>
Style#5:Simple Menuber :
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Simple Menuber</title>
<link rel="shortcut icon" href="flag.gif" />
<style type="text/css" media="screen">
/* Give basic styles to the body and the navigation */
#body{
background-color:#efefef;
height:520px;
}
div#nav{ padding: 20px; border:gold 1px solid;background-color:green; }
div#nav > a{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
padding: 11px 26px;
background: #333;
color:#999;
margin-right: 10px;
text-decoration:none;
border-radius: 3px;
-webkit-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-moz-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-ms-transition: background 0.3s linear 0s, color 0.3s linear 0s;
-o-transition: background 0.3s linear 0s, color 0.3s linear 0s;
transition: background 0.3s linear 0s, color 0.3s linear 0s;
}
div#nav > a:hover{
background: #6F8A00;
color:#FFF;
}
div#nav:hover{background:#ffffff;}
body:hover{}
</style>
</head>
<body>
<div id="nav">
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Staff</a>
<a href="#">Contact</a>
<a href="#">blogs</a>
<a href="#">Tutorial</a>
<a href="#">Download</a>
</div>
</body>
</html>
Style#6: Responsive Menuber :
<html lang="en">
<head>
<title>HTML5 & CSS3</title>
<meta charset="utf-8"/>
<link href='http://fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
body {
color: #666666;
font-size: 87.5%;
font-family: 'Lato', sans-serif;
line-height: 1.5;
text-align: left;
background-color: #f7f7f7;
font-weight: 300;
}
a {
text-decoration: none;
}
a:link, a:visited {
color: #282828;
transition: color .2s ease;
font-weight: 300;
}
a:hover, a:active {
color: #222222;
}
.body {
margin: 0 auto;
width: 70%;
clear: both;
}
.mainHeader img {
width: 30%;
height: auto;
margin: 2% 0%;
}
.mainHeader nav {
background-color: #fff;
height: 40px;
}
.mainHeader nav ul {
list-style: none;
margin: 0 auto;
}
.mainHeader nav ul li {
float: left;
display: inline;
}
.mainHeader nav a:link, .mainHeader nav a:visited {
color: #282828;
display: inline-block;
padding: 10px 25px;
height: 20px;
}
.mainHeader nav a:hover, .mainHeader nav a:active,
.mainHeader nav .active a:link, .mainHeader nav .active a:visited{
background-color: #222222;
text-shadow: none;
color: #fff;
}
.mainHeader nav ul li a {
transition: background-color .1s ease;
}
@media only screen and (max-width: 650px) {
.body {
width: 90%;
font-size: 95%;
}
.mainHeader img {
width: 100%;
}
.mainHeader nav {
height: 200px;
}
.mainHeader nav ul {
padding-left: 0;
}
.mainHeader nav ul li {
width: 100%;
text-align: center;
}
.mainHeader nav a:link, .mainHeader nav a:visited {
padding: 10px 25px;
height: 20px;
display: block;
}
</style>
</head>
<body class="body">
<header class="mainHeader">
<p></p>
<nav>
<ul>
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Log In</a></li>
</ul>
</nav>
</header>
</body>
</html>
Comments
Post a Comment