其他分享
首页 > 其他分享> > css

css

作者:互联网

@charset "utf-8";
/* CSS Document */
*{ margin:0; padding:0;}
body{ font-size:12px; font-family:"宋体";}
.box{ 
    width:660px;
    height:600px;
    border:solid #CCC 1px;
    margin:50px auto 0;
    padding:20px;
    }
.header{ font-size:22px;
    padding-bottom:30px;
    }
.header span{ font-size:12px;
    font-weight:normal;}
td{ padding-bottom:26px;}
.right{ text-align:right;
    padding-right:8px;
    width:78px;}
.red{ color:#F00;}
.txt1,.txt2{ width:264px;
            height:12px;
            border:solid #CCC 1px;
            font-size:12px;
            padding:3px 3px 3px 26px;
            color:#999;}

.txt1{ background-image: url(img/name.png);
        background-repeat:no-repeat;
        background-position:left center;
        }
.txt2{ background-image: url(img/phone.png);
            background-repeat:no-repeat;
        background-position:left center;}
.txt3{ width:122px;
        height:12px;
        padding:3px 3px 3px 26px;
        font-size:12px;
        background-image: url(img/email.png);
            background-repeat:no-repeat;
        background-position:left center;}
.course{ width:184px;}
.message{
    width:432px;
    height:164px;
    font-size:12px;
    color:#999;
    padding:3px;}

标签:3px,12px,padding,background,font,css,size
来源: https://blog.51cto.com/u_14850283/2935230