css基础应用2.0

101 阅读1分钟
``` *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: gray;
        }
        dl{
            width: 325px;
            height: 40px;
            background-color:black;
            color: white;
            font:normal bold 25px '宋体';
            line-height: 40px;
            margin: 10px;
        }
        img{
            vertical-align: middle;
        }
        .title{
            width: 300px;
            height: 40px;
            background-color: white;
            background-position: 0px 0px;
            background-repeat: no-repeat;
            color: black;
            font: normal bold 15px '宋体';
            padding-left: 25px;
            line-height: 35px;
        }
        .content{
            width: 300px;
            height: 60px;
            line-height: 15px;
            background-color: white;
            border: none 1px transparent;
            border-bottom: dotted gray;
            color:gray;
            padding-left: 25px;

        }