CSS仿写一个文本框

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

    <style>

        *{

            margin: 0;

            padding: 0;

            /* box-sizing: border-box; */

           

        }

        ul{

            list-style: none; /*去掉列表属性*/

        }

       

        .box{

            width: 544px; /*544 --372*/

            height: 372px;

            /* background-color: red; */

            margin: 100px auto;

            padding: 56px 39px 75px;

            border: 1px solid #e6e6e6;

        }

        .box h1{

            color: #000002;

            font-size: 36px;

            padding-bottom: 15px;

            border-bottom: 2px solid #e8e6e6;

        }

       

        .box .text{

            line-height: 22px;

            height: 22px;

            color: #969696;

            padding: 20px 0 20px 28px;

            font-size: 20px;

            border-bottom:1px dashed #e6e6e6 ;

        }

    </style>

</head>

<body>

     <div class="box">

        <h1>最新文章/New Articles</h1>

        <div class="text">北京招聘网页设计,平面设计,php</div>

        <div class="text">体验javascript的魅力</div>

        <div class="text">jquery世界来临</div>

        <div class="text">网页设计师的梦想</div>

        <div class="text">jquery中的链式编程是什么</div>

     </div>

</body>

</html>

演示结果如图所示:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值