这篇文章总字数为:1500 字,有 1 张图存于本站服务器
作业预览:
实现代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>小浣熊作业2-4</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
#searchlogo {
display: block;
text-align: center;
padding-top: 80px;
padding-bottom: 15px;
}
img{width:160px;height:70px;}
form {
width: 700px;
margin: 0 auto;
}
input {
padding: 0 0 0 7px;
width: 538px;
height: 33px;
border: 1px solid rgb(204,204,204);
float:left;
}
input:hover{
border: 1px solid rgb(51,136,255);
float:left;
}
.searchbutton {
width: 100px;
height: 35px;
padding-top: 1px;
padding-bottom: 1px;
border: 0;
background-color: rgb(119,187,255);
color: white;
font-size: 15px;
}
.searchbutton:hover {
background-color: rgb(0,116,232);
color: white;
}
.footer {
text-align: center;
padding-top: 230px;
}
.another {
font-size: 12px;
color: #999;
}
a{
font-size: 12px;
color: #CCCCCC;
margin-left: 15px;
}
a:hover{
color: #0000ff;
}
</style>
</head>
<body>
<div id="searchlogo">
<img src="http://homework.cctni.cn/searchlogo.png">
</div>
<form>
<input type="text">
<input type="submit" name="send" class="searchbutton" value="百度一下" />
</form>
<div class="footer">
<div class="another">
<a href="http://homework.cctni.cn/shiyan2-4one.html" class="another1" target="_blank">实验2-4one入口</a>
<a href="http://homework.cctni.cn/shiyan2-4two.html" class="another1" target="_blank">实验2-4two入口</a>
<a href="http://homework.cctni.cn/pagelayout.html" class="another1" target="_blank">查看上次作业</a>
</div>
</div>
</div>
</body>
</html>
文件下载
附件:李老师作业2-4仿百度按钮
文件大小:594B
更新时间:2020-3-24 21:46
本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,若为付费资源,请在下载后24小时之内自觉删除,若作商业用途,请到原网站购买,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系本站删除,我们将及时处理!
评论