一个html《登录界面》

emm。。。。

这是一个有一点点黑暗的“登录界面”

html源码

<!DOCTYPE html>
<html>
<head>
    <title>Login Page</title>
    <style>
        body {
            background-color: #000;
            color: #fff;
            text-align: center;
            padding-top: 100px;
            font-family: 'Courier New', Courier, monospace;
        }

        h1 {
            font-size: 50px;
            margin-bottom: 30px;
            color: #ff0000;
            text-shadow: 0 0 10px #ff0000;
        }

        table {
            margin: 0 auto;
            width: 400px;
        }

        th,
        td {
            padding: 10px;
        }

        input[type="text"],
        input[type="date"] {
            width: 300px;
            padding: 5px;
            border-radius: 5px;
            border: 1px solid #ff0000;
            background-color: #000;
            color: #ff0000;
        }

        input[type="submit"] {
            margin-top: 20px;
            padding: 10px;
            background-color: #ff0000;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            animation: pulseEffect 1s infinite;
        }

        input[type="submit"]:hover {
            background-color: #ff6666;
            animation: none;
        }

        .success-message {
            margin-top: 30px;
            display: none;
            animation: fadeInEffect 2s;
        }

        .checkbox-option {
            margin-top: 20px;
            animation: slideInEffect 2s;
        }

        .contact-info {
            margin-top: 40px;
            animation: bounceEffect 1.5s infinite;
        }

        /* Animations */
        @keyframes pulseEffect {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
            }
        }

        @keyframes fadeInEffect {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideInEffect {
            from {
                transform: translateX(-100%);
            }
            to {
                transform: translateX(0);
            }
        }

        @keyframes bounceEffect {
            0%,
            100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.2);
            }
        }
    </style>
    <script>
        window.onload = function () {
            document.querySelector('form').addEventListener('submit', function (event) {
                event.preventDefault();
                var successMessage = document.getElementById('successMessage');
                successMessage.style.display = 'block';
                successMessage.style.animation = 'fadeInEffect 2s forwards';

                var submitButton = document.getElementById('submitButton');
                submitButton.disabled = true;
            });

            document.getElementById('closeButton').addEventListener('click', function () {
                var successMessage = document.getElementById('successMessage');
                successMessage.style.display = 'none';
            });
        }
    </script>
</head>
<body>
    <h1>死亡协议</h1>
    <form>
        <table>
            <tr>
                <th>受害者姓名</th>
                <td><input type="text"></td>
            </tr>
            <tr>
                <th>身份证号码</th>
                <td><input type="text"></td>
            </tr>
            <tr>
                <th>iphone</th>
                <td><input type="text"></td>
            </tr>
            <tr>
                <th>邮箱</th>
                <td><input type="text"></td>
            </tr>
            <tr>
                <th>预定日期</th>
                <td><input type="date"></td>
            </tr>
        </table>
        <input id="submitButton" type="submit" value="签署协议">
    </form>
    <div id="successMessage" class="success-message">
        <p>最近自杀人数较多,可能会延期</p>
        <button id="closeButton">关闭</button>
    </div>
    <div class="checkbox-option">
        <input type="checkbox" id="agreementCheckbox">
        <label for="agreementCheckbox">我同意所有要求</label>
    </div>
    <div class="contact-info">
        <p>客服:LHTZ173@163.com</p>
    </div>
</body>

  • 10
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值