使用正则表达式写网易通行证

css样式;

//首先全局选择器(*)内边距、外边距、样式都设为0或无。

//根据html类名来设置所需样式。

<style type="text/css">

*{
        margin:0;
        padding:0;
        list-style: none;
    }
    .easy{
        font-size: 36px;
        color:red;
        padding-left: 30px;
    }
    .cord{
        font-size: 36px;
    }
    .bigbox{
        width:530px;
        height:480px;
        border:1px solid black;
        margin-left: 10px;
        margin-top: 10px;
    }
    .box tr td{
       padding:10px;
    }
    button{
       margin-left: 140px;
       margin-top: 20px;
       border:1px solid lightblue;
       font-size: 30px;
       color:white;
       background-color: hotpink;
       border-radius: 10%;
       height:60px;
       width:150px;
    }
    .person input{
        margin-left: 20px;
    }
    </style>

HTML代码:

//用table来写表单类的代码,非常方便。内容不会随着前面标签类的文本内容而变化。

//如果用form写的话,input后的框会随着内容发生变化。

//input类型中的密码类型,相比get,用post更安全,隐秘性更高。

//get输入时,密码会显示在文本框里,而用post时,密码为***。

<body>
    <span class="easy">网易</span><span class="cord">通行证</span>
    <div class="bigbox">
    <table class="box">
    <tbody>
        <tr>
            <td>通行证用户名:</td>
            <td><input type="text" /id="name&

  • 6
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值