结对作业(地铁项目)08

stationsearch.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>查询</title>
<style>
body {
margin:0px;
background: url(images/2.png) no-repeat;
background-size:100% 100%;
background-attachment:fixed;
}


.div {
width: 400px;
height: 700px;
/* 实现整个框居中效果 */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}



.sign-div {
width: 400px;
height: 500px;
text-align: center;
outline: none;
border: 1px solid rgb(94, 92, 233);
border-radius: 8px;
background-color: rgba(172, 235, 243, .2);
box-sizing: border-box;
}

.sign-div h1 {
margin-bottom: 10px;
color: rgb(29, 26, 26);
}

input {
width: 250px;
height: 44px;
border: none;
/* 元素周围的轮廓无效 */
outline: none;
/* 为元素指定的任何内边距和边框都将在已设定的宽度和高度内进行绘制 */
box-sizing: border-box;
display: block;
padding: 0 16px;
}

.input-text {
margin: 5px auto;
border-radius: 16px;
}

.input-text:hover {
border: 0.5px solid rgb(76, 76, 233);
transition: 0.5s;
border-radius: 4px;
}



.sign-div a {
text-decoration: none;
color: rgb(92, 61, 112);
font-size: 14px;
padding: 10px;
transition: 0.8s;
display: block;
}

a:hover {
color: #FFF;
background: rgba(0, 0, 0, .3);
border-radius: 8px;
}
</style>
</head>

<body>
<div class="div">
<div class="head-div"></div>
<div class="sign-div">
<form class="" action="stationsearchjudge.jsp" method="get">
<p>
<h1>地铁站点查询</h1>
<br><br>
<input class="input-text" type="text" name="station_name" placeholder="请输入要查询的站点">
<br>

<input class="input-text" type="submit" value="提交" />
<br><br>

<input class="input-text" type="button" value="返回菜单" onclick="location.href='menu.jsp'" />


<br>
</p>

</form>
</div>
</div>
</body>

</html>
posted @   平安喜乐×  阅读(3)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效
点击右上角即可分享
微信分享提示