亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

是我的代碼有問題么?為什么做出來的效果跟老師演示的不一樣呀?

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>靜態頁面的實現</title>

<style type="text/css">

h3 ul {margin: 0;padding: 0;}

ul{list-style: none;}

li h3{font-size: 14px;font-weight: 400}

li{display: block;height: 31px;line-height: 31px;overflow:hidden;border-bottom: 1px solid #dedede}

li i{background: url(sidebar.png);display: inline;width: 30px;height: 24px;float: left;margin: 30px 10px 0 0;}

.cat{width: 150px;background: #f8f8f8;border: 1px

solid #bbb;}

.cat1 i{background-position: 0 0;}

.cat2 i{background-position: 0 -24px;}

</style>


正在回答

1 回答

h3,ul,li{margin: 0;padding: 0;}

ul{list-style: none;}

li h3{font-size: 14px;font-weight: 400}

li{display: block;height: 31px;line-height: 31px;overflow:hidden;border-bottom: 1px solid #dedede}

li i{background: url(img/sidebar.png);display: inline;width: 30px;height: 24px;float: left;margin: 5px 5px 0 5px;}

.cat{width: 150px;background: #f8f8f8;border: 1px solid #bbb;}

.chart-1 i{background-position: 0 0;}

.chart-2 i{background-position: 0 -24px;}

得這么寫

0 回復 有任何疑惑可以回復我~
#1

eblis 提問者

非常感謝!
2015-11-05 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

是我的代碼有問題么?為什么做出來的效果跟老師演示的不一樣呀?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號