課程
/前端開發(fā)
/HTML/CSS
/CSS深入理解之border
有沒有講師的代碼呀
2016-12-28
源自:CSS深入理解之border 4-1
正在回答
老師的代碼沒有,我有個自己寫的你可以參考下!
<style>?? ??? ??? ?body {?? ??? ??? ??? ?font: 14px/1.4286 "microsoft yahei";?? ??? ??? ?}?? ??? ??? ?.a{?? ??? ??? ??? ?width: 200px;?? ??? ??? ??? ?height: 100px;?? ??? ??? ??? ?background:? #0066CC url(img/golo.png) no-repeat;?? ??? ??? ??? ?background-position:? 40px;?? ??? ??? ?}?? ??? ??? ?.b{?? ??? ??? ??? ?width:200px;?? ??? ??? ??? ?height: 100px;?? ??? ??? ??? ?background: #0066CC url(img/golo.png) no-repeat;?? ??? ??? ??? ?background-position: 100% 40px;?? ??? ??? ?}?? ??? ?</style>?? ?</head>?? ?<body>?? ??? ?<h2>background定位的局限</h2>?? ??? ?<div class="a"></div><br />?? ??? ?<div class="b"></div>?? ?</body>
舉報
深入講解border使用方法及應(yīng)用,以及如何借助border完成布局
3 回答視頻里講的覺得有點(diǎn)莫名其妙,.dotted{ } .box{ } 怎么出現(xiàn)的圓
2 回答border如何做倒三角,兼容性有好的
3 回答講的不錯!
1 回答如何把border合起來寫???
2 回答源代碼有沒有啊、
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2016-12-29
老師的代碼沒有,我有個自己寫的你可以參考下!
<style>
?? ??? ??? ?body {
?? ??? ??? ??? ?font: 14px/1.4286 "microsoft yahei";
?? ??? ??? ?}
?? ??? ??? ?.a{
?? ??? ??? ??? ?width: 200px;
?? ??? ??? ??? ?height: 100px;
?? ??? ??? ??? ?background:? #0066CC url(img/golo.png) no-repeat;
?? ??? ??? ??? ?background-position:? 40px;
?? ??? ??? ?}
?? ??? ??? ?.b{
?? ??? ??? ??? ?width:200px;
?? ??? ??? ??? ?height: 100px;
?? ??? ??? ??? ?background: #0066CC url(img/golo.png) no-repeat;
?? ??? ??? ??? ?background-position: 100% 40px;
?? ??? ??? ?}
?? ??? ?</style>
?? ?</head>
?? ?<body>
?? ??? ?<h2>background定位的局限</h2>
?? ??? ?<div class="a"></div><br />
?? ??? ?<div class="b"></div>
?? ?</body>