div+css实现简洁登录表单页面代码
代码语言:html
所属分类:表单美化
代码描述:div+css实现简洁登录表单页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background: url("//repo.bfw.wiki/bfwrepo/image/656b2c1d29965.png");
background-size: cover;
background-repeat: no-drop;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
a {
color:#1a73e8;
text-decoration: none;
padding:10px;
}
a:hover {
color:#1354a9;
background-color:#1a73e826;
}
.login-form {
padding:40px 40px 60px 20px;
text-align:center;
border:10px;
box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(4px);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
}
.login-form:hover {
transition: 0.8s;
box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}
.input-container {
width: 300px;
position: relative;
margin:30px;
}
.label {
position: absolute;
left: 10px;
top: 14px;
transition: all 0.3s;
padding: 0 2px;
z-index: 1;
color: #5f6368;
}
..........完整代码请登录后点击上方下载按钮下载查看
网友评论0