ITPub博客

首页 > 应用开发 > IT综合 > 实现在线直播源码一个简单的个人信息页面

实现在线直播源码一个简单的个人信息页面

IT综合 作者:云豹科技晓彤 时间:2021-09-01 17:13:02 0 删除 编辑

在线直播源码为了方便用户管理个人信息,会开发个人信息页面,让用户可以修改个人信息,那么在线直播源码是怎么实现的呢?

HTML

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="科学怪人CSS.css">
    <title></title></head><body>
    <div class="nav"> 个人信息</div>
    <div class="content">
        <div class="one">
            <input type="text" class="one1" placeholder="         | 请输入旧的密码"><br>
            <input type="text" class="one2" placeholder="         | 请输入新的密码"><br>
            <button class="one3">修改密码</button>
        </div>
        <div class="two">
            <div class="two1"><img src="duzui.jpg"> </div>
            <div class="text1">科学怪人</div>
            <div class="two2">
                <div class="two2-one">2.5万<br>粉丝</div>
                <div> 100<br>关注</div>
            </div>
        </div>
        <div class="there">
            <div class="there1">
                <span class="there-images1"> </span>
                <span>修改密码</span>
            </div>
            <div class="there1">
                <span class="there-images2"> </span>
                <span>消息</span></button>
                <button>13</button>
            </div>
            <div class="there1">
                <span class="there-images3"> </span>
                <sapn>设置</sapn>
            </div>
            <div class="there1">
                <span class="there-images4"> </span>
                <sapn>退出登录</sapn>
            </div>
        </div>
    </div></body></html>

CSS

body{		background-color: #E1DED6;
	}    .content{        display: flex;        margin-top: 60px;        justify-content: space-around;        color: white;        flex-wrap: wrap;
    }	.one,.two,.there{		width: 30%;        display: flex;        flex-direction: column;        align-items: center;
	}    .one{        order:0;        background: #FFFFFF;        height: 200px;
    }	.nav{		text-align: center;
	}	.one1{		width: 90%;		height:70px;        margin-top: 20px;		background: url(yonghumin.png) no-repeat ;		border: 3px solid #E1DED6
	}	.one2{		width: 90%;		height: 70px;		background:  url(password.png) no-repeat ;		border: 3px solid #E1DED6;
	}	.one3{width: 100%;		height: 80px;		background-color: #EF8D32;		margin-top:-10px;		color: white;        cursor:pointer;
	}	.two1 img{        margin-top: 5px;		width: 80%;		height: 80%;        border-radius: 30%;
	}    .two1{        display: flex;        justify-content: center;        align-items: center;        width: 100%;        background-color:  #ffffff;
    }    .two2{        display: flex;        width: 100%;        height: 70px;        background-color: #EF8D32;        align-items: center;
    }    .two2 div{        width: 100%;        margin-top: 8px;        text-align: center;        font-size: 14px;
    }    .two2-one{        border-right: 1px solid white;
    }    .text1{        font-size: 18px;        color: red;        margin-top: -10px;        width: 100%;        text-align: center;        line-height: 40px;        background-color: #FFFFFF;
    }    .there1{width: 100%;        height: 50px;        background-color: #EF8D32;        border: 1px solid indianred;        color: white;        cursor:pointer;
    }    .there-images1{        display: inline-block;        width:25px;        margin-top: 10px;        height: 25px;        background: url("img-sprite.png") no-repeat -1px 2px;
    }    .there-images2{          display: inline-block;          width:25px;          margin-top: 10px;          height: 25px;          background: url("img-sprite.png") no-repeat -30px 2px;
      }    .there-images3{            display: inline-block;            width:25px;            margin-top: 10px;            height: 25px;            background: url("img-sprite.png") no-repeat -60px 2px;
        }    .there-images4{              display: inline-block;              width:25px;              margin-top: 10px;              height: 25px;              background: url("img-sprite.png") no-repeat -90px 2px;
          }    .one3:hover{        background-color: #ee5a32;
    }    .there1:hover{           background-color: #ee5a32;
       }    button{        margin-top: 15px;        float: right;        background-color: #505771;        border-radius: 5px;        border: none;        margin-right: 3px;}
    @media screen and (max-width: 500px) {        .one,.two,.there{            width: 100%;            margin-top: 10px;
        }
    }

 这样,一个简单的在线直播源码个人信息页面就实现了。

 声明:本文由云豹科技转发自tian_to_tian博客,如有侵权请联系作者删除


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70002045/viewspace-2789911/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
音视频软件开发相关知识科普账号

注册时间:2021-06-11

  • 博文量
    163
  • 访问量
    60338