简修过的用户登入界面

欢迎各位复制粘贴

往下看

网页body内容:

<body>
    <div class="one">
        <h1>用户注册</h1>
        <form id="form1" name="form1" method="post" action="">
          <p>账号:
          <input type="text" name="textfield" id="textfield" />
          </p>
          <p>密码:
          <input type="password" name="textfield2" id="textfield2" />
          </p>
          <p>性别:
          男  <input type="radio" name="sex" value="男">
          女  <input  type="radio" name="sex" value="女">
          </p>
          <p>注册日期:
            <input type="date"/>
          </p>
          <p>收入:
            <select name="select" id="select">
              <option selected="selected">3万</option>
              <option>4万</option>
              <option>5万</option>
              <option>6万</option>
            </select>
          </p>
          <p>爱好:
          <input type="checkbox"/><label>看电影
          <input type="checkbox"/></label>听歌  
          <label><input type="checkbox"/></label>游泳
          <label><input type="checkbox" /> </label>跑步         
          </p>
          <p>职业: 
            <span class="STYLE1">
            <select name="select2" id="select2">
              <option selected="selected">律师</option>
              <option>教师</option>
              <option>公务员</option>
              <option>学生</option>
            </select>
          </span>  </p>
          <p>年龄:
            <input type="number" value="19" />
          </p>
          <p>电子邮箱:
            <input type="email" name="email"/>
          </p>
          <p>个人介绍 :
            <textarea name="textarea"cols="29" rows="5"></textarea>
          </p>
          <p>
           <input type="submit" name="button" value="提交" />          
           <input type="reset" name="button2" value="重置" />
    </div>
    <div class="foot">
      <h2>制作人:is xiaobai </h2>
    </div>  
</body>

没加css时效果图

 

 网页css内容:

    <style>
      h1{
        font-family: 华文新魏;
        text-align: center;
        font-size: 40px;
      }
      body{
        text-align: left;
        background-image: url(../图片/RC.jfif);/*括号里是图片路径*/
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
      }
      .one{
        height: 650px;
        width: 350px;
        padding-left: 10px;
        border: dashed 1px rgb(214, 168, 160);/*添加边框样式 边框粗细 边框颜色*/
        margin: 0 auto;/*使表单居中*/
        border-radius: 30px;
        background-color: rgba(214, 136, 136, 0.3)
      }
      input[type=text]{
        height: 25px;
        width: 170px;
      }
      input[type=password]{
        height: 25px;
        width: 170px;
      }
      input[type=submit]{
        height: 40px;
        width: 70px;
        color: rgb(87, 226, 226);
        font-size: unset;
        background-color: rgb(134, 125, 125);
      }
      input[type=reset]{
        height: 40px;
        width: 70px;
        color: rgb(87, 226, 226);
        font-size: unset;
        background-color: rgb(134, 125, 125);
      }
      .foot{
        color:  #55585a;
        text-align: right;
        font-family: 华文新魏;
        font-size: 20px;
      }
      </style>

完整效果图

 谢谢大家 看完本人成果,

刚学没多久 希望在这记录自己的成长。

yes!!!

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

HJX—

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值