学校教务系统界面构建

本文展示了延安大学教学管理信息服务平台的HTML和CSS代码片段,包括登录表单设计、网格布局和使用CSS实现的动画效果。
摘要由CSDN通过智能技术生成

一、html部分代码如下

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>延安大学教学管理信息服务平台</title>
    <link rel="stylesheet" href="../教务系统/index.css">
</head>
 
<body>
    <div class="box">
        <div class="box-ele"></div>
        
        <div class="box-ele">
 
            <div class="div-img1">
                < img class="img2"  src="../教务系统/xiao'hui.jpg"  alt="延大校徽">
                延安大学教学管理信息服务平台
            </div>

            <div class="div-main">
                < img class="img1"  src="../教务系统/左照片1.jpg"   alt="延大校园">
                <div class="div1">
                    <h3>用户登录</h3>
                    <form action="">
                        <div>
                            <p class="p-center">
                                <!-- <div class="div-use">< img src="	http://jwglxt.yau.edu.cn/zftal-ui-v5-1.0.2/assets/images/log_ic01.png" alt="用户名"></div>                                    -->
                                <input class="text" type="text" name="username" placeholder="用户名">
                            </p >
                            <p class="p-center">
                                <!-- <div class="div-use">< img src="http://jwglxt.yau.edu.cn/zftal-ui-v5-1.0.2/assets/images/log_ic02.png" alt="密码"></div> -->
                                <input class="text" type="password" name="password" placeholder="密码">
                            </p >
                            <p class="p-right">
                                忘记密码了?
                            </p >
                            <p class="p-center">
                                <button type="submit">登录</button>
                            </p >
 
                        </div>
                    </form>
                    <div class="div2">
                        “圣地教务”公众号非任何学校官方公众号,请立即取消关注,谨防受骗或个人信息泄露 <br>
                        登录教务管理系统途径:<br>
                        1.访问http://jwglxt.yau.edu.cn/jwglxt <br>
                        2.登录学校网办大厅后选择教务系统登录
                    </div>
                    <div>
                        < img class="last-img"      src="../教务系统/二维码.png"    alt="二维码">
                        <div class="last-span">用手机扫一扫, <br>
                            安全、便捷登录</div>
                    </div>
                </div>
            </div>
 
        </div>
 
        <div class="box-ele"></div>
 
    </div>
 
    <div>
        <p class="p1">版权所有:延安大学教务处 电话:0911-2650135 传真:0911-2650131 电子信箱:ydjwc@yau.edu.cn 版本V8.3.14</p >
    </div>
</body>
 
</html>

二、css部分代码如下

.box{
    display: grid;
    grid-template-columns: 5% 89% 5% ;
    grid-template-rows: 710px;
    margin: 0;
    grid-gap: 10px;
}
 
.p1{
    text-align: center;
    font-size: 14px;
    color: #8099af;
    margin-top: 35px;
}
 
.div-main{
    background-color: rgba(240, 240, 240);
    height: 590px;
 
}
 
.img1{
    width: 950px;
    height: 550px;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
    margin-left: 15px;
}
 
.div1{
    background-color: rgb(255, 255, 255);
    width: 450px;
    height: 578px;
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
    margin-left: 25px;
}
 
h3{
    color: #333333;
    margin-top: 25px;   
    margin-bottom: 25px;
    margin-left: 20px;
}
 
.div2{
    background-color: rgb(242, 222, 222);
    color: #a94449;
    width: 330px;
    border-radius: 5px;
    margin-left: 46px;
    margin-bottom: 45px;
    padding: 15px;
}
 
.div-img1{
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    color: #1069a5;
    margin-top: 40px;
    margin-bottom: 40px;
}
 
.img2{
    height: 50px;
    width: 50px;
    float: left;
}
 
.p-center{
    text-align: center;
}
 
.p-right{
    text-align: right;
    margin-right: 45px;
}
 
a{
    color: rgb(0, 118, 194);
    text-decoration: none;
}
 
.text{
    width: 350px;
    height: 30px;
}
 
button{
    color: aliceblue;
    background-color: rgb(0, 118, 194);
    width: 360px;
    height: 40px;
    border: 0;
    border-radius: 5px;
}
 
.last-img{
    margin-left: 60px;
    float: left;
}
 
.last-span{
    margin-top: 12px;
    margin-left: 10px;
    float: left;
}

三、界面构建展示

四、动画完成过度和变换效果

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>使用动画完成变换效果</title>
    <style>
        div {
            width: 200px;
            height: 150px;
            background-color: aquamarine;
            border: 1px solid rebeccapurple;
            text-align: center;
            position: relative;
            animation: move 2s linear infinite
        }
 
 
        /* 1.平移 */
        /* @keyframes move {
            0%{
                transform: translateX(0) translateY(0);
            }
            50%{
                transform: translateX(500px) translateY(500px);
            }
            100%{
                transform: translateX(0) translateY(0);
            }
            
        } */
        
        /* 2. 平移旋转*/
        /* @keyframes move {
            0%{
                transform: translateX(0) translateY(0);
            }
            50%{
                transform: translateX(200px) translateY(0) rotate(360deg);
            }
            100%{
                transform: translateX(0) translateY(0);
            }
            
        } */
 
        /* 3. 旋转缩小*/
        /* @keyframes move {
            0%{
                
            }
            50%{
                transform: scale(0.4) rotate(360deg);
            }
            100%{
                
            }
            
        } */
 
        /* 4. 3D旋转*/
        @keyframes move {
            0%{
                
            }
            50%{
                transform: skew(30deg,40deg)  rotate(360deg);
            }
            100%{
                
            }
            
        }
        </style>
</head>
<body>
    <div class="a">a</div>
</body>
</html>
  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值