Web实现:仿大学英语四级成绩查询 html css 含效果图

68 篇文章 0 订阅

实现:仿英语四级成绩查询网页
效果图:
效果图
index.html:

<!DOCTYPE html>
<html>
<head>
	<title>英语四级成绩查询</title>
	<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
	<div id="all">
		<div id="nav">
			<img src="images/logo.png">
		</div>
		<div id="content">
			<p id="title">
				2021年下半年全国大学英语四级考试(CET4)-查看成绩
			</p>
			<table id="table1">
				<tr>
					<td>&ensp;&ensp;&ensp;&ensp;名:</td>
					<td>xx</td>
				</tr>
				<tr>
					<td>&ensp;&ensp;&ensp;&ensp;校:</td>
					<td>xx大学</td>
				</tr>
			</table>
			<p class="title">笔试成绩</p>
			<table id="table2">
				<tr>
					<td>准考证号:</td>
					<td colspan="2">320xxxxxxxxxxxx</td>
				</tr>
				<tr>
					<td>&ensp;&ensp;&ensp;&ensp;分:</td>
					<td id="redscore">536</td>
				</tr>
				<tr>
					<td></td>
					<td>&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;力:</td>
					<td class="scores">178</td>
				</tr>
				<tr>
					<td></td>
					<td>&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;读:</td>
					<td class="scores">189</td>
				</tr>
				<tr>
					<td></td>
					<td>写作和翻译:</td>
					<td class="scores">169</td>
				</tr>
			</table>
			<p class="title">口试成绩</p>
			<table>
				<tr>
					<td>准考证号:</td>
					<td>--</td>
				</tr>
				<tr>
					<td>&ensp;&ensp;&ensp;&ensp;级:</td>
					<td>--</td>
				</tr>
			</table>
			<table id="number">
				<tr>
					<td>成绩报告单编号:</td>
					<td>xxxx320xxxxxxxx</td>
				</tr>
			</table>
			<a href="#">返回</a>
		</div>
	</div>
</body>
</html>

index.css:

*{
	margin: 0;
	padding: 0;
}
#all{
	width: 1280px;
	margin: 0 auto;
}
#all #nav{
	border-bottom: 3px solid #003e7d;
	padding: 10px 0;
}
#all #content{
	width: 600px;
	margin: 1em auto;
}
#all #content p#title{
	/*height: 30px;*/
	line-height: 100px;
    color: #3083c7;
    font-size: 22px;
    text-align: center;
}
#all #content table{
	width: 480px;
	margin: 0 auto;
}
#all #content p.title{
	width: 500px;
	height: 28px;
	margin: 10px auto;
	text-align: center;
	font-weight: bold;
	line-height: 28px;
	background: #b9cce3;
}
#all #content table tr td{
	line-height: 30px;
}
#all #content table tr td:first-child{
	font-weight: bold;
	color: #19407a;
	width: 5em;
}
#all #content table#table2 tr td:nth-child(2){
	width: 6em;
}
#all #content table#table2 tr td:nth-child(2)#redscore{
	color: red;
	font-weight: bold;
}
#all #content table#table2 tr td:nth-child(3).scores{
	font-weight: bold;
	color: #19407a;
}
#all #content table#number{
	width: 500px;
	margin-top: 15px; 
	margin-bottom: 15px;
}
#all #content table#number td:first-child{
	width: 8em;
}
#all #content a{
	display: block;
	width: 100px;
    height: 35px;
    line-height: 35px;
	background: #32aeea;
	border-radius: 5px;
	color: white;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
}
  • 3
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

jasmyn518

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值