美文网首页
作业2-开班信息

作业2-开班信息

作者: crx彭彭 | 来源:发表于2018-11-04 20:47 被阅读0次
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>开班信息表</title>
    <style type="text/css">
        *{
            margin:0;
            padding:0;
            list-style: none;
            
        }
        
        .box{
            width: 300px;
            height: 400px;
            margin: 0 auto;
            border:1px solid #ddd;
            margin-top:10px;
        }
        h2{
            width:268px;
            height:40px;
            background-color: #f5f5f5;
            margin: 0 auto;
            border-top: 3px solid green;
            font-size: 14px;
            padding-left: 16px;
            padding-right: 16px;
            line-height: 40px;
        }
        h2 a{
            color: red;
            display: block;
            float:right;
        }
        .box1{
            width: 268px;
            height: 120px;
            margin: 0 auto;
            padding-left: 16px;
            padding-right: 16px;
            font-size: 12px;
            border-bottom: 1px dashed #ddd;
        }
        .box1 h3{
                font-size: 14px;
            padding-left: 16px;
            padding-right: 16px;
            line-height: 40px;
        }
        span{
            color: red;
        }
        .box2{
            width: 268px;
            height: 120px;
            margin: 0 auto;
            padding-left: 16px;
            padding-right: 16px;
            font-size: 12px;
        }
        .box2 h3{
                font-size: 14px;
            padding-left: 16px;
            padding-right: 16px;
            line-height: 40px;
        }
        .box3{
            width: 268px;
            height: 120px;
            margin: 0 auto;
            padding-left: 16px;
            padding-right: 16px;
            font-size: 12px;
        }
        .box3 h3{
                font-size: 14px;
            padding-left: 16px;
            padding-right: 16px;
            line-height: 40px;
        }
        .ha{
            display: block;
            float: right;
            color: black;
        }
        .he{
            display: block;
            float: right;
            color: red;
        }
    </style>
</head>
<body>
    <div class="box">
        <h2>
            近期开班
            <a href=" ">18年面授开发计划</a >
        </h2>
        <div class="box1">
            <h3>人工智能+python-高薪就业</h3>
            <p>开班时间:<span>2018-04-26</span><span class="he">预约报名</span></p >
            <p>开班时间:<span>2018-04-26</span><span class="he">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
        </div>
        <div class="box2">
            <h3>人工智能+python-高薪就业</h3>
            <p>开班时间:<span>2018-04-26</span><span class="he">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            
        </div>
        <div class="box3">
            <h3>人工智能+python-高薪就业</h3>
            <p>开班时间:<span>2018-04-26</span><span class="he">预约报名</span></p >
            <p>开班时间:2018-04-26<span class="ha">预约报名</span></p >
            
        </div>
    </div>
</body>
<html>
2018-11-04 20-46-30屏幕截图.png

相关文章