问答详情
源自:5-3 编程练习

交作业咯~

*{padding=0;margin=0;}

.newsBox

{

    width:800px;

    min-height:360px;

    margin:0 auto;

    

}

.newsTitle

{

    font-size:24px;

    font-family:"微软雅黑";

    text-align:center;

    margin-top:20px;

}

.newsInfo

{   

    font-size:16px;

    font-family:"微软雅黑";

    border-bottom:1px dotted #999;

    text-align:center;

    color:#999;

}

.newsContent

{

    font-size:14px;

    font-family:"微软雅黑";

    padding:20px;

    line-height:20px;

    text-indent:2em;

}

.newsContent img

{

   display:block;

   margin:0 auto;

}


提问者:名叫杰森的熊猫 2017-07-22 20:04

个回答

  • 慕吖课
    2017-07-23 14:10:19
    已采纳

    嗯哼。