<ul>
????<li?style="background:?url('images/toDoEmpty.svg')no-repeat;width:?17px;height:?17px"></li>
????<li?style="background:?url('images/toDoEmpty.svg')no-repeat;width:?17px;height:?17px"></li>
????<li?style="background:?url('images/toDoEmpty.svg')no-repeat;width:?17px;height:?17px"></li>
</ul>寫了行內樣式,然后在寫<style>
???li:nth-child(3):hover{
???????width:?17px;
???????height:?17px;
???????background:?url("images/toDoEmptyHover.svg")no-repeat;
???}
</style>為什么會沒有效果
- 6 回答
- 0 關注
- 2520 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消