Html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<link rel="stylesheet" href="nav3.css">
<body>
<h1>Company Name</h1>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Product</a></li>
<li><a href="#">Career</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Login</a></li>
</ul>
</body>
</html>
Css code:
*{
margin: 0%;
padding: 0%;
}
h1{
color: white;
padding: 30px;
}
body{
background: navy
}
ul{
display: flex;
padding: 10px;
background-color: white;
list-style: none;
}
a{
margin: auto;
text-decoration: none;
padding: 10px;
font-size: 20px;
font-weight: bold;
font-family:'Times New Roman', Times, serif;
text-align: center;
}
a:hover{
background-color: blueviolet;
/* font-size: 2px; */
color: white;
}
a:active{
background-color: rgb(255, 0, 106);
rotate: 45 deg;
border-radius: 65px 65px 0 65px;
padding: 30px;
transition: .5s;
}
If You want to developed website UI/UX so contact in comment
or its free service.


Good
ReplyDelete