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

请大神看看是否正确!


*{

    margin: 0;

    padding: 0;

}

.topList{

    width: 300px;

    height: 200px;

    border: 2px solid #E8E8E8;

    margin: 0 auto;

}

.topList li{

    list-style-type: none;

    font-size: 12px;

    padding: 5px;

    line-height: 23px;

}

.topList em{

    display: block;

    width: 20px;

    height: 16px;

    text-align: center;

    background: #ccc;

    font-style: normal;

    line-height: 16px;

    float: left;

    font-size: 13px;

}

.topList a{

    text-decoration: none;

    color: black;

}

.top em{

    background: url(http://img.mukewang.com/53cf0fa20001d3dc00200032.jpg) no-repeat;

    color: white;

}

http://img.mukewang.com/556286720001d51e04620310.jpg

提问者:leotaozeng 2015-05-25 10:16

个回答

  • 孟_guo
    2015-12-14 13:53:22

    有错误