-
Notifications
You must be signed in to change notification settings - Fork 0
/
百度.html
154 lines (150 loc) · 4.33 KB
/
百度.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>百度</title>
<style>
#headspace{
margin: 18px 0 0 10px;
/* background-color: red; */
overflow: auto;
}
.groupa1{
/* box-sizing: border-box; */
float: left;
}
.a1{
color: black;
font-size: 12.5px;
margin-right: 28px;
text-decoration: none;
}
.more{
position: absolute;
display: inline-block;
}
.as{
/* display: none; */
position: relative;
top: 4px;
left: -8px;
}
/* #other:hover .as{
display: block;
} */
/* .as1{
/* display: none; */
/* height: 25px;
width: 40px;
background-color: rgb(243, 243, 243);
border-bottom: 1px solid #999;
border-left: 1px solid #999;
border-right: 1px solid rgba(146, 146, 146, 0.493);
text-align: center;
vertical-align: middle;
} */
.groupa2{
float: right;
width: 100px;
}
.logina1{
float: right;
background-color: #4E71F2;
color: white;
font-size: 12.5px;
text-decoration: none;
line-height: 100%;
text-align: center;
display: block;
height: 25px;
width: 46px;
padding: 6px;
border-radius: 10px;
box-sizing: border-box;
}
input,button{
vertical-align:middle;
/* 对齐表单和按钮 */
}
.baidu{
text-align: center;
}
.baidu img{
width: 320px;
}
input{
width: 430px;
height: 40px;
padding: 10px;
box-sizing: border-box;
border: 2px solid #cfcfcf;
border-right-width: 0;
border-radius: 10px 0 0 10px;
outline: none;
}
input:hover{
border: 2px solid #919191;
}
button{
width: 100px;
height: 40px;
background: #4E6EF2;
border: #4E6EF2;
border-style: solid;
border-radius: 0 10px 10px 0;
font-size: 16px;
color: white;
outline: none;
visibility: inherit;
}
#bottom{
height: 350px;
position: relative;
/* background-color: rgb(224, 64, 77); */
}
.box{
position: absolute;
bottom: 0;
right: 0;
}
</style>
</head>
<body>
<div id="headspace">
<div class="groupa1">
<a href="" class="a1">新闻</a>
<a href="" class="a1">hao123</a>
<a href="" class="a1">地图</a>
<a href="" class="a1">视频</a>
<a href="" class="a1">贴吧</a>
<a href="" class="a1">学术</a>
<div class="more">
<a href="" class="a1" id="other">更多</a>
</div>
</div>
<div class="groupa2">
<a href="" class="a1">设置</a>
<a href="https://passport.baidu.com/v2/?login&tpl=mn&u=http%3A%2F%2Fwww.baidu.com%2F&sms=5" class="logina1">登录</a>
</div>
</div>
<div class="baidu">
<img class="img" src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png"><br>
<input type="" name=""><button>百度一下</button>
</div>
<div id="bottom">
<div class="box">
<img src="https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/qrcode/[email protected]">
</div>
</div>
<script>
var groupa = document.querySelectorAll('.as1');
groupa.onmouseover = function(){
this.style.display = "block";
}
groupa.onmouseout = function(){
this.style.display = "none";
}
</script>
</body>
</html>