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

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

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博客,如有侵权请联系作者删除

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
概述: iShow是一套基于P2P技术的在线视频直播系统,iShow依存于web网页,无需下载插件,可实现低延时高清的视频语音直播体验。现已广泛应用于教育、娱乐、客服等各个行业,随着国内带宽的提升和各类新技术的加入,视频直播技术已经逐渐成为下一代互联网的主流,多媒体在线直播体验势必将会涵盖各类终端,成为全民参与的新一代互联网主旋律。 随着国家网络带宽的升级,民用宽带的价格逐渐降低以及微博等即时交流的网络媒体的兴盛,视频多媒体将将成为下一代网络的主流力量,iShow作为国内第一个也是唯一一个使用点对点视频技术开发的网站应用,正在引领一股新的流媒体平民化浪潮。 功能列表: 1、即时视频语音直播 2、视频状态检测 3、局域网内的P2P直播,不消耗任何外网带宽 4、可设置的视频清晰度和缓冲时间 5、无延时的即时文字和表情传输 6、礼物/消费/主播结算/房间类型等功能 7、播放录像功能 iShow的技术优势: 1、直播低延时、文本数据即时传输 2、多媒体直播不耗费任何服务器资源,对服务器无负载 3、带宽占用低 4、视频高清,采用高清编,影响更清晰,传输更流畅 5、无需架设额外的视频流媒体服务器,节省60%~90%的运营开支 6、可扩展,可跨平台同步直播 7、兼容任何开发语言,简单几步可与任何网站进行对接整合 8、智能识别用户的在线状态 9、可脱离动态程序和数据库独立运行,如:无需任何架设,即可直接集成到任何网站,进行直播或文字沟通 目前同行业唯一一款成熟产品,处于行业绝对领跑者
实现静态页面需要使用HTMLCSS语言。我们可以创建三个不同的网页来展示这种技能。 首先,我们可以创建一个简单个人主页。在HTML中,我们可以使用`<div>`标签和`<h1>`标签来创建页面的标题和内容区块。然后,利用CSS页面的布局进行美化,比如设置背景颜色、字体样式和边框等。示例代码如下: ```html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="container"> <h1>欢迎来到我的个人主页</h1> <p>这是我的个人介绍。</p> </div> </body> </html> ``` ```css .container { background-color: #f2f2f2; font-family: Arial, sans-serif; padding: 20px; border: 1px solid #ccc; margin: 20px; } h1 { color: #333; } ``` 接下来,我们可以创建一个产品展示页面。同样使用HTMLCSS的方式来构建页面的结构和样式。以下是一个简单的示例: ```html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="product"> <img src="product.jpg" alt="产品图片"> <h2>产品名称</h2> <p>产品介绍。</p> </div> </body> </html> ``` ```css .product { text-align: center; padding: 20px; } h2 { color: #333; } ``` 最后,我们可以创建一个简单的联系页面。在这个页面中,我们可以使用表单元素`<form>`,文本框`<input>`和提交按钮来实现一个简单的联系表单。代码如下: ```html <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <form> <label for="name">姓名:</label> <input type="text" id="name" name="name"> <label for="email">邮箱:</label> <input type="text" id="email" name="email"> <input type="submit" value="提交"> </form> </body> </html> ``` ```css form { text-align: center; padding: 20px; } input { margin: 10px; } ``` 总结而言,以上就是如何使用HTMLCSS实现三个不同的静态页面简单示例。希望以上内容对您有所帮助。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值