課程
/前端開發(fā)
/HTML/CSS
/從 psd 到 html
把瀏覽器窗口縮小后就變成這樣了,請(qǐng)問(wèn)老師這是為什么啊?
2016-12-21
源自:從 psd 到 html
正在回答
.public-container{?? ?position: relative;?? ?margin:0 auto;?? ?width: 1100px;}
.public-footer{?? ?height: 218px;?? ?padding-top: 100px;?? ?background:#3b3b3b;}.public-footer .footer-col{?? ?float: left;?? ?width: 230px;?? ?margin-right: 60px;?? ?font-size: 16px;?? ?color: #fff;?? ?line-height: 1.8;}.public-footer .footer-col:last-child{?? ?margin-right:0;}.public-footer .footer-col .footer-logo{?? ?width: 182px;?? ?height: 55px;?? ?margin-top: -18px;?? ?margin-bottom: 10px;?? ?background: url("../images/index-footer-logo.png");}
container已經(jīng)設(shè)置了width: 1100px;
container 設(shè)置一個(gè)最少寬度看看
舉報(bào)
教你把PSD設(shè)計(jì)稿轉(zhuǎn)化成HTML,用案例來(lái)講解基本流程
1 回答底部logo的位置margin-top
2 回答請(qǐng)問(wèn)怎么截LOGO,我截出來(lái)的都是白色,這是為什么
3 回答這是錯(cuò)誤嗎?css中調(diào)用logo圖片錯(cuò)誤,怎么回事啊
2 回答到底是怎樣呢
3 回答請(qǐng)問(wèn)logo為什么顯示不出來(lái)
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-12-24
.public-container{
?? ?position: relative;
?? ?margin:0 auto;
?? ?width: 1100px;
}
.public-footer{
?? ?height: 218px;
?? ?padding-top: 100px;
?? ?background:#3b3b3b;
}
.public-footer .footer-col{
?? ?float: left;
?? ?width: 230px;
?? ?margin-right: 60px;
?? ?font-size: 16px;
?? ?color: #fff;
?? ?line-height: 1.8;
}
.public-footer .footer-col:last-child{
?? ?margin-right:0;
}
.public-footer .footer-col .footer-logo{
?? ?width: 182px;
?? ?height: 55px;
?? ?margin-top: -18px;
?? ?margin-bottom: 10px;
?? ?background: url("../images/index-footer-logo.png");
}
container已經(jīng)設(shè)置了width: 1100px;
2016-12-23
container 設(shè)置一個(gè)最少寬度看看