-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcat_book_air.html
107 lines (93 loc) · 1.99 KB
/
cat_book_air.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<html>
<head>
<style>
header, nav, ul, li, a, input, body {
padding: 0;
margin: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
ul {
list-style: none;
}
body {
}
a {
text-decoration: none;
font-family: sans-serif;
}
.group {
content: "";
display: table;
clear: both;
}
header {
background-color:white;
width: 900px;
margin: auto;
}
nav {
width: 900px;
margin: auto;
margin-top: 40px;
border-radius: 5px;
background-image: linear-gradient(to top, #777, #444, #777);
}
nav li {
float: left;
}
nav li a {
display: block;
padding: 10px 15px;
font-size: 14px;
color: #DDD;
border-right: 1px solid #444;
}
nav li a:hover {
background-image: linear-gradient(to top, #444, #111, #444);
}
.search-box {
display: block;
padding: 10px;
}
.search-box input {
border-radius: 5px;
background-image: linear-gradient(to top, #777, #444, #777);
box-shadow: inset 0 3px 4px black;
width: 150px;
height: 30px;
transition: all 1s;
}
.search-box input:focus{
outline: none;
width: 250px;
background: white;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
box-shadow: inset 0 0 0 white;
}
</style>
</head>
<body>
<header>
<nav class="group">
<ul>
<li><a href="#">Apple</a></li>
<li><a href="#">Store</a></li>
<li><a href="#">Mac</a></li>
<li><a href="#">iPod</a></li>
<li><a href="#">iPhone</a></li>
<li><a href="#">iPad</a></li>
<li><a href="#">iTunes</a></li>
<li><a href="#">Support</a></li>
<li class="search-box">
<input type="text">
</li>
</ul>
</nav>
</header>
</body>
</html>