0
<li class="bullet-style" type="square">This is a test</li>
.bullet-style {
color:red;
}
但這並不反映。所以,我怎樣才能調出李子的顏色如何更改li子彈的css?
<li class="bullet-style" type="square">This is a test</li>
.bullet-style {
color:red;
}
但這並不反映。所以,我怎樣才能調出李子的顏色如何更改li子彈的css?
我不知道爲什麼你會需要這個,但要回答你的問題:給列表項本身一個跨度,並給跨度不同於跨度。
使用列表樣式圖像,並使用紅色廣場爲你的形象。
http://stackoverflow.com/questions/76564/is-there-an-easy-way-to-change-the-color-of-a-bullet-in-a-list – 2012-03-26 21:01:51
'type'不是'li'元素的有效屬性。僅用於「輸入」(afaik)。 – powerbuoy 2012-03-26 21:25:06