<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE HTML>
<head runat="server">
<meta charset="utf-8">
<title>test</title>
<link href='http://fonts.googleapis.com/css?family=Exo:400,900' rel='stylesheet'
type='text/css'>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
/* Style Reset */body, ul, li
{
padding: 0;
margin: 0;
}
nav
{
display: block;
}
ul
{
list-style: none;
}
a
{
text-decoration: none;
color: #fff;
}
p a:hover
{
color: #f36;
}
body
{
background: url(img/dark_Tire.png) #222;
font-family: 'Exo' , sans-serif;
font-size: 16px;
color: #999;
min-width: 800px;
}
nav a
{
font-weight: 900;
font-size: 23px;
text-transform: uppercase;
}
/* menu-1 */#menu-1
{
position: fixed;
top: 200px;
left: 0;
}
#menu-1 a
{
padding: 8px 20px;
margin: 1px 0;
background: url(images/menu_bg.png) no-repeat -1px top rgba(0,0,0,0.2);
background-size: 0 100%;
display: inline-block;
-moz-transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
#menu-1 a:hover
{
background-size: 100% 100%;
}
/* menu-2 */#menu-2 ul
{
text-align: center;
}
#menu-2 li
{
display: inline-block;
}
#menu-2 a
{
padding: 8px 20px;
margin: 0 1px;
background: url(images/menu_bg.png) no-repeat left -1px rgba(0,0,0,0.2);
background-size: 100% 0;
display: block;
-moz-transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
#menu-2 a:hover
{
background-size: 100% 100%;
}
/* others */
h1
{
color: #f36;
text-align: center;
margin-top: 200px;
padding: 0 200px;
}
p
{
text-align: center;
padding: 0 200px;
}
</style>
</head>
<body>
<nav id="menu-2">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">My Blog</a></li>
<li><a href="#">Contact Me</a></li>
</ul>
</nav>
<!-- <nav id="menu-2">
<ul>
<li><a href="#">Home</a></li><li><a href="#">About</a></li><li><a href="#">Portfolio</a></li><li><a href="#">My Blog</a></li><li><a href="#">Contact Me</a></li>
</ul>
</nav>-->
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE HTML>
<head runat="server">
<meta charset="utf-8">
<title>test</title>
<link href='http://fonts.googleapis.com/css?family=Exo:400,900' rel='stylesheet'
type='text/css'>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
/* Style Reset */body, ul, li
{
padding: 0;
margin: 0;
}
nav
{
display: block;
}
ul
{
list-style: none;
}
a
{
text-decoration: none;
color: #fff;
}
p a:hover
{
color: #f36;
}
body
{
background: url(img/dark_Tire.png) #222;
font-family: 'Exo' , sans-serif;
font-size: 16px;
color: #999;
min-width: 800px;
}
nav a
{
font-weight: 900;
font-size: 23px;
text-transform: uppercase;
}
/* menu-1 */#menu-1
{
position: fixed;
top: 200px;
left: 0;
}
#menu-1 a
{
padding: 8px 20px;
margin: 1px 0;
background: url(images/menu_bg.png) no-repeat -1px top rgba(0,0,0,0.2);
background-size: 0 100%;
display: inline-block;
-moz-transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
#menu-1 a:hover
{
background-size: 100% 100%;
}
/* menu-2 */#menu-2 ul
{
text-align: center;
}
#menu-2 li
{
display: inline-block;
}
#menu-2 a
{
padding: 8px 20px;
margin: 0 1px;
background: url(images/menu_bg.png) no-repeat left -1px rgba(0,0,0,0.2);
background-size: 100% 0;
display: block;
-moz-transition: all 0.2s ease-out;
-webkit-transition: all 0.2s ease-out;
-ms-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
}
#menu-2 a:hover
{
background-size: 100% 100%;
}
/* others */
h1
{
color: #f36;
text-align: center;
margin-top: 200px;
padding: 0 200px;
}
p
{
text-align: center;
padding: 0 200px;
}
</style>
</head>
<body>
<nav id="menu-2">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">My Blog</a></li>
<li><a href="#">Contact Me</a></li>
</ul>
</nav>
<!-- <nav id="menu-2">
<ul>
<li><a href="#">Home</a></li><li><a href="#">About</a></li><li><a href="#">Portfolio</a></li><li><a href="#">My Blog</a></li><li><a href="#">Contact Me</a></li>
</ul>
</nav>-->
</body>
</html>
No comments:
Post a Comment