|
@@ -0,0 +1,38 @@
|
|
|
+<!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>
|
|
|
+ <style>
|
|
|
+ div {
|
|
|
+ width: 810px;
|
|
|
+ height: 37px;
|
|
|
+ background: #f1f1f1;
|
|
|
+ line-height: 37px;
|
|
|
+ text-indent: 20px;
|
|
|
+ /* 鼠标划入手状 */
|
|
|
+ cursor:pointer;
|
|
|
+ }
|
|
|
+ .active{
|
|
|
+ background: #008CBA;
|
|
|
+ color:#fff;
|
|
|
+ }
|
|
|
+ .list:hover{
|
|
|
+ background: #555;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+
|
|
|
+<body>
|
|
|
+ <div class="active">Home</div>
|
|
|
+ <div class="list">News</div>
|
|
|
+ <div class="list">Contact</div>
|
|
|
+ <div class="list">About</div>
|
|
|
+
|
|
|
+</body>
|
|
|
+
|
|
|
+</html>
|