css实现简洁弹出式自适应蓝色登录表单页面代码
代码语言:html
所属分类:表单美化
代码描述:css实现简洁弹出式自适应蓝色登录表单页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zxx">
<head>
<!-- Meta tag Keywords -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8" />
<!-- //Meta tag Keywords -->
<link href="//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700;900&display=swap" rel="stylesheet">
<style>
html {
scroll-behavior: smooth;
}
body,
html {
margin: 0;
padding: 0;
font-family: 'Noto Serif JP', serif;
}
* {
box-sizing: border-box;
}
.d-grid {
display: grid;
}
.d-flex {
display: flex;
display: -webkit-flex;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
button,
input,
select {
-webkit-appearance: none;
outline: none;
font-family: 'Noto Serif JP', serif;
}
button,
.btn,
select {
cursor: pointer;
}
a {
text-decoration: none;
}
img {
max-width: 100%;
}
ul {
margin: 0;
padding: 0
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
margin: 0;
padding: 0
}
p {
color: #666;
font-size: 16px;
line-height: 25px;
opacity: .6;
text-align: center;
}
.p-relative {
position: relative;
}
.p-absolute {
position: absolute;
}
.p-fixed {
position: fixed;
}
.p-sticky {
position: sticky;
}
.btn,
button,
.actionbg,
input {
border-radius: 36px;
-webkit-border-radius: 36px;
-moz-border-radius: 36px;
-o-border-radius: 36px;
-ms-border-radius: 36px;
}
.btn:hover,
button:hover {
transition: 0.5s ease;
-webkit-transition: 0.5s ease;
-o-transition: 0.5s ease;
-ms-transition: 0.5s ease;
-moz-transition: 0.5s ease;
}
/*-- wrapper start --*/
.wrapper {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 576px) {
.wrapper {
max-width: 540px;
}
}
@media (min-width: 768px) {
.wrapper {
max-width: 720px;
}
}
@media (min-width: 992px) {
.wrapper {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.wrapper {
max-width: 1140px;
}
}
.wrapper-full {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
/*-- //wrapper start --*/
/*-- form styling --*/
.w3l-hotair-form {
position: relative;
min-height: 100vh;
z-index: 0;
background: #caf0f8;
padding: 40px 40px;
justify-content: center;
display: grid;
grid-template-rows: 1fr auto 1fr;
align-items: center;
}
.container {
max-width: 890px;
margin: 0 auto;
}
.w3l_form {
padding: 0px;
flex-basis: 50%;
-webkit-flex-basis: 50%;
background: url(//repo.bfw.wiki/bfwrepo/image/62b2f29d7896d.png) no-repeat center;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
padding:20px 20px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
.content-wthree {
flex-basis: 60%;
-webkit-flex-basis: 60%;
box-sizing: border-box;
padding: 3em 3em;
background: #fff;
box-shadow: 2px 9px 49px -17px rgba(0, 0, 0, 0.1);
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.w3l-workinghny-form .logo {
text-align: center;
}
.w3l-hotair-form .main-hotair {
position: relative;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
margin: 40px 0;
}
.w3l-hotair-form .alert-close {
cursor: pointer;
height: 35px;
width: 35px;
line-height: 33px;
position: absolute;
right: -5px;
top: -5px;
background: #f57763;
border-radius: 50%;
color: #fff;
text-align: center;
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0