jquery全屏线条背景滑动式登录注册表单效果代码

代码语言:html

所属分类:表单美化

代码描述:jquery全屏线条背景滑动式登录注册表单效果代码

代码标签: jquery 全屏 滑动 登录 注册 表单

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,600' rel='stylesheet' type='text/css'>



    <style>
        @charset "UTF-8";
        body {
          margin: 0;
          height: 100%;
          overflow: hidden;
          width: 100% !important;
          box-sizing: border-box;
          font-family: "Roboto", sans-serif;
        }
        
        .backRight {
          position: absolute;
          right: 0;
          width: 50%;
          height: 100%;
          background: #03A9F4;
        }
        
        .backLeft {
          position: absolute;
          left: 0;
          width: 50%;
          height: 100%;
          background: #673AB7;
        }
        
        #back {
          width: 100%;
          height: 100%;
          position: absolute;
          z-index: -999;
        }
        
        .canvas-back {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: 10;
        }
        
        #slideBox {
          width: 50%;
          max-height: 100%;
          height: 100%;
          overflow: hidden;
          margin-left: 50%;
          position: absolute;
          box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        }
        
        .topLayer {
          width: 200%;
          height: 100%;
          position: relative;
          left: 0;
          left: -100%;
        }
        
        label {
          font-size: 0.8em;
          text-transform: uppercase;
        }
        
        input {
          background-color: transparent;
          border: 0;
          outline: 0;
          font-size: 1em;
          padding: 8px 1px;
          margin-top: 0.1em;
        }
        
        .left {
          width: 50%;
          height: 100%;
          overflow: scroll;
          background: #2C3034;
          left: 0;
          position: absolute;
        }
        .left label {
          color: #e3e3e3;
        }
        .left input {
          border-bottom: 1px solid #e3e3e3;
          color: #e3e3e3;
        }
        .left input:focus, .left input:active {
          border-color: #03A9F4;
          color: #03A9F4;
        }
        .left input:-webkit-autofill {
          -webkit-box-shadow: 0 0 0 30px #2C3034 inset;
          -webkit-text-fill-color: #e3e3e3;
        }
        .left a {
          color: #03A9F4;
        }
        
        .right {
          width: 50%;
          height: 100%;
          overflow: scroll;
          background: #f9f9f9;
          right: 0;
          position: .........完整代码请登录后点击上方下载按钮下载查看

网友评论0