課程
/前端開發
/WebApp
/Hello,移動WEB
這里有啥需要設置height以及top=-1 ? 直接把這兩個省掉不可以嗎?
2017-06-27
源自:Hello,移動WEB 3-5
正在回答
.item{
????position:relative;
}
.item:before{
????position:absolute;
????top:-1px;
????left:0;
????height:1px;
????birder-top:1px solid #ccc;
? ? -webkit-transform:scaleY(0.5);
舉報
課程介紹移動web的開發基礎,排版布局,常見移動web問題
1 回答一像素邊框
1 回答1像素邊框
2 回答關1像素邊框
1 回答1像素邊框的問題
3 回答1px邊框問題
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-07-10
.item{
????position:relative;
}
.item:before{
????position:absolute;
????top:-1px;
????left:0;
????height:1px;
????birder-top:1px solid #ccc;
? ? -webkit-transform:scaleY(0.5);
}