課程
/前端開發(fā)
/HTML/CSS
/十天精通CSS3
怎么實現(xiàn)的啊。。
2014-06-18
源自:十天精通CSS3 11-8
正在回答
同學您好,您有什么問題能詳細的說下嗎?
*{?? ?padding:0;?? ?margin:0;}.wrapper{?? ?width:100%;?? ?max-width:980px;?? ?height:auto;?? ?background:#aad;?? ?overflow:hidden;?? ?margin-left:auto;?? ?margin-right:auto;}.wrapper .left{?? ?width:20%;?? ?float:left;?? ?height:100px;?? ?min-width:100px;?? ?background:#ff0;}.wrapper .content{?? ?width:78%;?? ?float:right;?? ?height:100px;?? ?min-width:100px;?? ?background:#f6f;}@media (max-width:480px){?? ?.wrapper{?? ??? ?min-width:320px;?? ??? ?width:90%;?? ??? ?margin-left:1%;?? ??? ?margin-right:1%;?? ??? ?overflow:hidden;?? ?}?? ?.wrapper .left{?? ??? ?float:none;?? ??? ?width:100%;?? ?}?? ?.wrapper .content{?? ??? ?float:none;?? ??? ?width:100%;?? ?}}我的css代碼
沒事了 謝謝 嘿嘿
舉報
本課程為CSS3入門教程,深刻詳解CSS3知識讓網(wǎng)頁穿上絢麗裝備
3 回答::after的問題
4 回答我的代碼哪了錯了呢?
1 回答這個好難啊。抄代碼都出了bug,如圖~~~求助~~~~~
1 回答為什么只設(shè)置高和寬出來是個圓形!
5 回答全部復制粘貼過來就能用了,拿走時扣1
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2014-06-19
同學您好,您有什么問題能詳細的說下嗎?
2015-10-24
*{
?? ?padding:0;
?? ?margin:0;
}
.wrapper{
?? ?width:100%;
?? ?max-width:980px;
?? ?height:auto;
?? ?background:#aad;
?? ?overflow:hidden;
?? ?margin-left:auto;
?? ?margin-right:auto;
}
.wrapper .left{
?? ?width:20%;
?? ?float:left;
?? ?height:100px;
?? ?min-width:100px;
?? ?background:#ff0;
}
.wrapper .content{
?? ?width:78%;
?? ?float:right;
?? ?height:100px;
?? ?min-width:100px;
?? ?background:#f6f;
}
@media (max-width:480px){
?? ?.wrapper{
?? ??? ?min-width:320px;
?? ??? ?width:90%;
?? ??? ?margin-left:1%;
?? ??? ?margin-right:1%;
?? ??? ?overflow:hidden;
?? ?}
?? ?.wrapper .left{
?? ??? ?float:none;
?? ??? ?width:100%;
?? ?}
?? ?.wrapper .content{
?? ??? ?float:none;
?? ??? ?width:100%;
?? ?}
}
我的css代碼
2014-06-19
沒事了 謝謝 嘿嘿