
经过 5 天的渐进式 html 学习,我很高兴我们处于这一切的最后阶段,即本课程基于项目的部分,我只是构建网站并挑战自己......
简单的用户登录和注册页面
链接到项目用户页面
注册页面 html-
signup page
user login page
enter login details
don't have an account? sign up
注册页面 html-
signup page
user signup page
enter signup details
already have an account? sign in
css 样式-
/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
}
/* Body styles */
body {
background-color: antiquewhite;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
flex-direction: column;
}
/* Header styles */
header {
text-align: center;
margin-bottom: 20px; /* Add some space between the header and the content */
}
/* Article styles */
article {
border: 1px solid black;
padding: 20px; /* Add some padding inside the border */
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-family: Tahoma, sans-serif;
background-color: antiquewhite; /* Add background color for better visibility */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add some shadow for better look */
}
/* h3 styles */
h3 {
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
}
button {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
color: black;
border: none;
border-radius: 5px;
text-align: center;
text-decoration: none;
cursor: pointer;
background-color: #ccc;
transition: background-color 0.3s ease, transform 0.3s ease;
}
button:hover {
background-color: black;
transform: translateY(-2px);
color: white;
}
简单的交互式用户登录和注册网站...










