課程
/前端開發
/HTML/CSS
/從 psd 到 html
照上面寫代碼了,可是怎么文字都沒有變動
2016-09-09
源自:從 psd 到 html 4-2
正在回答
<p class="text-info"> ? ?<i class="line line-l"></i> ? ?<span class="txt">resto restaurant home page website template</span> ? ?<i class="line line-r"></i></p>
.index-banner-text{ ? ?position: absolute; ? ?top: 200px; ? ?left: 50%; ? ?margin-left: -388px;}.index-banner-text .text-logo{ ? ?width: 776px; ? ?height: 117px; ? ?background: url("../images/text-logo.png") no-repeat;}.index-banner-text .text-info{ ? ?margin-top: 17px; ? ?text-align: center; ? ?color: #ffffff;}.index-banner-text .text-info .line{ ? ?display: inline-block; ? ?width: 40px; ? ?border-top: 1px solid #ffffff; ? ?vertical-align: middle; ? ?*margin-top: 22px;}
.index-banner-text .text-info .txt{
? margin: 0 26px;}
qq_譚氏小魔屋玥顧邤飛_0 提問者
舉報
教你把PSD設計稿轉化成HTML,用案例來講解基本流程
3 回答為什么顯示不出來 代碼如下
2 回答不顯示logo
2 回答為什么我在IE瀏覽器中什么也顯示不出來
3 回答部logo左右顯示不了,圖片顯示不出來
2 回答為什么在搜狗瀏覽器和Google里顯示的頭部不一樣?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-09-09
<p class="text-info">
? ?<i class="line line-l"></i>
? ?<span class="txt">resto restaurant home page website template</span>
? ?<i class="line line-r"></i>
</p>
.index-banner-text{
? ?position: absolute;
? ?top: 200px;
? ?left: 50%;
? ?margin-left: -388px;
}
.index-banner-text .text-logo{
? ?width: 776px;
? ?height: 117px;
? ?background: url("../images/text-logo.png") no-repeat;
}
.index-banner-text .text-info{
? ?margin-top: 17px;
? ?text-align: center;
? ?color: #ffffff;
}
.index-banner-text .text-info .line{
? ?display: inline-block;
? ?width: 40px;
? ?border-top: 1px solid #ffffff;
? ?vertical-align: middle;
? ?*margin-top: 22px;
}
.index-banner-text .text-info .txt{
? margin: 0 26px;
}