I Am Suraj Tiwari.
Suraj Tiwari
Suraj
Suraj Tiwari
Suraj
Suraj Tiwari
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
nav ul{ margin:0px; padding:0px; list-style:none;}
nav ul li { float:left; height:35px; line-height:35px; min-width:120px; text-align:center; display:block; border-right:solid 1px #fff; background:#000;}
nav ul li a { text-decoration:none; color:#F00;}
nav ul li a:hover{ background:green; display:block;}
nav ul li ul{ display:none; position:relative; transitions}
nav ul li ul li{float:none; border-bottom:solid 1px #fff;}
nav ul li:last-chlid{border:none}
nav ul li:hover ul{ display:block; position:absolute;}
@media only screen
and (max-width : 765px)
{
.slide-toggle{ display:block;}
nav{ height:100%; background:red;}
nav ul li { float:none;
}
nav ul li ul li { width:100%;}
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".slide-toggle").click(function(){
$(".nav").animate({
width: "toggle"
});
});
});
</script>
</head>
<body>
<div class="slide-toggle"> <img src="../images/menuicon.png" /></div>
<nav>
<ul>
<li><a href="">home</a></li>
<li><a href="">Achivment hhhhhffffffffddddd</a></li>
<li><a href="">home</a></li>
<li><a href="">home</a>
<ul>
<li> <a href="#"> demo </a></li>
<li> <a href="#"> demo </a></li><li> <a href="#"> demoffff fffffffffffffffffffff </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li>
</ul>
</li>
<li><a href="">home</a></li>
<li><a href="">home</a>
<ul>
<li> <a href="#"> demo </a></li>
<li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li>
</ul>
</li>
<li><a href="">home</a></li>
<li><a href="">home</a></li>
</ul>
</nav>
</body>
</html>
Suraj Tiwari
Suraj
Suraj Tiwari
Suraj
Suraj Tiwari
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
nav ul{ margin:0px; padding:0px; list-style:none;}
nav ul li { float:left; height:35px; line-height:35px; min-width:120px; text-align:center; display:block; border-right:solid 1px #fff; background:#000;}
nav ul li a { text-decoration:none; color:#F00;}
nav ul li a:hover{ background:green; display:block;}
nav ul li ul{ display:none; position:relative; transitions}
nav ul li ul li{float:none; border-bottom:solid 1px #fff;}
nav ul li:last-chlid{border:none}
nav ul li:hover ul{ display:block; position:absolute;}
@media only screen
and (max-width : 765px)
{
.slide-toggle{ display:block;}
nav{ height:100%; background:red;}
nav ul li { float:none;
}
nav ul li ul li { width:100%;}
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".slide-toggle").click(function(){
$(".nav").animate({
width: "toggle"
});
});
});
</script>
</head>
<body>
<div class="slide-toggle"> <img src="../images/menuicon.png" /></div>
<nav>
<ul>
<li><a href="">home</a></li>
<li><a href="">Achivment hhhhhffffffffddddd</a></li>
<li><a href="">home</a></li>
<li><a href="">home</a>
<ul>
<li> <a href="#"> demo </a></li>
<li> <a href="#"> demo </a></li><li> <a href="#"> demoffff fffffffffffffffffffff </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li>
</ul>
</li>
<li><a href="">home</a></li>
<li><a href="">home</a>
<ul>
<li> <a href="#"> demo </a></li>
<li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li><li> <a href="#"> demo </a></li>
</ul>
</li>
<li><a href="">home</a></li>
<li><a href="">home</a></li>
</ul>
</nav>
</body>
</html>