2025-03-22

云计算管理系统开发作业:

1.作业效果:


2.代码:

<!DOCTYPE html>

<html lang="zh">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

    <style>

        *{

            padding: 0%;

            box-sizing: border-box;

            margin: 0%;

        }

        html,body{

            width: 100%;

            height: 100%;

        }

        body{

            display: flex;

            flex-direction: column;

        }

        .header{

            width:100%;

            height: 72px;

            display: flex;

            justify-content: center;

        }

        .main{

            width: 100%;

            flex: 1;

            background-color: aquamarine;

        }

        .header .content img{width: 100px;height: 30px;}

        .main{

            display: flex;

            justify-content: center;

            align-items: center;

        }

        .login-box {

            width: 400px;

            height: 240px;

            background-color: #fff;

            border-radius: 8px;

            box-shadow: #888 10px 20px;

        }

        .header{

            width: 100%;

            height: 50px;

            line-height: 50px;

            text-align: center;

            font-size: 18px;

            letter-spacing: 3px;

            border-bottom: solid 1px #eee;

        }

        .login{

            height: 180px;

            display: flex;

            justify-content: space-evenly;

            flex-direction: column;

        }

        .login p{

            height: 40px;

            display: flex;

            justify-content: space-evenly;

            align-items: center;

        }

        .login p input{

            width: 260px;

            height: 32px;

        }

        .login p button{

            outline:none;

            border: none;

            width: 300px;

            height: 32px;

            border-radius: 16px;

            background-color: #1872f6;

            color: white;

        }

        .login p button:hover{

            background-color: #143bbd;

            font-weight: 600;

        }

    </style>

</head>

<body>

        <div class="header">

            <div class="content"><img src="./data_image_png;base….png" alt=""></div>

        </div>

        <div class="main">

            <div class="login-box">

                <div class="header">欧鹏管理系统</div>

                <div class="login">

                    <p>

                        <label for="zhanghao">账号</label>

                        <input type="text" name="zhanghao" id="zhanghao" placeholder="请输入账号">

                    </p>

                    <p>

                        <label for="mima">密码</label>

                        <input type="text" name="mima" id="mima" placeholder="请输入密码">

                    </p>

                    <p><button>登录</button></p>

                </div>

            </div>

        </div>

</body>

</html>

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容