黑色登录页面

代码语言:html

所属分类:表单美化

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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title> Login UI</title>
    <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Quicksand:400,500,700'>
    <style>
@import url(https://fonts.googleapis.com/css?family=Quicksand:200,400,500,700);
        body,
        html {
            height: 100%;
        }

        * {
            box-sizing: border-box;
        }
        *:focus {
            outline: none;
        }

        p {
            margin-top: 0;
            margin-bottom: 0.75em;
        }

        p:last-child {
            margin-bottom: 0;
        }

        body {
            background: #1d1e23;
            display: flex;
            justify-content: center;
            align-items: center;
            perspective: 1000px;
            font-family: "Quicksand", sans-serif;
            font-weight: 200;
        }

        input {
            font-family: "Quicksand", sans-serif;
            font-weight: 200;
        }

        .loading {
            height: 4px;
            width: 4px;
            border-radius: 2px;
            background: #fffdf3;
            position: absolute;
            top: 1.5em;
            right: 1.5em;
            opacity: 0.2;
            transition: 0.3s ease-in;
        }

        .loading.on {
            opacity: 1;
            box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.7);
        }

        .loading.logout {
            animation: logout 1s ease-out forwards;
        }

@keyframes logout {
            0%, 80% {
                opacity: 1.........完整代码请登录后点击上方下载按钮下载查看

网友评论0