使用HTML+CSS完成华为官网登录页面效果(静态页面)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../static/css/huaweiRegister.css">

</head>
<body>
    <body style="background-color: #eff1f5"></body>
    <div style="width: 1500px;height: 30px;background-color: black;">
        <div class="d1">
            <img src="../static/images/language_logo.png" alt="" width="15px">
            简体中文(中国)
        </div>
    </div>
    <div style="width: 1500px;height: 70px;background-color: white;">
        <img src="../static/images/huawei-logo.jpg" alt="" width="130px" style="position: relative;top: 20px;left: 150px;">
    </div>
    <div class="box">
        <div class="d2">Uniportal帐号登录</div>
        <div class="d6"><input type="text" placeholder="&nbsp;&nbsp;帐号名/邮箱/手机号/W3帐号"
            style="  height: 42px;
            line-height: 42px;
            background: #ffffff;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            outline: none;
            width:100%;
            margin-top:10px;margin-bottom:10px;"
        /></div>
       <!-- <div><input type="password" style="width:450px;height:43px;margin-top:10px;margin-bottom:10px;border: 1px solid darkgray;" /></div>  -->
        <div><input type="password" placeholder="&nbsp;&nbsp;密码" style="
            height: 42px;
            line-height: 42px;
            background: #ffffff;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            outline: none;
            width:100%;
            margin-top:10px;margin-bottom:10px;"
            />
        </div>
        <div class="d3" >短信验证码登录</div>
        <div>
            <input type="submit" value="登录" style="display: block;
                max-height: 48px !important;
                padding: 15px 20px;
                width: 100%;
                text-align: center;
                background-color: #C7000B;
                border: 1px solid #C7000B;
                border-radius: 4px;
                font-size: 18px;
                font-weight: 500;
                color: #ffffff;"
            />
        </div>
        <div class="d4">立即注册&nbsp;|&nbsp;忘记密码&nbsp;|&nbsp;修改密码</div>
        <div class="d6">
            <img src="../static/images/wenhao.png" alt="" width="15px">
            点击获取更多帮助?
        </div>
    </div>
    <div style="width: 1500px;height: 30px;background-color: black;position:relative;bottom: 0px; ">
        <div class="d5">版权所有 © 华为技术有限公司 1998-2022。保留一切权利。粤A2-20044005号</div>
    </div>
</body>
</html>
.box{
    background-color:white;
    width: 325px;
    height: 285px;
    padding: 100px;
    margin-top: 50px;
    margin-bottom: 60px;
    position: relative;
    left:500px;
}
.d1{color: white;position: absolute;right: 100px;font-size: 12px;}
.d2{
      height: auto;
      font-family: PingFangSC-Semibold;
      font-size: 29px;
      font-weight: 400;
      color: #333333;
      letter-spacing: 0;
      word-wrap: break-word;
      word-break: break-all;
      text-align: center;
      margin-top:-40px;
      margin-bottom:30px;
}
.d3{color: blue;font-size: 15px;margin-top:15px;margin-bottom:15px;position: relative;left: 225px;}
.d4{color: blue;font-size: 15px;margin-top:15px;margin-bottom:15px;text-align: center;}
.d5{color: darkgray;position: absolute;left: 30px;bottom: 5px;font-size: 12px;}
.d6{color: dimgray;font-size: 15px;text-align: center;}

页面效果如下

 

  • 5
    点赞
  • 46
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
使用HTMLCSS和JavaScript设计华为官网需要进行需求分析,主要包括以下几个方面: 1. 产品展示需求 华为官网需要展示各类产品信息,包括手机、电脑、智能穿戴、智能家居、路由器等。在设计网站时,需要充分考虑如何呈现这些产品信息,包括产品分类、产品详情、产品评价、购买链接等。 2. 新闻资讯需求 华为官网需要提供最新的新闻和资讯,包括公司新闻、业界动态、产品发布会等。在设计网站时,需要考虑如何呈现这些新闻资讯,包括新闻分类、新闻列表、新闻详情、评论互动等。 3. 服务支持需求 华为官网需要提供售后服务和技术支持,包括产品保修、维修服务、常见问题解答、在线客服等。在设计网站时,需要考虑如何呈现这些服务支持信息,包括服务分类、服务列表、服务详情、在线客服功能等。 4. 用户注册登录需求 华为官网需要提供用户注册和登录功能,以便用户可以进行购买、评论、客户服务等操作。在设计网站时,需要考虑如何设计用户注册登录界面、如何保障用户信息安全、如何实现用户信息的验证和提交等。 5. 响应式设计需求 华为官网需要考虑不同设备上的显示效果,包括PC端、手机端、平板电脑等。在设计网站时,需要充分考虑如何实现响应式设计,包括采用流式布局、使用响应式图片、使用媒体查询等。 6. 交互设计需求 华为官网需要考虑如何实现良好的用户体验,包括用户操作的便捷性、信息的清晰度、反馈的及时性等。在设计网站时,需要充分考虑如何实现良好的交互设计,包括使用动态效果、实现页面加载优化、使用可视化反馈等。 通过以上需求分析,可以设计出符合用户需求、具有良好的用户体验和竞争力的华为官网

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值