html设计一个简单浅蓝色调电影评分页面
时间: 2023-06-17 21:06:27 浏览: 41
<!DOCTYPE html>
<html>
<head>
<title>电影评分页面</title>
<style>
body {
background-color: #EAF6F6;
}
h1 {
color: #4B7489;
text-align: center;
margin-top: 50px;
}
form {
background-color: #FFFFFF;
border-radius: 10px;
padding: 20px;
margin: 50px auto;
width: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
label {
display: block;
font-size: 18px;
margin-bottom: 10px;
color: #4B7489;
}
input[type="text"] {
width: 100%;
padding: 10px;
border-radius: 5px;
border: none;
font-size: 16px;
margin-bottom: 20px;
box-sizing: border-box;
background-color: #F4F9F9;
color: #4B7489;
}
input[type="submit"] {
background-color: #4B7489;
color: #FFFFFF;
padding: 10px 20px;
border-radius: 5px;
border: none;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
input[type="submit"]:hover {
background-color: #2F4D5D;
}
</style>
</head>
<body>
<h1>电影评分页面</h1>
<form>
<label for="movie-title">电影名称:</label>
<input type="text" id="movie-title" name="movie-title" required>
<label for="movie-rating">评分:</label>
<input type="text" id="movie-rating" name="movie-rating" required>
<input type="submit" value="提交">
</form>
</body>
</html>