<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS综合案例1 普通导航</title>
<style>
a{
width:80PX;
height:50px;
background-color:#ff0000;
display: inline-block;
text-decoration: none;
color: #fff;
text-align: center;
line-height: 50px;
}
a:hover{
background-color: #ffa500;
}
</style>
</head>
<body>
<a href="#">导航1</a>
<a href="#">导航2</a>
<a href="#">导航3</a>
<a href="#">导航4</a>
<a href="#">导航5</a>
</body>
</html>