jquery-ui实现一个倾斜登录页面效果代码

代码语言:html

所属分类:布局界面

代码描述:jquery-ui实现一个倾斜登录页面效果代码

代码标签: 倾斜 登录 页面 效果

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

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

<head>

    <meta charset="UTF-8">

    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery-ui-1.11.0.min.css">

    <style>
@import url(https://fonts.googleapis.com/css?family=Gudea:400,700);
        body {
            perspective: 800px;
            height: 100vh;
            margin: 0;
            overflow: hidden;
            font-family: "Gudea", sans-serif;
            background: #EA5C54;
            /* Old browsers */
            /* FF3.6+ */
            /* Chrome,Safari4+ */
            /* Chrome10+,Safari5.1+ */
            /* Opera 11.10+ */
            /* IE10+ */
            background: linear-gradient(135deg, #EA5C54 0%, #bb6dec 100%);
            /* W3C */
            filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#EA5C54 ", endColorstr="#bb6dec",GradientType=1 );
            /* IE6-9 fallback on horizontal gradient */
        }
        body ::-webkit-input-placeholder {
            color: #4E546D;
        }
        body .authent {
            display: none;
            background: #35394a;
            /* Old browsers */
            /* FF3.6+ */
            /* Chrome,Safari4+ */
            /* Chrome10+,Safari5.1+ */
            /* Opera 11.10+ */
            /* IE10+ */
            background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
            /* W3C */
            filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#35394a", endColorstr="#1f222e",GradientType=1 );
            /* IE6-9 fallback on horizontal gradient */
            position: absolute;
            left: 0;
            right: 90px;
            margin: auto;
            width: 100px;
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            padding: 20px 70px;
            top: 200px;
            bottom: 0;
            height: 70px;
            opacity: 0;
        }
        body .authent p {
            text-align: center;
            color: white;
        }
        body .success {
            display: none;
            color: #d5d8e2;
        }
        body .success p {
            font-size: 14px;
        }
        body p {
            color: #5B5E6F;
            font-size: 10px;
            text-align: left;
        }
        body .testtwo {
            left: -320px !important;
        }
        body .test {
            box-shadow: 0px 20px 30px 3px rgba(0, 0, 0, 0.55);
            pointer-events: none;
            top: -100px !important;
            transform: rotateX(70deg) scale(0.8) !important;
            opacity: 0.6 !important;
            filter: blur(1px);
        }
        body .login {
            opacity: 1;
            top: 20px;
            -webkit-transition-timing-function: cubic-bezier(0.68, -0.25, 0.265, 0.85);
            transition-property: transform, opacity, box-shadow, top, left;
            transition-duration: 0.5s;
            transform-origin: 161px 100%;
            transform: rotateX(0deg);
            position: relative;
            width: 240px;
            border-top: 2px solid #D8312A;
            height: 300px;
            position: absolute;
            left: 0;
            right: 0;
            margin: auto;
            top: 0;
            bottom: 0;
            padding: 100px 40px 40px 40px;
            background: #35394a;
            /* Old browsers */
            /* FF3.6+ */
            /* Chrome,Safari4+ */
            /* Chrome10+,Safari5.1+ */
            /* Opera 11.10+ */
            /* IE10+ */
            background: linear-gradient(45deg, #35394a 0%, #1f222e 100%);
            /* W3C */
            filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#35394a", endColorstr="#1f222e",GradientType=1 );
            /* IE6-9 fallback on horizontal gradient */
        }
        body .login .validation {
            position: absolute;
            z-index: 1;
            right: 10px;
            top: 6px;
            opacity: 0;
        }
        body .login .disclaimer {
            position: absolute;
            bottom: 20px;
            left: 35px;
            width: 250px;
        }
        body .login_title {
            color: #afb1be;
            height: 60px;
            text-align: left;
            font-size: 16px;
        }
        body .login_fields {
            height: 208px;
            position: absolute;
            left: 0;
        }
        body .login_fields .icon {
            position: absolute;
            z-index: 1;
            left: 36px;
            top: 8px;
            opacity: 0.5;
        }
        body .login_fields input[type=password] {
            color: #DC6180 !important;
        }
        body .login_fields input[type=text], body .login_fields input[type=password] {
            color: #afb1be;
            width: 190px;
            margin-top: -2px;
            background: #32364a;
            left: 0;
            padding: 10px 65px;
            border-top: 2px solid #393d52;
            border-bottom: 2px solid #393d52;
            border-right: none;
            border-left: none;
            outline: none;
            font-family: "Gudea", sans-serif;
            box-shadow: none;
        }
        body .login_fields__user, body .login_fields__password {
            position: relative;
        }
        body .login_fields__submit {
            position: relative;
            top: 35px;
            left: 0;
            width: 80%;
            right: 0;
            margin: auto;
        }
        body .login_fields__submit .forgot {
            float: right;
            font-size: 10px;
            margin-top: 11px;
            text-decoration: underline;
        }
        body .login_fields__submit .forgot a {
            color: #606479;
        }
        body .login_fields__submit input {
            border-radius: 50px;
            background: transparent;
            padding: 10px 50px;
            border: 2px solid #DC6180;
            color: #DC6180;
            text-transform: uppercase;
            font-size: 11px;
            transition-property: background, color;
            transition-duration: 0.2s;
        }
        body .login_fields__submi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0