課程
/前端開發(fā)
/HTML/CSS
/初識HTML(5)+CSS(3)-升級版
學的有點混亂了,感覺分不清了
2015-08-10
源自:初識HTML(5)+CSS(3)-升級版 12-7
正在回答
border-bottom是高度哦
border-right/left才是寬度
Je丶Kcier 提問者
border-top /?border-bottom:設(shè)置上下邊框
border-left /?border-right:設(shè)置左右邊框
很明顯?border-bottom 增加的是高度
可以看下盒模型
舉報
HTML(5)+CSS(3)基礎(chǔ)教程8小時帶領(lǐng)大家步步深入學習標簽用法和意義
5 回答li{ border-bottom:1px dotted #ccc; width:200px;height:30px; } 這里的height是指的盒子的高度還是border的高度?
2 回答div{ width:200px; padding:20px; border:1px solid red; margin:10px; }
5 回答border-bottom:1px
1 回答div{ width:300px; height:300px; border:1px solid red; margin-bottom:30px; }
1 回答為什么不是width:200px
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2015-08-10
border-bottom是高度哦
border-right/left才是寬度
2015-08-10
border-top /?border-bottom:設(shè)置上下邊框
border-left /?border-right:設(shè)置左右邊框
很明顯?border-bottom 增加的是高度
2015-08-10
可以看下盒模型