为什么鼠标移入时没有出现x
.todo-item{
position relative
background-color #fff
font-size 24px
border-bottom 1px solid rgba(0,0,0,0.06)
&:hover{
.destroy:after{
content: '×'
}
}
label{
white-space: pre-line;
word-break: break-all;
padding: 15px 60px 15px 15px;
margin-left: 45px;
display: block;
line-height: 1.2;
transition: color 0.4s;
}
&.completed{
label{
color: #d9d9d9;
text-decoration line-through
}
}
}