已采納回答 / Annguowenhua
class和id的命名不能以數字開頭,只能以$,英文字母,下劃線開頭,否則不起作用,將所有class和id的命名改過來<...code...>最好不要用value=" "來設置輸入框里的默認值,用&,并且input type="text" place...
2015-08-13
雪碧圖中第一、二幅長寬:
width:180px;
height:42px;
背景位置大約是:
background-position:0 -35px;
width:180px;
height:42px;
背景位置大約是:
background-position:0 -35px;
*{
margin:0;
padding:0;
}
ul{list-style: none}
li{
width:100px;
display: block;
height:30px;
line-height: 30px;
overflow: hidden;
border-bottom:1px solid #dedede;
margin:0 auto;
}
margin:0;
padding:0;
}
ul{list-style: none}
li{
width:100px;
display: block;
height:30px;
line-height: 30px;
overflow: hidden;
border-bottom:1px solid #dedede;
margin:0 auto;
}
li h3{
font-size: 14px;
font-weight: 400
}
.cat{
width: 150px;
text-align:center;
background:#f8f8f8;
border: 1px solid #bbb;
}
font-size: 14px;
font-weight: 400
}
.cat{
width: 150px;
text-align:center;
background:#f8f8f8;
border: 1px solid #bbb;
}