登录注册表单html页面效果
代码语言:html
所属分类:表单美化
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CodePen - SlidingForm</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
* {
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background: #f6f5f7;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: -20px 0 50px;
background-image: url(http://repo.bfw.wiki/bfwrepo/image/background.jpg);
background-size: cover;
}
h1 {
font-weight: bold;
margin: 0;
color: beige;
}
p {
font-size: 14px;
font-weight: bold;
line-height: 20px;
letter-spacing: 0.5px;
margin: 20px 0 30px;
}
span {
font-size: 12px;
color: beige;
}
a {
color: #fff;
font-size: 14px;
text-decoration: none;
margin: 15px 0;
}
.container {
border-radius: 10px;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
position: absolute;
overflow: hidden;
width: 768px;
max-width: 100%;
min-height: 480px;
opacity: 0.8;
}
.form-container form {
background: rgba(45, 52, 54, 1.0);
display: flex;
flex-direction: column;
padding: 0 50px;
height: 100%;
justify-content: center;
align-items:.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0