<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>为什么会没有效果
薏苡x
菜鸟教程
名分开就是姓名
随时随地看视频慕课网APP