Html+CSS实现登录界面的设计

更新时间:2023-08-11 06:03:06 阅读: 评论:0

Html+CSS实现登录界⾯的设计1.实现效果
2.HTML代码实现
oec<!DOCTYPE html>
<html lang="en">
<head>
摩登家庭第二季<meta chart="UTF-8">
<title>SignUp</title>
<link rel="stylesheet" href="SignUpStyle.css">
<link href="/css?familymPermanent+Marker" >
</head>
<body>
<div class="sign-div">
<form class="" action="SignUp.html" method="post">
<h1>SIGN UP</h1>
<input class="sign-text" type="text" placeholder="Full Name" >
bit
<input class="sign-text" type="email" placeholder="@email">索引号
<input class="sign-text" type="password" placeholder="password">
<input class="sign-btn" type="submit" value="Create Account">
<a href="#">Already Have One?</a>
</form>
</div>
</body>
</html>
3.CSS样式实现
body{
margin: 0;
padding: 0;
background: #487eb0;
}
.sign-div{
width: 300px;
padding: 20px;
text-align: center;
background: url(bg02.jpg);
position:absolute;
top: 50%;
新东方四级作文模板left: 50%;
transform: translate(-50%,-50%);    overflow: hidden;
}
.sign-div h1{
margin-top: 100px;
color: #fff;
font-size: 40px;
ball valve}
.sign-div input{
display: block;
width: 100%;
padding: 0 16px;
height: 44px;
text-align: center;
overviewbox-sizing: border-box;
outline: none;
border: none;
font-family: "montrrat",sans-rif; }
.sign-text{英国女王圣诞致辞
margin:4px;
background: rgba(255,255,255,5);    border-radius: 6px;
}
.sign-btn{
margin-top: 50px;
学习英语的电影
margin-bottom: 20px;
background: #487eb0;
color: #fff;
border-radius: 44px;
cursor: pointer;
transition: 0.8s;
}
.sign-btn:hover{
transform:scale(0.96);
}
.
sign-div a{
text-decoration: none;
color: #fff;
font-family: "montrrat", sans-rif;    font-size: 14px;
公务员培训padding: 10px;
transition: 0.8s;
display: block;
}
.sign-div a:hover{
background: rgba(0,0,0,.3);
}

本文发布于:2023-08-11 06:03:06,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/1129197.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:实现   设计   模板   电影   培训   作文   学习   公务员
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图